BTLx

class compas_timber.fabrication.BTLx[source]

Bases: object

Class representing a BTLx object.

BTLx is a format used for representing timber fabrication data.

Parameters:
modelModel

The model object.

Attributes:
historydict

Returns the file history of the BTLx file.

btlx_stringstr

Returns a pretty XML string for visualization in GH, Terminal, etc.

partsdict

A dictionary of the BTLxParts in the model.

jointslist

A list of the joints in the model.

Methods

btlx_string

Returns a pretty XML string for visualization in GH, Terminal, etc.

process_model

Processes the model and generates BTLx parts.

register_joint

Registers a joint type and its corresponding factory.