BTLxWriter
- class compas_timber.fabrication.BTLxWriter[source]
Bases:
object
Class for writing BTLx files from a given model.
BTLx is a format used for representing timber fabrication data.
Use BTLxWriter.write() to write a BTLx file from a model and a file path.
- Parameters:
- company_namestr, optional
The name of the company. Defaults to “Gramazio Kohler Research”.
- file_namestr, optional
The name of the file. Defaults to None.
- commentstr, optional
A comment to be included in the file. Defaults to None.
Methods
Converts the model to an XML string.
Writes the BTLx file to the given file path.