Skip to content

compas_tf.support ¤

Classes¤

SupportElement ¤

SupportElement(transformation: Transformation | None = None, features: list[SupportFeature] | None = None, name: str | None = None)

Class representing a column-base element constructed from an OBJ file.

Connection type: Sherpa Power Base 150402_PB_L-140-C. Details: https://www.sherpa-connector.com/de/produkte/power-base/power-base-c/3391_306_shop_SHERPA-Power-Base-L-140-C.aspx?LNG=de Head plate: Ø 106 mm x 12 mm Base plate: 12 x 140 x 140 mm Base plate drilling: 4 x Ø 15 mm

Parameters:

Name Type Description Default
transformation :class:`compas.geometry.Transformation`

The transformation of the support element.

None
features list[:class:`SupportFeature`]

The features of the support element.

None
name str

The name of the support element.

None

Attributes:

Name Type Description
mesh :class:`compas.datastructures.Mesh`

The mesh geometry loaded from the OBJ file.

top_polygon :class:`compas.geometry.Polygon`

The top polygon of the support (circular, Ø 106 mm).

bottom_polygon :class:`compas.geometry.Polygon`

The bottom polygon of the support (square, 140 x 140 mm).

Attributes¤

base_frame property ¤
base_frame: Frame

Get the base frame at the bottom center of the mesh, with transformation applied.

Returns:

Type Description
class:`compas.geometry.Frame`

Frame at the bottom center of the mesh with Z-axis pointing up.

Methods:¤

compute_elementgeometry ¤
compute_elementgeometry(include_features=False) -> Mesh

Compute the shape of the plate from the given polygons. This shape is relative to the frame of the element.

Returns:

Type Description
class:`compas.datastructures.Mesh`