Nesting arranges pieces on sheets or rolls with as little waste as possible. Imposition jobs, the roll nests of estimates, and the nesting API all do it the same way, so a job nests the same way wherever it comes from.
What you set#
- Parts: each part's outline (its cut line), a quantity, and the rotations it may use. See Rotations and grain.
- A container: sheets of a fixed size with margins, or a roll of a fixed width with side margins, a lead-in and a lead-out, and optionally the cutter's beds. See Rolls, beds and lanes.
- Spacing and bleed: the gap between pieces, and extra printed area around each one.
- Time: how long you are willing to let the run search.
What a layout is checked for#
A true-shape nest places each outline at an angle you allowed, with the spacing and bleed you set.
- On sheets, the layout with the fewest sheets is kept, and then the one that leaves the last sheet emptiest. On rolls, the shortest roll is kept.
- Before you see a layout, every piece is inside the printable area, no two pieces overlap, and the gap between them is at least the spacing you set. On rolls with beds, pieces follow the bed-boundary setting. A layout that fails is dropped.
- You can stop a run early. The best layout found so far is kept.
Many copies of a few shapes#
When a sheet job has many copies of a few artworks, such as a sheet of stickers, true shape first lays each artwork out as a repeating pattern: rows of copies, or of head-to-toe pairs, at the angle that packs that artwork tightest with the spacing you set. Sheets are filled with these rows, single pieces fill the gaps the rows leave at the sheet's edges, and the end of a sheet takes rows of whichever artwork still fits. The usual search then runs with the rest of the time, and you see the best of both. Every piece is placed at an angle you allowed, and the layouts pass the same checks as any other.
The patterns get a quarter of the run's time, or 60 % when at least 80 % of the pieces are copies of artworks with 20 or more copies; the usual search starts when they finish. They usually appear within a few seconds. The usual search runs alone for rolls, for jobs with marks or keep-out areas, for jobs of fewer than 40 pieces or where no artwork has 4 or more copies, and for jobs whose pieces are all rectangles, which get an exact rectangle packing instead. The saving is largest when a few shapes repeat many times; small or mixed jobs gain little.
Part in part: small parts in other parts' windows#
When a part has a window cut out of it, such as a frame, a ring or a tag with a cut-out, true shape fills the window with smaller parts of the same job first, then nests the part with its window full. Pieces in a window keep the spacing you set from the window's edge and from each other, as they do anywhere else, and the bleed around the window stays clear. This works on sheets and on rolls, and with every way true shape lays a job out, including the repeating rows above. Offset runs and jobs that keep items together (Keep together or Avoid splits) fill windows on each plate or form too, and plan them knowing a window takes pieces: a plate may hold more frames when their tiles ride in the windows.
- Which holes are windows. Only holes that are cut through (Thru-cut) take pieces. A kiss-cut hole may be a sticker of its own, so nothing is placed in it. A hole is used when a circle Smallest hole used wide fits inside its bleed: 0.25 in (6.35 mm) by default.
- Rotation. Each piece keeps its own rotation rule. It goes into a window only at an angle that stays allowed however the larger part turns, so a part that may turn to any angle only takes pieces that may too.
- How windows are filled. The largest pieces go in first, and each copy of a part takes the same pieces while there are enough of them; the last copies may hold fewer pieces or stay empty. A round or odd-shaped window is filled three ways (from the bottom up, along its walls first, and from the left) and the fullest kept. A piece in a window is not filled itself.
- Left out. Parts with marks attached outside the die, parts on their own sheet, pieces at a die's fixed stations and parts too large for the sheet or roll are never filled, and marked parts never go into a window.
- Output. The imposed PDF shows each part's artwork with its windows open, so it never prints over the pieces in them. Cut files cut the pieces in a window before the window around them. Utilization and part area count a part without its windows.
Filling the windows takes a few milliseconds to a few tenths of a second of the run's time, never more than about a
tenth of it, and jobs without windows skip it; a window offered thousands of tiny pieces takes up to 2,500 of them.
With Max sheets set, a nest with its windows filled could leave more pieces off the sheets than one without, so
when it leaves pieces off, the job is also nested with its windows empty and the layout that leaves fewer off is
kept. Turn it off with Nest parts in holes in the job's Settings… (True shape), or options.free in the
API; then every part nests as its outline and its windows stay empty. A job gains most
when its windows are large next to its smaller parts.
Methods#
Imposition offers several methods. True shape is the nest above. N-up packs rectangles for guillotine cutting. Strips keeps items in straight strips between slit lines. Offset runs plan plates and run lengths, and use the job's method to lay out each plate. Estimates always nest true shape on a roll. Every method's layouts pass the same checks.
How long to let it run#
More time can find a better layout, especially when the job has many different shapes. Rectangles and simple shapes
usually settle within seconds. If a result matters, let the job run longer: Optimize (10 s) in estimates, the
job's Time in imposition, or time_limit_s in the API.
In imposition, open Solutions during the run to compare solutions as they are found. Sheet and roll nests show distinct arrangements, and offset jobs show complete, checked plate plans while the search continues. The best results are kept as new options arrive. More time gives the search more opportunity; it does not guarantee more options or a better result on every job. See The live Solutions list.
Comparing results#
Compare solutions by sheet count or roll length, and by utilization: how much of the material your parts occupy. Keep the artwork, quantities, material size, margins, spacing and allowed rotations the same when you compare, and check that each solution includes every piece and leaves room for cutting and handling. A tightly packed layout is only useful if it can be produced reliably, so judge the finished job (grain, spacing, machine limits, the cutting process and the time to release it) rather than utilization alone.
The number of solutions is not a quality score. A simple job may have only one useful arrangement, while a mixed job may offer several with similar material use. Compare the arrangements as well as their sheet count or roll length; turn on Group similar results in Solutions if you prefer a shorter list.
The lower bound#
For N-up and offset runs, the Report can show a Lower bound in sheets: the fewest sheets any solution of the job could use. Matching it means fewer sheets are not possible under the current job settings. A result above the bound may still be the best practical solution, because the bound does not account for every production constraint. If the difference is large, check quantities, spacing, margins and allowed rotations, or try a longer search. True-shape nests do not show a lower bound.
What it doesn't do#
- Windows are filled one level deep, before the nest. A piece in a window doesn't take pieces in its own holes, and pieces aren't moved into windows after the nest. A round or odd-shaped window may still hold a piece or two fewer than a careful hand layout.
- Offset plans count each window alone. The planner reckons how many copies of one smaller part a window takes; a plate that mixes several smaller parts in its windows may take fewer, and every plate is checked by laying it out before it is used.
- Estimates don't fill windows. Parts of an estimate's roll nest are single outlines, and boxes on sheets nest by their blank's outline, windows included.
- No mirroring. Pieces are rotated, never flipped.
- Gaps can be a little wider than the spacing. Neighbours may sit a little further apart than the spacing you set.
Size and time limits are on Sizes and limits.