Beam.from_centerline

classmethod Beam.from_centerline(centerline, width, height, z_vector=None)[source]

Define the beam from its centerline.

Parameters:
centerlineLine

The centerline of the beam to be created.

lengthfloat

Length of the beam.

widthfloat

Width of the cross-section.

heightfloat

Height of the cross-section.

z_vectorVector

A vector indicating the height direction (z-axis) of the cross-section. Defaults to WorldZ or WorldX depending on the centerline’s orientation.

Returns:
Beam