### 6.4.4. Stackup

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

Class to represent stack-up

`add_fabric`(fabric, angle=0.0)

  Add fabric at end of fabrics of the Stackup

`area_price`

  Price per area of the Stackup

`area_weight`

  Area weight of the Stackup

`clear_fabrics`()

  Clear all fabrics

`clt_query`(query='laminate_properties')

  Returns the properties of the classical laminate theory

  Parameters

  - query : query parameters

  Options

  - layup : Return the layup

  - laminate_properties : Young's, flexural and shear moduli of the laminate

  - polar_properties : E1, E2 and G12 depending on the laminate orientation

  - stiffness_matrix : Returns the laminate stiffness matrix (ABD)

  - compliance_matrix : Returns the lamiante compliance matrix (inverse of ABD)

  Example

      >>> stackup.clt_query(query='laminate_properties')

`create_plot`(query={'layup': ['pp', 'ap'], 'polar_properties': ['E1', 'G12']}, core_scale_factor=None)

  Generates 2D-plots with the results of interest

  Parameters

  - query : Query parameters

  - core_scale_factor : Scale core thickness by this value.

  Options

  - layup:['pp', 'ap'] Production Ply and Analysis Plies

  - polar_properties:['E1','E2','G12'] polar plot of laminate stiffesses

  - text_plot:['materials','angles','thicknesses'] property to show as label in the layup plot

  Examples

      >>> query={'polar_properties':['E1', 'G12'], layup:['pp'], text_plot:['materials']}

`cut_off_material`

  Cut-off material used in cut-off areas of this Stackup.

`cut_off_material_handling`

  Type defining how cut-off material is used in cut-off areas of this stackup. Types: ['Global', 'Computed', 'Custom']

`draping0`

  Draping coefficient 0 for Stackup

`draping1`

  Draping coefficient 1 for Stackup

`draping2`

  Draping coefficient 2 for Stackup

`drop_off_material`

  Drop-off material used in drop-off areas of this Stackup.

`drop_off_material_handling`

  Type defining how drop-off material is used in drop-off areas of this stackup. Types: ['Global', 'Custom']

`fabrics`

  Fabrics property of the Stackup

`get_ordered_fabrics`()

  Returns all fabrics and orientations including symmetry and layup sequence option.

`graph_plot`

  Graph Plot object used to configure 2D plots.

`insert_fabric`(pos, fabric, angle)

  Insert fabric at given position

`layup_sequence`

  Layup Sequence of the Stackup can be 'Top-Down' or 'Bottom-Up'

`remove_fabric`(pos)

  Remove fabric from position

  Parameters

  - pos : Position of the Fabric to remove

`serialize`()

  Serialize to Python string

`symmetry`

  Symmetry of the Stackup can be 'No Symmetry', 'Even Symmetry' or 'Odd Symmetry'

`thickness`

  Thickness of the Stackup

`update_plot`()

  updates the data of the 2D plot

Release 18.2 - © ANSYS, Inc. All rights reserved.