PlateFastener
- class compas_timber.elements.PlateFastener[source]
Bases:
FastenerA class to represent flat plate timber fasteners (e.g. steel plates).
- Parameters:
- shape
Geometry The shape of the fastener at the XY plane origin.
- frame
Frame The frame of the instance of the fastener that is applied to the model. The fastener should be defined at the XY plane origin with the x-axis pointing in the direction of the main_beam.
- holeslist of tuple, optional
The holes of the fastener. Structure is as follows: [(point, diameter), …]
- anglefloat, optional (default=math.pi / 2)
The angle of the fastener. The angle between the beam elements must be the same.
- shape
- Attributes:
Methods
Adds the geometric features to the beams.
Constructs the geometry of the fastener as oriented in space.
Calculates the frames of the fasteners.
Adds the fasteners to the joint.
Checks if the beams are compatible with the joint and sets the front and back face indices.
Inherited Methods
Converts the instance to a string.
Add a feature to the list of features of the element.
Apply the features to the (base) geometry.
Computes the Axis Aligned Bounding Box (AABB) of the geometry of the element.
Computes the collision geometry of the geometry of the element.
Compute the contacts between this element and another element.
Returns the geometry of the fastener in the model.
Compute the geometry of the element in model coordinates and taking into account the effect of interactions with connected elements.
Compute the transformation to model coordinates of this element based on its position in the spatial hierarchy of the model.
Computes the Oriented Bounding Box (OBB) of the geometry of the element.
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.
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.