Skip to main content
Version: 2026R2

SubLaminate

class compolyx.SubLaminate(graph, obj, parent=None)

Class to represent sublaminate.

Attributes

NameDescription
SubLaminate.activeActive status of object
SubLaminate.area_pricePrice per area of the Sub Laminate
SubLaminate.area_weightArea weight of the Sub Laminate
SubLaminate.enabledWhether this object is currently enabled or not
SubLaminate.fabricsFabrics property of the Sub Laminate
SubLaminate.graph_plotGraph Plot object used to configure 2D plots
SubLaminate.idID of object
SubLaminate.is_dict_itemSpecifies whether the object is an item of a dict
SubLaminate.is_list_itemSpecifies whether the object is an item of a list
SubLaminate.layup_sequenceLayup Sequence of the Sub Laminate. Available options: Top-Down or Bottom-Up
SubLaminate.link_pathRoot path of the current node in the tree for links to this object
SubLaminate.nameName of object
SubLaminate.parentParent object in tree
SubLaminate.root_pathRoot path of the current node in the tree
SubLaminate.statusStatus of the object
SubLaminate.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
SubLaminate.symmetrySymmetry of the Sub Laminate. Available options: No Symmetry, Even Symmetry, or Odd Symmetry
SubLaminate.thicknessThickness of the Sub Laminate
SubLaminate.uidUID of object
SubLaminate.vertexThis will throw an error if the object has been removed from the graph

Methods

NameDescription
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)Function 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 (i.e. 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()Helper function to serialize 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