Plate
- class compas_timber.elements.Plate[source]
Bases:
TimberElementA class to represent timber plates (plywood, CLT, etc.) defined by polylines on top and bottom faces of material.
- Parameters:
- frame
Frame The coordinate system (frame) of this plate.
- lengthfloat
Length of the plate.
- widthfloat
Width of the plate.
- thicknessfloat
Thickness of the plate.
- outline_a
Polyline, optional A line representing the principal outline of this plate.
- outline_b
Polyline, optional A line representing the associated outline of this plate. This should have the same number of points as outline_a.
- openingslist[
Polyline], optional A list of Polyline objects representing openings in this plate.
- **kwargsdict, optional
Additional keyword arguments.
- frame
- Attributes:
- frame
Frame The coordinate system (frame) of this plate.
- lengthfloat
Length of the plate.
- widthfloat
Width of the plate.
- heightfloat
Height of the plate (same as thickness).
- thicknessfloat
Thickness of the plate.
- outline_a
Polyline A line representing the principal outline of this plate.
- outline_b
Polyline A line representing the associated outline of this plate.
- is_platebool
Always True for plates.
- blank
Box A feature-less box representing the material stock geometry to produce this plate.
- blank_lengthfloat
Length of the plate blank.
- featureslist[
BTLxProcessing] List of features applied to this plate.
- keyint, optional
Once plate is added to a model, it will have this model-wide-unique integer key.
- frame
Methods
adjusts segments of the outlines to lay on the edge planes created by plate joints.
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.
Creates a plate from a brep.
Constructs a Plate from a polyline outline and a thickness.
Constructs a Plate from two polyline outlines.
Removes any extension plane for the given edge index.
Resets the element to its initial state by removing all features, extensions, and debug_info.
Sets an extension plane for a specific edge of the plate.
Inherited Methods
Converts the instance to a string.
Adds one or more features to the beam.
Adds one or more features to the beam.
Apply the features to the (base) geometry.
Returns the previous side before the reference side, following the right-hand rule with the thumb along the beam's frame x-axis.
Compute the contacts between this element and another element.
Same as parent but handles standalone elements.
Same as parent but handles standalone elements.
Computes a reference point for the element geometry (e.g.
Computes the triangulated surface mesh of the element's model geometry.
Computes the tetrahedral volumetric mesh of the element's model geometry.
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.
Returns the next side after the reference side, following the right-hand rule with the thumb along the beam's frame x-axis.
Returns the perpendicular and parallel dimensions of the beam to the given reference side.
Returns the the side that is directly across from the reference side, following the right-hand rule with the thumb along the beam's frame x-axis.
Removes a feature from the beam.
Reset all computed/cached properties.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Returns the requested side of the beam as a parametric planar surface.
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.
Compute the transformation to local coordinates of this element based on its position in the spatial hierarchy of the model.
Creates a transformed copy of the element.
Validate the data against the object's data schema.