Skip to main content

raygeo.ops.transform.clip

CropSpec

Parameters for the Crop transformer.

The regions are pre-resolved clip regions in ops-local space, computed by Python from stock geometries + workpiece transform.

offset

offset: float

Offset (mm) that was applied when growing the stock geometry; kept for traceability but not used by the dispatch.

regions

regions: list[list[tuple[float, float]]]

Pre-resolved clip regions, each a polygon of (x, y) vertices.

tolerance

tolerance: float

Approximation tolerance for primitive refitting.