ModelingPly#

class ansys.acp.core.ModelingPly(*, name='ModelingPly', ply_material=None, oriented_selection_sets=(), ply_angle=0.0, number_of_layers=1, active=True, global_ply_nr=0, selection_rules=(), draping=DrapingType.NO_DRAPING, draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_direction=(1.0, 0.0, 0.0), use_default_draping_mesh_size=True, draping_mesh_size=0.0, draping_thickness_correction=True, draping_angle_1_field=None, draping_angle_2_field=None, thickness_type=ThicknessType.NOMINAL, thickness_geometry=None, thickness_field=None, thickness_field_type=ThicknessFieldType.ABSOLUTE_VALUES, taper_edges=())#

Instantiate a Modeling Ply.

Parameters:
  • name (str, default: 'ModelingPly') – The name of the Modeling Ply

  • ply_material (Fabric | Stackup | SubLaminate | None, default: None) – The material (fabric, stackup or sub-laminate) of the ply.

  • ply_angle (float, default: 0.0) – Design angle between the reference direction and the ply fiber direction.

  • number_of_layers (int, default: 1) – Number of times the plies are generated.

  • active (bool, default: True) – Inactive plies are ignored in ACP and the downstream analysis.

  • global_ply_nr (int, default: 0) – Defines the global ply order.

  • selection_rules (Iterable[LinkedSelectionRule], default: ()) – Selection Rules which may limit the extent of the ply.

  • draping (DrapingType, default: <DrapingType.NO_DRAPING: 'no_draping'>) – Chooses between different draping formulations.

  • draping_seed_point (tuple[float, float, float], default: (0.0, 0.0, 0.0)) – Starting point of the draping algorithm.

  • auto_draping_direction (bool, default: True) –

    If True, the fiber direction of the production ply at the draping

    seed point is used as draping direction.

  • draping_direction (tuple[float, float, float], default: (1.0, 0.0, 0.0)) – Set the primary draping direction for the draping algorithm. Only used if auto_draping_direction is False.

  • use_default_draping_mesh_size (bool, default: True) – Whether to use the average element size of the shell mesh for the draping.

  • draping_mesh_size (float, default: 0.0) – Defines the mesh size for the draping algorithm. If set to -1., the mesh size is automatically determined based on the average element size.

  • draping_thickness_correction (bool, default: True) – Enables the thickness correction of draped plies based on the draping shear angle.

  • draping_angle_1_field (LookUpTable1DColumn | LookUpTable3DColumn | None, default: None) – Correction angle between the fiber and draped fiber directions, in degree.

  • draping_angle_2_field (LookUpTable1DColumn | LookUpTable3DColumn | None, default: None) – Correction angle between the transverse and draped transverse directions, in degree. Optional, uses the same values as draping_angle_1_field (no shear) by default.

  • thickness_type (ThicknessType, default: <ThicknessType.NOMINAL: 'nominal'>) – Choose between ThicknessType.FROM_GEOMETRY or ThicknessType.FROM_TABLE to define a ply with variable thickness. The default value is ThicknessType.NOMINAL, which means the ply thickness is constant and determined by the thickness of the ply material.

  • thickness_geometry (VirtualGeometry | None, default: None) – Defines the geometry used to determine the ply thickness. Only applies if thickness_type is ThicknessType.FROM_GEOMETRY.

  • thickness_field (LookUpTable1DColumn | LookUpTable3DColumn | None, default: None) – Defines the look-up table column used to determine the ply thickness. Only applies if thickness_type is ThicknessType.FROM_TABLE.

  • thickness_field_type (ThicknessFieldType, default: <ThicknessFieldType.ABSOLUTE_VALUES: 'absolute_values'>) – If thickness_type is ThicknessType.FROM_TABLE, this parameter determines how the thickness values are interpreted. They can be either absolute values (ThicknessFieldType.ABSOLUTE_VALUES) or relative values (ThicknessFieldType.RELATIVE_SCALING_FACTOR).

  • taper_edges (Iterable[TaperEdge], default: ()) – Defines the taper edges of the ply.

Methods

ModelingPly.add_selection_rule(*args, **kwargs)

Add a LinkedSelectionRule to the ModelingPly.

ModelingPly.add_taper_edge(*args, **kwargs)

Add a TaperEdge to the ModelingPly.

ModelingPly.clone(*[, unlink])

Create a new unstored object with the same properties.

ModelingPly.delete()

Delete the object.

ModelingPly.store(parent)

Store the object on the server.

Attributes

ModelingPly.active

ModelingPly.auto_draping_direction

ModelingPly.draping

ModelingPly.draping_angle_1_field

ModelingPly.draping_angle_2_field

ModelingPly.draping_direction

ModelingPly.draping_mesh_size

ModelingPly.draping_seed_point

ModelingPly.draping_thickness_correction

ModelingPly.elemental_data

ModelingPly.global_ply_nr

ModelingPly.id

Identifier of the object, used for example as key in maps.

ModelingPly.name

The name of the object.

ModelingPly.nodal_data

ModelingPly.number_of_layers

ModelingPly.oriented_selection_sets

ModelingPly.ply_angle

ModelingPly.ply_material

ModelingPly.production_plies

ModelingPly.selection_rules

ModelingPly.status

ModelingPly.taper_edges

ModelingPly.thickness_field

ModelingPly.thickness_field_type

ModelingPly.thickness_geometry

ModelingPly.thickness_type

ModelingPly.use_default_draping_mesh_size