DXF layers for CNC
The CNC (nesting) DXF from Prosciej (prosciej.com) is a sheet layout of your parts prepared for your CAM program: part outlines on the CUT_THROUGH layer, back grooves and rebates on GROOVE_P<n> and REBATE_P<n>, captions on LABEL, the legend on INFO and board outlines on SHEET. The “Each part separately (ZIP)” option gives one file per kind of part, for a CAM that nests by itself. In CAM you give each layer a tool and an operation.
Layers in the file
The four base layers have fixed names, in English, without spaces or accented letters, so one import template in your CAM works for every project. Layers for grooves and rebates come on top of them, only when a part has a groove, with the depth in the name — for example GROOVE_P8 for a groove 8 mm deep. The file holds only polylines (LWPOLYLINE), lines (LINE) and text (TEXT) — no blocks and no splines. Units are millimetres.
All text is written without accented letters (for example “Dab Sonoma” instead of “Dąb Sonoma”), so every CAM program reads it correctly.
| Layer | What it holds | Entities | What to do with it in CAM |
|---|---|---|---|
| CUT_THROUGH | The outline of every part as a closed contour; an angled part keeps its true shape. | LWPOLYLINE (closed) | Through-cut profile, tool on the outside of the line. |
| LABEL | Next to each part: its item number (the same as in the PDF and the cutting drawing), the list size, the board thickness, the decor and which face goes up — for a grooved part “groove face up”, or “face down” when the decor face lies underneath. | TEXT | Skip it, or use it to engrave or mark the parts. |
| INFO | The file legend (size in the file, units, cutter, clearance, gap, DXF version, project name, date, the address of this page), the key to the groove and rebate layers, grain arrows, bevel angle notes, room names and the list of parts whose groove lies behind the decor face. | TEXT, LINE | Do not machine — it is an information layer. |
| GROOVE_P<n> | Back groove: the closed contour of the groove, set back from the rear edge, only along the stretch the back covers. n is the groove depth in mm. | LWPOLYLINE (closed) | Pocket to the depth in the layer name, compensation inside the contour, a separate tool chosen for the groove width. |
| REBATE_P<n> | Back rebate (a groove with no setback from the rear edge): the contour of the cut-out, with one side on the edge of the part. n is the depth in mm. | LWPOLYLINE (closed) | Cut to the depth in the layer name; how the cutter runs along the part edge is set in CAM. |
| SHEET | The outline of every raw board in the layout. | LWPOLYLINE (closed) | Do not cut — it shows which board goes on the table. |
CUT_THROUGH
- What it holds
- The outline of every part as a closed contour; an angled part keeps its true shape.
- Entities
- LWPOLYLINE (closed)
- What to do with it in CAM
- Through-cut profile, tool on the outside of the line.
LABEL
- What it holds
- Next to each part: its item number (the same as in the PDF and the cutting drawing), the list size, the board thickness, the decor and which face goes up — for a grooved part “groove face up”, or “face down” when the decor face lies underneath.
- Entities
- TEXT
- What to do with it in CAM
- Skip it, or use it to engrave or mark the parts.
INFO
- What it holds
- The file legend (size in the file, units, cutter, clearance, gap, DXF version, project name, date, the address of this page), the key to the groove and rebate layers, grain arrows, bevel angle notes, room names and the list of parts whose groove lies behind the decor face.
- Entities
- TEXT, LINE
- What to do with it in CAM
- Do not machine — it is an information layer.
GROOVE_P<n>
- What it holds
- Back groove: the closed contour of the groove, set back from the rear edge, only along the stretch the back covers. n is the groove depth in mm.
- Entities
- LWPOLYLINE (closed)
- What to do with it in CAM
- Pocket to the depth in the layer name, compensation inside the contour, a separate tool chosen for the groove width.
REBATE_P<n>
- What it holds
- Back rebate (a groove with no setback from the rear edge): the contour of the cut-out, with one side on the edge of the part. n is the depth in mm.
- Entities
- LWPOLYLINE (closed)
- What to do with it in CAM
- Cut to the depth in the layer name; how the cutter runs along the part edge is set in CAM.
SHEET
- What it holds
- The outline of every raw board in the layout.
- Entities
- LWPOLYLINE (closed)
- What to do with it in CAM
- Do not cut — it shows which board goes on the table.
How to map the layers to tools in CAM
A DXF describes the shape, but not which tool cuts it or how deep — you set that in your CAM program. The layer name is the only hint CAM has about what a contour is, which is why every operation gets its own layer in the file.
- Import the file into your CAM program and check the units: measure one part whose size you know from the cutting list.
- Give the CUT_THROUGH layer a through-cut profile with the tool on the outside of the line; set the depth from the board thickness in the part's caption.
- Give GROOVE_P<n> and REBATE_P<n> a pocket operation with compensation inside the contour and a tool chosen for the groove width; enter the depth from the end of the layer name in the operation, because a DXF contour does not carry it.
- Leave the LABEL and INFO layers out of machining, or, if your machine can do it, use LABEL to engrave the numbers.
- Leave the SHEET layer unmachined — it is there to check that the layout sits on a board of the right size.
- After the first import, measure the groove on one part: its distance from the rear edge after edge banding should match the design.
- Set tabs, clamp zones, cutting order and feeds in CAM as for any other file.
The outline is the part's true contour
The line on the CUT_THROUGH layer lies exactly on the edge of the part — it is not the cutter's centre path. So in CAM you set tool compensation to the outside of the contour (for example “Tool Outside”). A cutter run along the line itself would take half its diameter off every edge.
Every outline is one closed polyline. That matters, because some CAM programs cut an open contour on the line instead of outside it: with a 6.35 mm cutter the part would come out about 3.2 mm short on every edge, with no error message at all.
Back groove and rebate
A groove is a slot cut inside the board, a rebate is a cut-out on the very edge; the back panel sits in either. In the file a groove is on the GROOVE_P<n> layer, and a rebate — a groove with no setback from the rear edge — on REBATE_P<n>. Both are closed contours, and on a rebate one side of the contour lies on the edge of the part.
The line on these layers is the real outline of the groove, not the cutter's centre path — as on CUT_THROUGH, except that here the cutter must stay inside the contour. The groove is drawn where the model has it: at its distance from the rear edge and at its width, and where the back ends before the end of the part, only along that stretch.
The depth is in the layer name because a DXF contour has no Z coordinate; n is the groove depth from the design in millimetres, and a fraction is written with an underscore instead of a dot (P12_5 is 12.5 mm). This spelling is a Prosciej convention, not a DXF standard — you enter the depth from the name in the operation in CAM.
A groove that stops inside the part is cut with a round cutter, so its ends come out rounded by the cutter radius. The file draws a rectangle and gives no value for the rounding — it follows from the cutter you choose in CAM.
Where the groove sits: routed before edge banding
The CNC file assumes that the same machine cuts the part out and routes its groove in the same machining cycle, and that you apply the edge banding afterwards. So the groove is routed before the part gets its band on the rear edge — the legend on the INFO layer says the same.
That is why in a file with the cut size the groove sits nearer the edge of the part by the thickness of the band on its rear edge: once the band is on, it is at the distance from the finished edge that the design has. It is the same rule by which the cut size is the finished size minus the band. If the rear edge is not banded, the groove is not shifted; in a file with the finished size it is not shifted either.
The shift depends on the band thickness only. A technology allowance for banding (for example a pre-cut added to the cut size) is not modelled — if you use one, set it in CAM or on the machine. The order of operations in your shop may differ, so measure the groove on one part after the first import.
Groove underneath and a groove to draw by hand
The cutter works from the top of the board, so a part whose groove is underneath is drawn flipped in the file, groove up: the outline, the groove, the grain arrow and the angle notes flip together. The flip applies to the drawing of one part, about the axis perpendicular to the rear edge — that edge stays on the same side. The layout as a whole is never mirrored. The LABEL caption says which face is up: “groove face up” or “face down”.
When the groove of a front is on the face opposite its decor, the file still draws the groove up, so the decor face lies underneath. The INFO legend lists such parts, and before the download Prosciej shows them as a groove from underneath — take a look at them before you put the board on the table.
A groove the export cannot place is not drawn by guesswork — before the download it is listed as a groove to draw by hand. That happens when it is not possible to tell which face of the part the groove is on, when it is not on the rear edge, when the back does not reach the part, when its depth equals the board thickness or more, or when, after the band shift, it would fall outside the part's outline.
Grooves and rebates are only in the CNC files. The cutting drawing does not contain them.
Why the CNC layout differs from the PDF layout
The layout in the editor, in the PDF and on the cutting drawing leaves a saw kerf between the parts. The CNC file nests the parts again: the gap between them is the cutter diameter plus the clearance you enter — the way Vectric defines it (the minimum distance between shapes is the tool diameter plus clearance). That is why the parts sit differently on the boards, and sometimes more boards are needed than in the PDF.
The board edge trim comes from the project settings (Settings → Cutting and edge banding → “Board edge trim”). It is the counterpart of Vectric's “border gap”: the margin along the board edge that the layout leaves empty.
The CNC layout never mirrors a part and never rotates a part whose grain is locked. Parts larger than the board, parts that fit at the saw kerf but not at the cutter gap, and worktops cut to size are left out of the layout — Prosciej lists them before the download, none disappears silently.
The size in the file follows the “Include edge banding in the cut size” setting, as in the PDF; the legend on the INFO layer says whether the file carries the cut size or the finished size.
Cutter and DXF version saved on your account
You enter the cutter diameter once, the first time you download the CNC file; a decimal comma works too, for example 6,35. Optionally you add a clearance. Both are rounded up to 0.1 mm (6.35 → 6.4), so the gap is never smaller than the cutter. They are saved on your account and apply to every project and every cut list, because the cutter belongs to the machine, not to the project.
By default the file is DXF version R2013. If your CAM program is older or does not open the file, switch to R2000 — LWPOLYLINE polylines already exist in that version, so the outlines are the same. Which version your CAM accepts is in its DXF import documentation.
Each part separately (ZIP)
The “Each part separately (ZIP)” option is for CAM programs that nest parts on boards by themselves. You get a ZIP archive with a separate DXF file for every kind of part: one part, the lower-left corner of its outline at the point (0, 0), the same layers as in the nest except SHEET, and the quantity and the board thickness in the INFO legend.
One file is shared by parts that have the same outline and groove once drawn groove up; the quantity is in the file name. Parts that only look alike — for example a left and a right side whose groove stops at different ends, a different rear edge or shaped parts — get separate files, so a mirror twin is never cut from the wrong file.
The file name starts with the item number (the one from the PDF and the LABEL caption), then the piece of furniture and the part name, and the quantity at the end: item-number_furniture_part_xquantity.dxf. When several rooms are exported the name starts with P<room number>_, parts added by hand carry R<n>, and characters outside ASCII are replaced. When names repeat, or twins are split, later files get a suffix _2, _3 — the same suffix is in the LABEL caption in the nest.
Parts too big for a board and worktops cut to size, which the nest does not place, get a file of their own in the ZIP. Before the download Prosciej shows them as notices, not blocks — whether your machine's table takes such a part is for you to judge. The ZIP holds only DXF files and uses the same cutter and the same DXF version as the nest.
DXF layers for CNC — frequently asked questions
- Do I need a CAM program for this file?
- Yes. The CNC file is the layout geometry with operation layers. Your CAM program assigns tools to the layers, and only that produces the program for your machine.
- Why does the CNC layout look different from the PDF?
- Because the gap between parts equals the cutter diameter plus the clearance, not the saw kerf. The CNC file nests the parts again with that gap, so their positions, and sometimes the number of boards, differ from the PDF layout.
- Which tool compensation should I set in CAM?
- Outside the contour. The outline on the CUT_THROUGH layer is the real edge of the part, so the cutter has to run on its outside.
- Where do I change the cutter diameter?
- In the CNC file settings next to the DXF button — in the editor and on the cut list page. The cutter is saved on your account, not in the project, which is why it is not in the project settings.
- Should I pick R2013 or R2000?
- Start with the default R2013. If your CAM program will not open the file or is older, switch to R2000 — the outlines stay the same.
- Are grooves and rebates in the cutting drawing DXF?
- No. Only the CNC (nesting) file and the “Each part separately” ZIP draw them. The cutting drawing stays a drawing for viewing, without machining.
- Why is the groove in the file nearer the edge than in the design?
- Because the file with the cut size has the part reduced by the edge banding, and the groove is routed before banding. The groove sits nearer the edge by the thickness of the band on the rear edge, so after banding it is at the distance from the design. In a file with the finished size the groove is not shifted.
- What does “groove to draw by hand” mean?
- Prosciej could not place that groove in the file, so it did not draw it and listed it before the download. The reasons are an unknown face of the groove, an edge other than the rear one, a back that does not reach the part, a depth equal to the board thickness or more, or a groove outside the outline after the band shift. Draw such a groove in CAM.
- When should I pick the ZIP instead of the nest?
- When your CAM program nests parts on boards by itself. You get one file per kind of part, at the point (0, 0), with the quantity in the name.
Try the CNC file on your own furniture
Design a cabinet in the editor demo — no install and no account. Saving projects and downloading DXF files come with the paid Standard plan; details on the pricing page.