BTLxProcessing

class compas_timber.fabrication.BTLxProcessing[source]

Bases: Data

Base class for BTLx Processing.

Attributes:
ref_side_indexint

The reference side, zero-based, index of the element to be cut. 0-5 correspond to RS1-RS6. Defaults to 0 (RS1).

priorityint

The priority of the process.

process_idint

The process ID.

PROCESSING_NAMEstr

The name of the process.

is_joinerybool

If True, the process is a result of joinery process.

Methods

add_subprocessing

Add a nested subprocessing.

scaled

Returns a new instance of the processing with the parameters scaled by a given factor.

Inherited Methods

ToString

Converts the instance to a string.

copy

Make an independent copy of the data object.

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

sha256

Compute a hash of the data for comparison during version control using the sha256 algorithm.

to_json

Convert an object to its native data representation and save it to a JSON file.

to_jsonstring

Convert an object to its native data representation and save it to a JSON string.

validate_data

Validate the data against the object's data schema.