BTLxPart
- class compas_timber.fabrication.BTLxPart[source]
Bases:
BTLxGenericPartClass representing a BTLx part. This acts as a wrapper for an Element object.
- Parameters:
- element
TimberElement The element object.
- order_numint
The order number of the part.
- scale_factorfloat, optional
The scale factor to apply to the part’s dimensions. Used when the design unit is anything other than mm. Defaults to 1.0.
- element
- Attributes:
attrdictReturn the attributes dictionary for the part XML element.
- element
Element The element object.
- lengthfloat
The length of the element.
- widthfloat
The width of the element.
- heightfloat
The height of the element.
- frame
Frame The frame of the BTLxPart at the corner of the blank box that puts the blank geometry in positive coordinates.
- processingslist
A list of the processings applied to the element.
Methods
Finds the one-based index of the reference side with normal that matches the normal of the given element face.
Inherited Methods
Returns the ET point values for a given point.