RigidPart.shell_from_compas_mesh

classmethod RigidPart.shell_from_compas_mesh(mesh, section, name=None, **kwargs)

Creates a DeformablePart object from a compas.datastructures.Mesh. To each face of the mesh is assigned a compas_fea2.model.ShellElement objects. Currently, the same section is applied to all the elements.

Parameters:
  • mesh (compas.datastructures.Mesh) – Mesh to convert to a DeformablePart.

  • section (compas_fea2.model.ShellElement) – Shell section assigned to each face.

  • name (str, optional) – name of the new part. If None, a unique identifier is assigned automatically.