BeamNester
- class compas_timber.planning.BeamNester[source]
Bases:
objectA class for optimizing 1D nesting of beams into stock pieces.
This class implements algorithms to efficiently nest beams from a TimberModel into available stock pieces, minimizing waste and cost.
- Parameters:
- model
TimberModel The timber model containing beams to nest
- stock_cataloglist[
BeamStock] Available BeamStock pieces for nesting.
- spacingfloat, optional
Spacing tolerance for cutting operations (kerf width, etc.)
- per_groupbool, optional
Whether to nest beams per group or all together. Default is False (all together).
- model
- Attributes:
- model
TimberModel The timber model
stock_cataloglist[BeamStock]Get the stock catalog.
- spacingfloat
Spacing tolerance for cutting operations (kerf width, etc.)
- per_groupbool
Whether to nest beams per group or all together. Default is False (all together).
- model
Methods
Perform 1D nesting of all beams in the model.