Spider (hwx.inspire.core)¶
Creates bonding connection between two or more parts by features separated in space.
Attributes¶
active: Bool connectionRadius: Double connectionType: Enum name: Attribute parts: Attribute primaryFeatures: Attribute secondaryFeatures: Attribute visible: Bool
Public Methods¶
addSecondaryFeature (self, feature) removeSecondaryFeature (self, feature)
Attribute Details¶
active : Bool¶
Returns or sets the object activeness.
Setting this on or off sets all children. Setting to True sets all the parents active too.
connectionRadius : Double (units=”length”)¶
The search radius for the connector.
connectionType : Enum (Rigid, Flexible)¶
The type of the connection. Valid choices are:
- Rigid
- Flexible
name : Attribute¶
Returns or sets the name of the object.
It can be any text string, including spaces, although it’s best to avoid using the following characters: ” ‘ * ? and $.
While these characters are allowed, they could create difficulties when you export the model to other applications.
parts : Attribute¶
Returns a list of parts from the referenced features.
primaryFeatures : Attribute¶
List of features from the primary entity.
secondaryFeatures : Attribute¶
List of features from the secondary entity.
visible : Bool¶
Determines whether the object is visible in the modeling window.
Setting this on or off sets all children. Setting to True sets all the parents visible too.
Method Details¶
-
addSecondaryFeature
(self, feature)¶
Adds secondary spider connection with supplied features.
param feature: | Specify feature to add as secondary features. |
---|---|
type feature: | Feature |
-
removeSecondaryFeature
(self, feature)¶
Removes secondary spider connection with supplied features.
param feature: | Specify feature to remove from secondary features. |
---|---|
type feature: | Feature |