class compolyx.SubLaminate(graph, obj, parent=None)
Represents sublaminate.Attributes
| Name | Description |
|---|---|
SubLaminate.active | Active status of the object. |
SubLaminate.area_price | Price per area of the Sub Laminate. |
SubLaminate.area_weight | Area weight of the Sub Laminate. |
SubLaminate.enabled | Indicates whether the object is enabled. |
SubLaminate.fabrics | Fabrics property of the Sub Laminate. |
SubLaminate.graph_plot | Graph Plot object used to configure 2D plots. |
SubLaminate.id | ID of the object. |
SubLaminate.is_dict_item | Indicates whether the object is an item in a dictionary. |
SubLaminate.is_list_item | Indicates whether the object is an item of a list. |
SubLaminate.layup_sequence | Layup Sequence of the Sub Laminate can be ‘Top-Down’ or ‘Bottom-Up’. |
SubLaminate.link_path | Root path of the current node in the tree for links to this object. |
SubLaminate.name | Name of the object. |
SubLaminate.parent | Parent object in the tree. |
SubLaminate.root_path | Root path of the current node in the tree. |
SubLaminate.status | Status of the object. |
SubLaminate.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
SubLaminate.symmetry | Symmetry of the Sub Laminate can be ‘No Symmetry’, ‘Even Symmetry’ or ‘Odd Symmetry’. |
SubLaminate.thickness | Thickness of the Sub Laminate. |
SubLaminate.uid | UID of the object. |
SubLaminate.vertex | Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
SubLaminate.add_fabric(fabric[, angle]) | Add fabric at end of fabrics list. |
SubLaminate.capture_analysis_plot([path, size]) | Saves the 2D polar plot to a file. |
SubLaminate.clear_fabrics() | Clear all fabrics. |
SubLaminate.clt_query([query]) | Returns the properties of the classical laminate theory. |
SubLaminate.create_plot([query, …]) | Generates 2D plots with the results of interest. |
SubLaminate.find_parent(type) | Steps up the tree and returns the first parent with given type. |
SubLaminate.get_ordered_fabrics() | Returns a list with all sub-materials (fabrics and stackups) and orientations including symmetry and layup sequence option. |
SubLaminate.get_ordered_sub_materials() | Returns a list with all fabrics and orientations including symmetry and layup sequence option. |
SubLaminate.insert_fabric(pos, fabric, angle) | Insert fabric at given position. |
SubLaminate.is_constant() | Returns true if all engineering constants and strength limits of the assigned fabrics are constant. |
SubLaminate.obj_exists() | Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
SubLaminate.remove_fabric(pos) | Remove fabric from position. |
SubLaminate.serialize() | Serialize to Python string. |
SubLaminate.serialize_name_and_id() | Serializes the name and ID. |
SubLaminate.update() | |
SubLaminate.update_plot() | Updates the data of the 2D plot. |
SubLaminate.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |