Skip to main content
Version: 2026R1

Stackup

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

Class to represent stackup.

Attributes

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

Methods

NameDescription
Stackup.add_fabric(fabric[, angle])Add fabric at end of fabrics of the stackup
Stackup.capture_analysis_plot([path, size])Saves the 2D polar plot to a file
Stackup.clear_fabrics()Clear all fabrics
Stackup.clt_query([query])Returns the properties of the classical laminate theory
Stackup.create_plot([query, core_scale_factor])Generates 2D plots with the results of interest
Stackup.find_parent(type)Function steps up the tree and returns the first parent with given type
Stackup.get_ordered_fabrics()Returns all fabrics and orientations including symmetry and layup sequence option
Stackup.insert_fabric(pos, fabric, angle)Insert fabric at given position
Stackup.is_constant()Returns true if all engineering constants and strength limits of the assigned fabrics are constant
Stackup.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
Stackup.remove_fabric(pos)Remove fabric from position
Stackup.serialize()Serialize to Python string
Stackup.serialize_name_and_id()Helper function to serialize name and ID
Stackup.update()
Stackup.update_plot()updates the data of the 2D plot
Stackup.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node