Skip to main content
NestAPI accepts parts in several forms. They all end up as geometry the nester packs onto sheets — pick the one that matches the data you already have.

DXF files — POST /nesting

Submit base64-encoded DXF files as Base64NestingRequest. This is the most common path when your parts originate from CAD.
  • Best when you have DXF on hand.
  • Layers in the DXF can carry meaning (cut vs. engrave); use the importer first if layers need mapping and review.

Encoded geometry — POST /nesting/geometry

Submit GeometryNestingRequest — geometry that’s already been extracted, either from the importer or defined directly as SimpleGeometry.
  • Best when you already hold geometry and don’t want to round-trip through files.
  • The natural follow-on to an importer session.

Parametric — POST /nesting/parametric

Submit ParametricNestingRequest — parts described by parameters rather than explicit outlines.
  • Best when parts are generated from a configurator or rules, not drawn.

MyNesting XML — POST /nesting/mynesting

Submit a MyNesting XML document as a string.
  • Best when you already produce MyNesting documents.

Which should I use?

You have…Use
DXF filesPOST /nesting
Geometry from the importer, or SimpleGeometryPOST /nesting/geometry
Parameter-driven partsPOST /nesting/parametric
A MyNesting XML documentPOST /nesting/mynesting
All of these share the same async workflow and the ResultsWebhookUri / AutomaticallyStartNesting fields. For the exact body of each Request, see the Nesting section of the API Reference.