BTLxProcess
- class compas_timber.fabrication.BTLxProcess[source]
Bases:
object
Generic class for BTLx processings.
This should be instantiated and appended to BTLxPart.processings in a specific btlx_process class (eg BTLxJackCut)
each specific btlx process class should have: PROCESS_TYPE a class attribute which matches the btlx process name self.header_attributes which matches as a dict, self.process_parameters which describe the geometric parameters of the process
the joint factory calls instantiates a process or processes and appends it or them to the BTLxPart.processes list
each process will have specific inputs which are derived from the Joint instance and related BTLxParts
some joints will require combinations of multiple BTLx processes, and some processes will cover multiple joint types.
the factory module should call the BTLx.register_joint(joint type, joint factory) function so that the BTLx class can call specific factory types.
The factory will typically derive the needed parameters from the Joint instance and the joint_factory will apply them to the individual BTLxParts.
- Parameters:
- namestr
The name of the processing.
- attrdict
The attributes of the processing.
- paramsdict
The parameters of the processing.
- Attributes:
- et_element
Element
The ET element of the BTLx processing.
- et_element