class compolyx.CutOffGeometry(obj, parent=None)
CutOffGeometry guide classAttributes
| Name | Description |
|---|---|
CutOffGeometry.active | Cut-Off Geometry active |
CutOffGeometry.cad_geometry | Associated CADGeometry |
CutOffGeometry.enabled | Whether this object is currently enabled or not |
CutOffGeometry.id | ID of object |
CutOffGeometry.is_dict_item | Specifies whether the object is an item of a dict |
CutOffGeometry.is_list_item | Specifies whether the object is an item of a list |
CutOffGeometry.link_path | Root path of the current node in the tree for links to this object |
CutOffGeometry.name | Name of object |
CutOffGeometry.orientation | Orientation |
CutOffGeometry.parent | Parent object in tree |
CutOffGeometry.rel_merge_tolerance | Relative Merge Tolerance |
CutOffGeometry.root_path | Root path of the current node in the tree |
CutOffGeometry.status | Status of the object |
CutOffGeometry.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
CutOffGeometry.uid | UID of object |
CutOffGeometry.vertex | This will throw an error if the object has been removed from the graph |
Methods
| Name | Description |
|---|---|
CutOffGeometry.find_parent(type) | Steps up the tree and returns the first parent with given type |
CutOffGeometry.from_obj(obj, org_obj) | |
CutOffGeometry.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 |
CutOffGeometry.serialize() | |
CutOffGeometry.serialize_name_and_id() | Helper function to serialize name and ID |
CutOffGeometry.update() | |
CutOffGeometry.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node |