TStepJoint
- class compas_timber.connections.TStepJoint[source]
Bases:
JointRepresents an T-Step type joint which joins two beams, one of them at it’s end (main) and the other one along it’s centerline (cross). Two or more cuts are is made on the main beam and a notch is made on the cross beam to fit the main beam.
This joint type is compatible with beams in T topology.
Please use TStepJoint.create() to properly create an instance of this class and associate it with a model.
- Parameters:
- main_beam
Beam First beam to be joined.
- cross_beam
Beam Second beam to be joined.
- step_shapeint
Shape of the step feature. 0: step, 1: heel, 2: double.
- step_depthfloat
Depth of the step cut. Combined with a heel cut it generates a double step cut.
- heel_depthfloat
Depth of the heel cut. Combined with a step cut it generates a double step cut.
- tapered_heelbool
If True, the heel cut is tapered.
- tenon_mortise_heightfloat
Height of the tenon (main beam) mortise (cross beam) of the Step Joint. If None, the tenon and mortise featrue is not created.
- main_beam
- Attributes:
- main_beam
Beam First beam to be joined.
- cross_beam
Beam Second beam to be joined.
- step_shapeint
Shape of the step feature. 0: step, 1: heel, 2: double.
- step_depthfloat
Depth of the step cut. Combined with a heel cut it generates a double step cut.
- heel_depthfloat
Depth of the heel cut. Combined with a step cut it generates a double step cut.
- tapered_heelbool
If True, the heel cut is tapered.
- tenon_mortise_heightfloat
Height of the tenon (main beam) mortise (cross beam) of the Step Joint. If None, the tenon and mortise featrue is not created.
- main_beam
Methods
Calculates and adds the necessary extensions to the beams.
Adds the required trimming features to both beams.
Checks if the cluster of beams complies with the requirements for the TStepJoint.
After de-serialization, restores references to the main and cross beams saved in the model.
Sets the default step and heel depths based on the joint type if they are not provided.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Creates an instance of this joint and creates the new connection in model.
Checks if the number of elements complies with the joint's requirements.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Creates an instance of this joint from a cluster of elements.
Creates an instance of this joint from a joint candidate.
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.
Validate the data against the object's data schema.