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 beam to be cut. 0-5 correspond to RS1-RS6.

priorityint

The priority of the process.

process_idint

The process ID.

PROCESSING_NAMEstr

The name of the process.

Methods

add_subprocessing

Add a nested subprocessing.

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.