OrientedSelectionSet
Last update: 16.07.2025class compolyx.OrientedSelectionSet(graph, obj, parent=None)
Class to represent oriented selection set.
Attributes
| Name | Description |
|---|---|
OrientedSelectionSet.active |
Active status of object |
OrientedSelectionSet.auto_draping_direction |
Automatic selection of draping direction |
OrientedSelectionSet.boundaries |
Get the boundaries of the Oriented Selection Set |
OrientedSelectionSet.draping |
Flag for using draping or not |
OrientedSelectionSet.draping_direction |
The direction in which the draping starts |
OrientedSelectionSet.draping_material_model |
Draping material model |
OrientedSelectionSet.draping_mesh_size |
The mesh size for draping |
OrientedSelectionSet.draping_obj |
Draping representation |
OrientedSelectionSet.draping_seed_point |
The seed point where the draping starts. |
OrientedSelectionSet.draping_ud_coefficient |
UD draping coefficient |
OrientedSelectionSet.element_sets |
Element Sets of the oriented element set |
OrientedSelectionSet.elements |
Elements of the Oriented Selection Set |
OrientedSelectionSet.enabled |
Whether this object is currently enabled or not |
OrientedSelectionSet.id |
ID of object |
OrientedSelectionSet.is_dict_item |
Specifies whether the object is an item of a dict |
OrientedSelectionSet.is_list_item |
Specifies whether the object is an item of a list |
OrientedSelectionSet.link_path |
Root path of the current node in the tree for links to this object |
OrientedSelectionSet.name |
Name of object |
OrientedSelectionSet.normals |
Get the Normals of the Oriented Selection Set |
OrientedSelectionSet.orientation_direction |
The Orientation Direction of the Oriented Element set |
OrientedSelectionSet.orientation_point |
The Orientation Point of the Oriented Selection Set |
OrientedSelectionSet.orientations |
Get the oriented normals of the Oriented Selection Set |
OrientedSelectionSet.parent |
Parent object in tree |
OrientedSelectionSet.ref_directions |
Get the Refernce Directions of the Oriented Selection Set |
OrientedSelectionSet.reference_direction_field |
a lookup table column or None for external reference directions |
OrientedSelectionSet.root_path |
Root path of the current node in the tree |
OrientedSelectionSet.rosette_selection_method |
Selection Method for Rosettes of the Oriented Selection Set |
OrientedSelectionSet.rosettes |
Rosettes of the Oriented Selection Set |
OrientedSelectionSet.rotation_angle |
Angle to rotate the reference directions around the orientation directions (in degree) |
OrientedSelectionSet.selection_rules |
Selection Rules of the Oriented Selection Set |
OrientedSelectionSet.status |
Status of the object |
OrientedSelectionSet.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes |
OrientedSelectionSet.uid |
UID of object |
OrientedSelectionSet.use_default_draping_mesh_size |
Whether to use a default size for the draping mesh. |
OrientedSelectionSet.vertex |
This will throw an error if the object has been removed from the graph |
Methods
| Name | Description |
|---|---|
OrientedSelectionSet.add_element_set(element_set) |
Add element set to oriented selection set |
OrientedSelectionSet.add_rosette(rosette) |
Add rosette to oriented selection set |
OrientedSelectionSet.add_selection_rule(rule) |
Add selection rule to oriented selection set |
OrientedSelectionSet.clear_element_sets() |
Clear element sets of oriented selection set |
OrientedSelectionSet.clear_rosettes() |
Clear rosettes of oriented selection set |
OrientedSelectionSet.clear_selection_rules() |
Clear selection rules of oriented selection set |
OrientedSelectionSet.find_parent(type) |
Function steps up the tree and returns the first parent with given type |
OrientedSelectionSet.get_short_description() |
|
OrientedSelectionSet.normal_from_id(id) |
Returns the element normal |
OrientedSelectionSet.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 |
OrientedSelectionSet.reference_element_id() |
|
OrientedSelectionSet.remove_element_set(...) |
Remove element set from oriented selection set |
OrientedSelectionSet.remove_rosette(rosette) |
Remove rosette from oriented selection set |
OrientedSelectionSet.remove_selection_rule(rule) |
Remove rule from oriented selection set |
OrientedSelectionSet.save_flat_wrap(filename) |
Write the flatwrap to .dxf, .iges, or .step file |
OrientedSelectionSet.serialize() |
Serialize to Python string |
OrientedSelectionSet.serialize_name_and_id() |
Helper function to serialize name and ID |
OrientedSelectionSet.update() |
|
OrientedSelectionSet.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node |
OrientedSelectionSet.write_boundaries(filename) |
Write boundaries in .iges/.step format |