Beam.from_endpoints
- classmethod Beam.from_endpoints(point_start, point_end, width, height, z_vector=None)[source]
Creates a Beam from the given endpoints.
- Parameters:
- point_start
Point
The start point of a centerline
- end_point
Point
The end point of a centerline
- 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.
- point_start
- Returns: