Wall

class compas_timber.elements.Wall[source]

Bases: TimberElement

Represents a single timber wall element. Serves as container for beams joints and other related elements and groups them together to form a wall.

Wall is often a single unit of prefabricated timber wall element. It is often refered to as an enveloping body.

TODO: complete this docstring

Methods

compute_aabb

Computes the Axis Aligned Bounding Box (AABB) of the element.

compute_geometry

Compute the geometry of the element.

compute_obb

Computes the Oriented Bounding Box (OBB) of the element.

from_box

Inherited Methods

ToString

Converts the instance to a string.

add_feature

Add a feature to the list of features of the lement.

compute_collision_mesh

Computes the collision geometry of the element.

compute_worldtransformation

Compute the transformation to world coordinates of this element based on its position in the spatial hierarchy of the model.

copy

Make an independent copy of the data object.

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

reset

Resets the element to its initial state by removing all features, extensions, and debug_info.

sha256

Compute a hash of the data for comparison during version control using the sha256 algorithm.

to_json

Convert an object to its native data representation and save it to a JSON file.

to_jsonstring

Convert an object to its native data representation and save it to a JSON string.

transform

Transforms the element.

transformed

Creates a transformed copy of the element.

validate_data

Validate the data against the object's data schema.