========================= 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 | | +-------------------------------+-------------------------------+-------------------------------+ ---------- Properties ---------- +-----------+ | location_ | +-----------+ -------------- Public Methods -------------- +-----------------------------------------+ | addSecondaryFeature_ (self, feature) | +-----------------------------------------+ | removeSecondaryFeature_ (self, feature) | +-----------------------------------------+ ----------------- Attribute Details ----------------- .. _active: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ active : :ref:`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: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ connectionRadius : :ref:`Double ` (units="length") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The search radius for the connector. .. _connectionType: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ connectionType : :ref:`Enum ` (Rigid, Flexible) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The type of the connection. Valid choices are: - Rigid - Flexible .. _name: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ name : :ref:`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: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ parts : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns a list of parts from the referenced features. .. _primaryFeatures: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ primaryFeatures : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ List of features from the primary entity. .. _secondaryFeatures: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ secondaryFeatures : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ List of features from the secondary entity. .. _visible: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ visible : :ref:`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. ---------------- Property Details ---------------- .. _location: .. method:: location Returns the location of the first primary feature. -------------- Method Details -------------- .. _addSecondaryFeature: .. method:: addSecondaryFeature(self, feature) Adds secondary spider connection with supplied features. :param feature: Specify feature to add as secondary features. :type feature: Feature .. _removeSecondaryFeature: .. method:: removeSecondaryFeature(self, feature) Removes secondary spider connection with supplied features. :param feature: Specify feature to remove from secondary features. :type feature: Feature