LapProxy

class compas_timber.fabrication.LapProxy[source]

Bases: object

This object behaves like a Lap except it only calculates the machining parameters once unproxified. Can also be used to defer the creation of the processing instance until it is actually needed.

Until then, it can be used to visualize the machining operation. This slightly improves performance.

Parameters:
volumePolyhedron or Brep

The negative volume that constitutes the lap.

beamBeam

The beam where lap should be applied.

machining_limitsdict, optional

The machining limits for the cut. Default is None.

ref_side_indexint, optional

The reference side index for the Lap.

Methods

apply

Apply the feature to the beam geometry.

from_volume_and_beam

Construct a Lap feature from a volume and a Beam.

unproxified

Returns the unproxified processing instance.