Part.shell_from_compas_mesh
- classmethod Part.shell_from_compas_mesh(mesh, section, name=None, **kwargs)[source]
Creates a Part object from a
compas.datastructures.Mesh.To each face of the mesh is assigned a
compas_fea2.model.ShellElementobject. Currently, the same section is applied to all the elements.- Parameters:
- mesh
compas.datastructures.Mesh Mesh to convert to a Part.
- section
compas_fea2.model.ShellSection Shell section assigned to each face.
- namestr, optional
Name of the new part. If
None, a unique identifier is assigned automatically.
- mesh
- Returns:
compas_fea2.model.PartThe part.