Package empro :: Module empro :: Module geometry :: Class LinearPattern
[frames] | no frames]

Class LinearPattern

core.Updatable --+            
                 |            
   core.Selectable --+        
                     |        
               Feature --+    
                         |    
                   Pattern --+
                             |
                            LinearPattern

Creates a Linear Pattern.

Class Hierarchy for LinearPattern
Class Hierarchy for LinearPattern

constructor LinearPattern():

Instance Methods
CoordinateSystemAbstractDirection
getDirection(iDirection)
Returns the direction of the linear pattern.
bool
isStaggered(iDirection)
Returns whether the linear pattern is staggered or not.
None
setDirection(iDirection, iNewDirection)
Sets the direction of the linear pattern.
None
setStaggered(iDirection, iStaggered)
Sets the linear pattern's staggered property to 'True' or 'False'

Inherited from Feature: isSuppressed, referenceCoordinateSystem, suppress, unsuppress

Inherited from core.Selectable: clone, isSelected

Inherited from core.Updatable: __enter__, __exit__, hash, isValid, reasonWhyInvalid

Properties
Vector3dNone repeatCounts
The repeat counts of the linear pattern.
Vector3dNone separationDistances
The separation distances of the linear pattern.

Inherited from core.Selectable: metaData, name, notes

Method Details

getDirection(iDirection)

 

Returns the direction of the linear pattern.

Parameters:
  • iDirection (string) - The axis aligned direction, can be one of('X','Y','Z').
Returns: CoordinateSystemAbstractDirection

isStaggered(iDirection)

 

Returns whether the linear pattern is staggered or not.

Parameters:
  • iDirection (string) - The axis aligned direction, can be one of('X','Y','Z').
Returns: bool

setDirection(iDirection, iNewDirection)

 

Sets the direction of the linear pattern.

Parameters:
  • iDirection (string) - The axis aligned direction, can be one of('X','Y','Z').
  • iNewDirection (CoordinateSystemAbstractDirection) - The new direction of the linear pattern.
Returns: None

setStaggered(iDirection, iStaggered)

 

Sets the linear pattern's staggered property to 'True' or 'False'

Parameters:
  • iDirection (string) - The axis aligned direction, can be one of('X','Y','Z').
  • iStaggered (bool) - If 'True', the linear pattern is staggered, if 'False', the linear pattern is not staggered.
Returns: None