Skip to main content
Version: 2026R2

ExtrusionGuide

class compolyx.ExtrusionGuide(obj, parent=None)

Extrusion guide class

Attributes

NameDescription
ExtrusionGuide.activeExtrusion Guide active
ExtrusionGuide.cad_geometryAssociated CADGeometry
ExtrusionGuide.depthIntensity 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.directionExtrusion direction
ExtrusionGuide.edge_setAssociated EdgeSet
ExtrusionGuide.enabledWhether this object is currently enabled or not
ExtrusionGuide.idID of object
ExtrusionGuide.is_dict_itemSpecifies whether the object is an item of a dict
ExtrusionGuide.is_list_itemSpecifies whether the object is an item of a list
ExtrusionGuide.link_pathRoot path of the current node in the tree for links to this object
ExtrusionGuide.nameName of object
ExtrusionGuide.parentParent object in tree
ExtrusionGuide.radiusRadius up to which nodal guide translations are propagated through the mesh
ExtrusionGuide.root_pathRoot path of the current node in the tree
ExtrusionGuide.statusStatus of the object
ExtrusionGuide.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
ExtrusionGuide.uidUID of object
ExtrusionGuide.use_curvature_correctionWhether to use curvature correction algorithm to smooth mesh adapted to extrusion guide
ExtrusionGuide.vertexThis will throw an error if the object has been removed from the graph

Methods

NameDescription
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