StepJoint
- class compas_timber.fabrication.StepJoint[source]
Bases:
BTLxProcessing
Represents a Step Joint feature to be made on a beam.
- Parameters:
- orientationint
The orientation of the cut. Must be either OrientationType.START or OrientationType.END.
- start_xfloat
The start x-coordinate of the cut in parametric space of the reference side. -100000.0 < start_x < 100000.0.
- strut_inclinationfloat
The inclination of the strut. 0.1 < strut_inclination < 179.9.
- step_depthfloat
The depth of the step. step_depth < 50000.0.
- heel_depthfloat
The depth of the heel. heel_depth < 50000.0.
- step_shapestr
The shape of the step. Must be either ‘double’, ‘step’, ‘heel’, or ‘taperedheel’.
- tenonstr
The presence of a tenon. Must be either ‘no’ or ‘yes’.
- tenon_widthfloat
The width of the tenon. tenon_width < 1000.0.
- tenon_heightfloat
The height of the tenon. tenon_height < 1000.0.
Methods
Add a tenon to the existing StepJointNotch instance.
Apply the feature to the beam geometry.
Create a StepJoint instance from a cutting surface and the beam it should cut.
Calculates the cutting planes from the machining parameters in this instance and the given beam
Calculates the tenon volume from the machining parameters in this instance and the given beam
Inherited Methods
Converts the instance to a string.
Add a nested subprocessing.
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.
Validate the data against the object's data schema.