Beam.from_centerline
- classmethod Beam.from_centerline(centerline, width, height, z_vector=None, geometry_type='brep')
Define the beam from its centerline.
- Parameters:
centerline (
Line) – The centerline of the beam to be created.length (float) – Length of the beam.
width (float) – Width of the cross-section.
height (float) – 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.gemetry_type (str) – The type of geometry to use when creating this beam. Either ‘mesh’ of ‘brep’.
- Returns: