Beam.from_centerline
- classmethod Beam.from_centerline(centerline, width, height, z_vector=None)[source]
Define the beam from its centerline.
- Parameters:
- centerline
Line
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_vector
Vector
A vector indicating the height direction (z-axis) of the cross-section. Defaults to WorldZ or WorldX depending on the centerline’s orientation.
- centerline
- Returns:
Beam