class compolyx.ExtrusionGuide(obj, parent=None)
Extrusion guide classAttributes
| Name | Description |
|---|---|
ExtrusionGuide.active | Extrusion Guide active. |
ExtrusionGuide.cad_geometry | Associated CADGeometry. |
ExtrusionGuide.depth | intensity for the propagation of mesh corrections, depth=1 leads to a linear decay from the guide to the radius, depth<1 leads to more local corrections. |
ExtrusionGuide.direction | extrusion direction. |
ExtrusionGuide.edge_set | Associated EdgeSet. |
ExtrusionGuide.enabled | Indicates whether the object is enabled. |
ExtrusionGuide.id | ID of the object. |
ExtrusionGuide.is_dict_item | Indicates whether the object is an item in a dictionary. |
ExtrusionGuide.is_list_item | Indicates whether the object is an item of a list. |
ExtrusionGuide.link_path | Root path of the current node in the tree for links to this object. |
ExtrusionGuide.name | Name of the object. |
ExtrusionGuide.parent | Parent object in the tree. |
ExtrusionGuide.radius | radius up to which nodal guide translations are propagated through the mesh. |
ExtrusionGuide.root_path | Root path of the current node in the tree. |
ExtrusionGuide.status | Status of the object. |
ExtrusionGuide.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
ExtrusionGuide.uid | UID of the object. |
ExtrusionGuide.use_curvature_correction | whether to use curvature correction algorithm to smooth mesh adapted to extrusion guide. |
ExtrusionGuide.vertex | Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
ExtrusionGuide.find_parent(type) | Steps up the tree and returns the first parent with given type. |
ExtrusionGuide.from_obj(obj, org_obj) | |
ExtrusionGuide.obj_exists() | Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
ExtrusionGuide.serialize() | |
ExtrusionGuide.serialize_name_and_id() | Serializes the name and ID. |
ExtrusionGuide.update() | |
ExtrusionGuide.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |