Drilling
- class compas_timber.fabrication.Drilling[source]
Bases:
BTLxProcessing
Represents a drilling processing.
- Parameters:
- start_xfloat
The x-coordinate of the start point of the drilling. In the local coordinate system of the reference side.
- start_yfloat
The y-coordinate of the start point of the drilling. In the local coordinate system of the reference side.
- anglefloat
The rotation angle of the drilling. In degrees. Around the z-axis of the reference side.
- inclinationfloat
The inclination angle of the drilling. In degrees. Around the y-axis of the reference side.
- depth_limitedbool, default True
If True, the drilling depth is limited to depth. Otherwise, drilling will go through the element.
- depthfloat, default 50.0
The depth of the drilling. In mm.
- diameterfloat, default 20.0
The diameter of the drilling. In mm.
Methods
Apply the feature to the beam geometry.
Construct the geometry of the drilling using the parameters in this instance and the beam object.
Construct a drilling processing from a line and diameter.
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.