Skip to content

compas_nest

2D irregular nesting for the COMPAS framework.

compas_nest

compas_nest packs irregular parts onto sheets with minimal waste — parts and sheets may have holes, parts can nest inside holes, and sheets can be non-rectangular. It exposes the C++ nesting engines of OpenNest to Python through nanobind, with live compas_viewer visualization and JSON / OBJ output.

Where to find things

  • Installation — install from PyPI, with uv, conda, or from source.
  • Examples — the viewer workflows: collision and NFP nesting, live animation, the real dataset, attributes, and clearance offsetting.
  • API Reference — the two engines, the nest_geo / nest_sheets data structures, the nest_result (placements, transformations, JSON / OBJ export), and offsetting.
  • Credits — the OpenNest engines and the published methods they build on.