2D Irregular Nesting
Place irregular parts on stock material without overlap, minimizing waste.
Also called: 2D Irregular Nesting · 불규칙 형상 패킹 · 트루셰이프 네스팅 · Irregular shape packing · True-shape nesting
Last verified: 2026-05-27
Definition
Place a set of irregular (non-rectangular) 2D parts onto stock material without overlap and within the sheet boundary, so that material utilization is maximized.
Example
Place two “L”-shaped parts by their bounding boxes and the two rectangles claim a large area. Rotate one part 180° and tuck it into the other's concave notch (interlocking), and the pair fits into a much smaller region of the same sheet. Reducing waste by using each part's true shape, rather than a rectangular approximation, is the central gain of irregular nesting.
Industrial aliases
The same geometric core appears under many industry names:
- Shipbuilding — plate nesting, steel plate part nesting
- Apparel — marker making, lay planning
- Sheet-metal fabrication — true-shape nesting
These are not loosely analogous; they are industrial instances of one abstract problem, differing mainly in their side constraints (see Cross-domain analogues).
Formal model
- Input: a set of polygonal pieces (possibly with holes), one or more stock sheets, allowed rotations per piece.
- Decision variables: placement position and orientation for each piece .
- Objective: typically minimize used sheet length (strip variant) or the number of sheets, equivalently maximize utilization.
- Constraints: no pairwise overlap; containment within the sheet; allowed orientation set; (industry-dependent) spacing, grain, and cutting constraints.
Complexity
Irregular nesting is NP-hard. Exact methods exist for small instances, but industrial-scale instances are addressed with constructive heuristics and metaheuristics rather than guaranteed-optimal solvers. [grade B — survey-level]
Key constraints
- Overlap-free placement (the hard geometric core)
- Containment within the sheet boundary
- Rotation — free, a discrete set, or fixed (apparel grain lines often fix it)
- Material direction / grain (apparel, some composites)
- Kerf and cutting-path constraints (sheet-metal, shipbuilding)
- Bevel, bridge, common-cut manufacturability (shipbuilding)
Algorithm families
- Constructive — bottom-left / bottom-left-fill placement rules
- Geometry primitives — No-Fit Polygon (overlap test), Minkowski sums
- Metaheuristic — genetic algorithms, simulated annealing, tabu search over sequence/orientation, with a placement heuristic as the inner loop
- Learning-based — reinforcement-learning approaches have been reported in recent literature under benchmark conditions; maturity for industrial use is not established here. [unverified — no grade-A source recorded]
Benchmarks
- Direct: ESICUP community instances for irregular nesting.
- Adjacent: 2DPackLib — targets two-dimensional orthogonal cutting and
packing, so it is methodologically related but not a direct irregular
benchmark. Recorded explicitly as
has_adjacent_benchmark.
Tools
Commercial true-shape nesting tools are vendor-reported (grade C) and connected to specific application problems rather than to the abstract problem directly — see the application pages for Shipbuilding Plate Nesting and Sheet-metal True-shape Nesting.
Cross-domain analogues
Shipbuilding plate nesting, apparel marker making, and sheet-metal true-shape
nesting share the overlap-free placement core (an E1_variant relationship).
What differs is the side constraints: shipbuilding adds cutting-path,
bridge, and bevel manufacturability; apparel adds grain/orientation locking and
pattern matching; sheet-metal adds kerf and common-line cutting. Recording the
equivalence and the difference is the point — see the Evidence policy.
Open questions
- How far do learning-based methods generalize across industry side-constraint sets, beyond single-benchmark reports?
- Where is the boundary between "same problem, different constraints" (E1) and a genuinely distinct formulation?
Related nodes
The graph below shows direct (depth-1) neighbors. Methods are violet, benchmarks amber; the dashed edge marks the adjacent (not direct) benchmark.
Claims & evidence
Every relationship is a claim with an equivalence level and an evidence grade. See the evidence policy.
| Relationship | Claim | Equiv. | Evidence | Sources |
|---|---|---|---|---|
| uses methodNo-Fit Polygon | The No-Fit Polygon is the canonical geometric primitive for testing and resolving overlap between two irregular pieces in nesting. | — | A |
|
| uses methodInner-Fit Polygon | Containment within the sheet boundary is encoded by the Inner-Fit Polygon, which together with the No-Fit Polygon's overlap test forms the two geometric axes of irregular-nesting placement. | — | A |
|
| uses methodPhi-functions | Overlap in irregular placement can also be encoded with phi-functions, an alternative to the No-Fit Polygon that enables nonlinear-programming formulations with continuous rotation. | — | A |
|
| uses methodBottom-Left Fill | Bottom-left and bottom-left-fill placement rules are widely used constructive heuristics for irregular nesting layouts. | — | B |
|
| uses methodGenetic Algorithm | Irregular nesting has been reported with genetic-algorithm-based search over piece sequence and orientation, paired with a placement heuristic. | — | B |
|
| direct benchmarkESICUP | ESICUP distributes community instances for irregular (nesting) problems used to compare reported results. | — | B |
|
| adjacent benchmark2DPackLib | 2DPackLib is adjacent, not direct: it targets two-dimensional orthogonal (rectangular) cutting and packing, whereas irregular nesting handles arbitrary polygons. Relevant for shared packing methodology but not a like-for-like benchmark. | — | A |
|
| open-source implementationSVGnest | SVGnest is an open-source implementation of irregular nesting using No-Fit Polygon placement and a genetic algorithm. | — | C | |
| open-source implementationlibnest2d | libnest2d is an open-source C++ library providing 2D nesting of arbitrary polygons. | — | C | |
| open-source implementationDeepnest | Deepnest is an open-source desktop nesting app built on the SVGnest algorithm. | — | C | |
| uses methodSimulated Annealing | Irregular nesting has been reported with simulated-annealing search over piece sequence and orientation, paired with a placement heuristic. | — | B |
|
| uses methodTabu Search | Irregular nesting has also been reported with tabu-search-based search, using a placement heuristic as the inner loop. | — | B |
|
| uses methodReinforcement Learning | RL-based nesting has been reported in recent literature, but its industrial maturity and generalization are not verified here. [unverified — no grade-A source recorded] | — | D | — |
| uses methodMinkowski Sum | Because the No-Fit Polygon used for overlap testing is computed as a Minkowski sum, irregular nesting directly relies on the Minkowski sum. | — | A |
|
| generalizes2D Strip Packing | Irregular nesting generalizes rectangular strip packing: rectangles are a special case of arbitrary polygons. | E2 | B |
|
| shares method with2D Bin Packing | Irregular nesting and 2D bin packing belong to the same cutting & packing family and share metaheuristic search methodology. | E2 | B |
|
Neighborhood
Direct graph neighbors. Toggle depth to expand.
See also
Not directly linked, but conceptually close — by the connections and descriptions they share.
- 2D KnapsackFormal problem4 connections in common
- Guillotine CuttingFormal problem4 connections in common
- 3D Bin PackingFormal problem3 connections in common
- First-Fit DecreasingMethod3 connections in common
- Integer Linear ProgrammingMethod2 connections in common
- Wäscher TypologyConcept1 connections in common