BTLxPart

class compas_timber.fabrication.BTLxPart[source]

Bases: object

Class representing a BTLx part. This acts as a wrapper for an Element object.

Parameters:
elementElement # TODO: not really, make BTLx Element parent class

The element object.

Attributes:
attrdict

The attributes of the BTLx part.

elementElement

The element object.

keystr

The key of the element object.

lengthfloat

The length of the element.

widthfloat

The width of the element.

heightfloat

The height of the element.

frameFrame

The frame of the BTLxPart at the corner of the blank box that puts the blank geometry in positive coordinates.

blankBox

The blank of the element.

blank_frameFrame

The frame of the blank.

blank_lengthfloat

The blank length of the element.

processingslist

A list of the processings applied to the element.

Methods

et_point_vals

Returns the ET point values for a given point.

ref_side_from_face

Finds the one-based index of the reference side with normal that matches the normal of the given element face.