RigidPart.from_compas_line

classmethod RigidPart.from_compas_line(line, element_model='BeamElement', section=None, name=None, **kwargs)

Generate a part from a class:compas.geometry.Line.

Parameters
lineclass:compas.geometry.Line

The line

element_modelstr, optional

Implementation model for the element, by default ‘BeamElement’

sectioncompas_fea2.model.BeamSection, optional

_description_, by default None

namestr, optional

The name of the part, by default None (one is automatically generated)

Returns
class:compas_fea2.model.Part

The part.