Plate
- class compas_timber.elements.Plate[source]
Bases:
TimberElement
A class to represent timber plates (plywood, CLT, etc.) with uniform thickness.
- Parameters:
- outline
RhinoCurve
A line representing the outline of this plate.
- thicknessfloat
Thickness of the plate material.
- vector
Vector
, optional The vector of the plate. Default is None.
- outline
- Attributes:
- frame
Frame
The coordinate system (frame) of this plate.
- shape
Brep
An extrusion representing the base geometry of this plate.
- outline
Polyline
A line representing the outline of this plate.
- thicknessfloat
Thickness of the plate material.
- aabbtuple(float, float, float, float, float, float)
An axis-aligned bounding box of this plate as a 6 valued tuple of (xmin, ymin, zmin, xmax, ymax, zmax).
- keyint, optional
Once plate is added to a model, it will have this model-wide-unique integer key.
- frame
Methods
Adds one or more features to the plate.
Computes the Axis Aligned Bounding Box (AABB) of the element.
Computes the collision geometry of the element.
Compute the geometry of the element.
Computes the Oriented Bounding Box (OBB) of the element.
Removes a feature from the plate.
Inherited Methods
Converts the instance to a string.
Add a feature to the list of features of the lement.
Compute the transformation to world coordinates of this element based on its position in the spatial hierarchy of the model.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Resets the element to its initial state by removing all features, extensions, and debug_info.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Transforms the element.
Creates a transformed copy of the element.
Validate the data against the object's data schema.