Part.frame_from_compas_mesh

classmethod Part.frame_from_compas_mesh(mesh, section, name=None, **kwargs)[source]

Creates a Part object from a compas Mesh by converting each edge into a BeamElement with a third orientation node.

Parameters:
meshMesh

The compas mesh to convert.

section_Section1D

Section to assign to all frame elements.

namestr, optional

Name of the part.

Returns:
_Part

The created Part.