BTLxRawpart

class compas_timber.fabrication.BTLxRawpart[source]

Bases: BTLxGenericPart

Class representing a BTLx Rawpart. This acts as a wrapper for raw material information.

Parameters:
stockStock

The stock object representing the raw material.

order_numberint

The order number for the rawpart.

scale_factorfloat, optional

The scale factor to apply to dimensions. Defaults to 1.0.

Attributes:
stockStock

The stock object.

attrdict

Return the attributes dictionary for the rawpart XML element.

lengthfloat

The length of the rawpart.

widthfloat

The width of the rawpart.

heightfloat

The height of the rawpart.

frameFrame

The frame of the BTLxRawpart.

part_refslist

List of part references that are nested in this rawpart.

Methods

add_part_ref

Add a part reference to this rawpart.

Inherited Methods

et_point_vals

Returns the ET point values for a given point.