AnalysisPly
class compolyx.AnalysisPly(graph, obj, parent=None)
ComPoLyX class to represent analysis ply.
Attributes
| Name | Description |
|---|---|
AnalysisPly.active | Sequence entity is active |
AnalysisPly.active_in_post_mode | True if failure criteria will be processed for this ply |
AnalysisPly.angle | Ply Angle of the analysis ply |
AnalysisPly.draping_obj | Get the fiber directions of the analysis ply |
AnalysisPly.enabled | Whether this object is currently enabled or not |
AnalysisPly.id | ID of object |
AnalysisPly.is_dict_item | Specifies whether the object is an item of a dict |
AnalysisPly.is_list_item | Specifies whether the object is an item of a list |
AnalysisPly.link_path | Root path of the current node in the tree for links to this object |
AnalysisPly.material | Ply material of the analysis ply |
AnalysisPly.mesh | Mesh |
AnalysisPly.name | Name of object |
AnalysisPly.parent | Parent object in tree |
AnalysisPly.ply_material | Ply material of the analysis ply |
AnalysisPly.root_path | Root path of the current node in the tree |
AnalysisPly.status | Status of the object |
AnalysisPly.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes |
AnalysisPly.thickness | Thickness of the analysis ply |
AnalysisPly.uid | UID of object |
AnalysisPly.vertex | Throws an error if the object has been removed from the graph |
Methods
| Name | Description |
|---|---|
AnalysisPly.boundaries([offset_type]) | |
AnalysisPly.direction_arrows([arrow_length, ...]) | Direction arrows of the ply |
AnalysisPly.find_parent(type) | Steps up the tree and returns the first parent with given type |
AnalysisPly.get_short_description() | |
AnalysisPly.is_reinforcing() | True if the AnalysisPly is a reinforcing ply |
AnalysisPly.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 |
AnalysisPly.serialize() | |
AnalysisPly.serialize_name_and_id() | Helper function to serialize name and ID |
AnalysisPly.update() | Update the analysis ply |
AnalysisPly.visit(visitor) | Walk through the tree and let the visitor perform an action on every descendant node |
AnalysisPly.write_boundaries(filename[, ...]) | Write boundaries in .iges/.step format |