Lescut

Guide · SheetsPreparing DXF files for CNC sheet nesting: layers, drilling, grain and kits

A DXF file ready for sheet nesting holds each part as one closed outline, with its cut-outs inside it, and keeps everything that is not cut, such as drill holes, engraving and text, on layers named for it. The nest then places the outlines on your stock sheets, and the cutting files carry every other line along with its part.

Updated

What makes a part in a DXF?

Each closed outline is a part, and each closed shape inside it is a cut-out. Lines, arcs, polylines and splines all work, and curves stay curves in the cutting files. An outline that is not closed, or that crosses itself, cannot be nested: the import lists the part to fix.

In a DXF block, one outline owns everything inside the block, wherever it lies. Without blocks, position decides: a mark belongs to the part around its middle. Drawings are read in the units the DXF declares, millimetres when it declares none.

Which layers are cut, and which travel along?

Every layer is cut unless its name says otherwise. Layers named for features travel with their part into the cutting file and are never mistaken for cut-outs:

Layer name containsWhat happens
DRILL, PUNCHHoles and punch marks travel with their part
ENGRAVE, ETCH, SCORE, V-GROOVE, CREASEEngraving and scoring travel with their part
PEN, DRAW, MARK, TEXT, LABEL, INFOMarking and text travel with their part
GRAINA grain line: sets the part’s direction on the sheet
DIM, ANNO, DEFPOINTSDimensions and notes travel along; leave them out with an import profile
Any other name, such as CUT or 0Closed shapes are parts and cut-outs

Frames, title blocks and dimensions do not belong in a cutting file. List their layers in an import profile and they are left out of the outlines and the files, while any text options on them are still read. In the cutting files, a cutter profile sends each layer to the right tool on your machine.

How do you keep the grain and the good face?

A part is placed as drawn, or along its grain line when it has one: a line on a GRAIN layer is laid along the sheet’s first dimension, its X axis in the cutting files. Text inside the part sets how it may turn and whether it may be mirrored:

Text inside the partWhat it sets
NAME:sideThe part’s name, on labels and in the report
QTY:2How many of it one set (one kit, cabinet or sign) needs
ROT:180Half turns only: veneer or decor grain stays along the part
ROT:90 or ROT:ANYQuarter turns, or any angle, for grainless sheet
ROT:0Exactly as drawn
TILT:2A few degrees off each allowed angle (0 to 10)
FLIP:NNever mirrored, so a laminate or printed face stays up

A part with a grain line and no ROT: turns only in half turns. Every option can be changed after import in the parts table.

How do kits and sets work?

The parts file is one set: a cabinet, a sign, a kit. The job says how many sets to cut, so the order is every part’s quantity times the number of sets.

When the sheets cannot hold the whole order, the nesting profile decides what comes first: as many parts as fit (where new sheet profiles start), as many complete sets as fit with parts of the next sets in the space left, or complete sets only. A set may span several sheets.

How do you describe the sheets and the gap?

The nesting profile lists your sheet sizes in millimetres, each with its price, and each job takes how many sheets of each size you have today, up to 200 sheets in all; a size at 0 stays out of the job. Lescut keeps no stock: the counts are what this job may use, and nothing is booked out when it runs. The goal is the fewest sheets, or the lowest material cost, which needs a price for every size.

The gap between parts is the minimum distance the nest keeps between outlines: at least your bit diameter or kerf, plus whatever your hold-down or tabs need. Lescut writes no toolpaths, so lead-ins, tabs and cut order stay with your CAM or machine software.

In Lescut

How to nest a sheet order in Lescut

From your CAD export to one cutting file per sheet.

  1. 01

    Export the parts

    From your CAD or cabinet software, export one set of parts as DXF or SVG, with drilling and engraving on their own layers and NAME:, QTY:, ROT: and FLIP: text inside the parts.

  2. 02

    Leave out the drawing furniture

    Under Import profiles, list the layers that hold frames, title blocks and dimensions.

  3. 03

    Upload the parts

    Under Part libraries, upload the file and check the parts table: quantities per set, rotation and flip.

  4. 04

    Enter your stock

    In the nesting profile, enter your sheet sizes with their prices, the gap between parts, the goal and what to do when not every set fits.

  5. 05

    Start the job

    Choose the library, the number of sets, how many sheets of each size you have and the search time.

  6. 06

    Cut

    Download one DXF and SVG per sheet, with the sheet on its own layer and your original layers, and report.csv with the sheet each part is cut from.

Try it with our sample files

  • bookcase-parts.dxf: A plywood bookcase: 9 parts on a CUT layer with drilling, engraving, dimensions and NAME: / QTY: / ROT: / FLIP: text

Related

Questions

Why are my dimension lines in the cutting file?

Layers named for dimensions and notes travel with their part, like other marks. List those layers in an import profile and they are left out of the outlines and the cutting files.

How large should the gap between parts be?

At least the diameter of your bit or the width of your kerf, plus whatever your process needs between parts, such as room for tabs or hold-down. The nest never places two outlines closer than the gap.

Can small parts go inside the cut-outs of larger ones?

Yes. A cut-out inside a part is free space for the nest, and small parts are placed inside it when they fit, with the same gap.

Can I use SVG instead of DXF?

Yes. Closed SVG paths are parts as in a DXF, and data-name, data-quantity, data-rotation, data-tilt and data-flip attributes on an outline set the same options as the text in a DXF.

Why is a part missing after import?

Most often its outline is not closed: an outline on a cut layer whose ends do not meet, with a gap of more than 0.05 mm, is skipped, and the import says how many were. An outline that crosses itself is refused with the part to fix.

Can I nest several products in one job?

Yes. Put the parts of every product into one file, or one library, with the quantity each needs per set. A job nests one library times its number of sets.

What is on the SHEET layer of a cutting file?

The outline of the sheet the parts are cut from. Every other layer is yours, as drawn, so your machine software can line the file up with the sheet.

Can the cutting files show part names?

Yes. The job page opens each sheet with part labels, and the API can add labels to the DXF and SVG it returns, so every part can be found after cutting.

Can I send the files to a different machine?

Yes. A cutter profile maps your layers to the tools and colours a machine expects; make one per machine and pick it when you download.

Try it on your own files

Upload your parts and stock, and see the nest in your browser. Every plan starts with a free trial.

€0 for 7 days. Card required. Cancel any time.