PlateJoint

class compas_timber.connections.PlateJoint[source]

Bases: Joint

Models a plate to plate interaction.

Parameters:
plate_acompas_timber.elements.Plate

The first plate.

plate_bcompas_timber.elements.Plate

The second plate.

topologyliteral(JointTopology)

The topology in which the plates are connected.

a_segment_indexint

The index of the segment in plate_a’s outline where the plates are connected.

b_segment_indexint

The index of the segment in plate_b’s outline where the plates are connected.

**kwargsdict, optional

Additional keyword arguments to pass to the parent class.

Attributes:
plate_acompas_timber.elements.Plate

The first plate.

plate_bcompas_timber.elements.Plate

The second plate.

platestuple of compas_timber.elements.Plate

The plates that are connected.

Methods

add_extensions

Adjusts plate outlines to outer shape required for the joint.

add_features

Adds features to the plates based on the joint.

calculate_topology

Calculate the topology of the joint based on the plates.

flip_roles

promote_joint_candidate

Creates an instance of this joint from a generic joint.

reorder_planes_and_outlines

restore_beams_from_keys

Restores the reference to the elements associated with this joint.

restore_plates_from_keys

Inherited Methods

ToString

Converts the instance to a string.

check_elements_compatibility

Checks if the cluster of beams complies with the requirements for the Joint.

copy

Make an independent copy of the data object.

create

Creates an instance of this joint and creates the new connection in model.

element_count_complies

Checks if the number of elements complies with the joint's requirements.

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

promote_cluster

Creates an instance of this joint from a cluster of elements.

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.

validate_data

Validate the data against the object's data schema.