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 | Whether this object is currently enabled or not |
ExtrusionGuide.id | ID of object |
ExtrusionGuide.is_dict_item | Specifies whether the object is an item of a dict |
ExtrusionGuide.is_list_item | Specifies 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 object |
ExtrusionGuide.parent | Parent object in 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 object |
ExtrusionGuide.use_curvature_correction | Whether to use curvature correction algorithm to smooth mesh adapted to extrusion guide |
ExtrusionGuide.vertex | This will throw 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 (i.e. has not been reset to None by self._delete) and exists in the graph |
ExtrusionGuide.serialize() | |
ExtrusionGuide.serialize_name_and_id() | Helper function to serialize name and ID |
ExtrusionGuide.update() | |
ExtrusionGuide.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node |