Skip to content

compas_tf.tower_element ¤

Classes¤

TowerElement ¤

TowerElement(dataset: str = floor_tower_0, transformation: Transformation | None = None, features: list | None = None, name: str | None = None)

A single tower floor element loaded from a JSON dataset file.

The element contains one mesh oriented relative to a world-XY base frame. A transformation places it in the scene.

Parameters:

Name Type Description Default
dataset str

Filename (relative to data/TowerElement/) of the JSON data file.

floor_tower_0
transformation :class:`compas.geometry.Transformation`

Transformation applied when placing the element in the scene.

None
features list[:class:`TowerElementFeature`]

Features of the element.

None
name str

Name of the element.

None