AK08-04 · 6 MIN · M08 CNC · LESSON 4 OF 7
From the design to the machine program
Chapters
In short
- 01The path runs from the design through the board drawing (DXF) and the CAM program to the post-processor and the machine.
- 02A DXF is a drawing of one board in millimetres: outline, cut-outs, holes and pockets, each on its own layer. The layer name carries the diameter and depth.
- 03The CAM program assigns a tool to each layer and sets the order: drilling, grooves, and the outline last. It also adds the spindle speed, feed rate and the layout on the sheet.
- 04The post-processor translates the toolpaths into a program for one particular machine. Each machine needs its own post-processor.
- 05G-code is a list of commands with coordinates: rapid move, cutting move, spindle, tool. The post-processor writes it.
- 06MPR (WoodWOP, Homag) and CIX (Biesse) are the program formats of those machines, opened by the software that comes with the machine.
Video transcriptthe narration as text
Between the design and the machine there are several steps: the drawing of the board, the CAM program, the post-processor and the program the machine understands. Each step can bring in a mistake, and each one can be checked. In this lesson you'll see that path, what DXF, CAM and a post-processor are, what G-code is, and when you need MPR and CIX.
From the design to the machine
The path has five steps. The design gives the boards with their sizes and holes. From it comes a drawing of each board, most often a DXF. The CAM program adds tools and toolpaths to the drawing. The post-processor translates that into a program for your exact machine. And the machine runs the program.
DXF and layers
A DXF is a drawing of one board in millimetres, and almost every CAM program can read it. It holds the outline of the board, the cut-outs, the holes and the pockets, each on its own layer. The layer name says what's on it, for example holes eight millimetres across and twelve deep, with the diameter and the depth in the name.
Holes in the edge are drawn right on the edge of the board, as a small circle where the hole is, on a separate layer with the side in its name. A DXF doesn't carry the height of the hole in the thickness, so the rule is that it's in the middle.
CAM and the post-processor
The CAM program loads the DXF and turns it into machining. You assign a tool and a method to each layer once: the layer of eight millimetre holes becomes drilling with an eight millimetre bit, and the outline becomes a cut with a router bit. Then the program sets the order. Usually drilling comes first, then the grooves, and the outline last, while the vacuum still holds the whole board.
CAM also adds what the drawing doesn't have: the spindle speed and feed rate, how the tool enters and leaves the cut, and on a nesting machine, the layout of the parts on the sheet.
Finally, the post-processor translates the toolpaths into the language of your exact machine. The same CAM program can work for different machines, but each machine needs its own post-processor. The wrong post-processor is dangerous: the machine can move at the wrong speed or to the wrong place.
G-code
Many machines understand G-code. It's a list of short commands, line by line: a rapid move to a point, a cutting move to another point, switch the spindle on, change the tool. Every command carries coordinates, and a cutting move carries a speed as well. You'll rarely write G-code by hand, the post-processor writes it, but it's good to be able to read it.
When the machine runs the program, the head first makes a rapid move above the point, then lowers and drills or cuts at the cutting feed. Between two operations it rises above the board, to a safe height, so it doesn't catch the board or the clamps.
MPR and CIX
Some machines have their own software for preparing the machining. They have their own formats: MPR is the format of WoodWOP programs for Homag machines, and CIX the format for Biesse machines. A file like this is opened by the software that comes with the machine, so no post-processor from a CAM program is needed. The drawback is that the file only works for that kind of machine.
In short
In short. The path runs from the design through the DXF drawing and the CAM program to the post-processor and the machine. A DXF is a drawing of one board in millimetres, with layers that carry the diameter and depth in their names. CAM assigns a tool to each layer and sets the order: drilling, grooves, then the outline. The post-processor translates the toolpaths for your exact machine. G-code is a list of commands with coordinates, and the post-processor writes it. And MPR and CIX are the program formats of machines that have their own preparation software.
In Easy Form Studio, every board gets its own DXF in millimetres, with the cabinet, the board and the cut size in the file name. The export also writes the index file, a list of all the boards with their material, thickness, face and number of holes.
Before the first series, load the DXF of one board into your CAM program and assign the machining to the layers. Those rules then work for every board, because the diameter and depth are in the layer name.
With the MPR and CIX tick boxes, the program writes those programs too, with the drillings, and the MPR with the pockets as well. They're a preview version: run the first program on a test board and compare it with the PDF drawing. The Production package puts all the CNC files in the DXF folder.
The tutorials Drillings, DXF, MPR and CIX, and The production package and the supplier order show the whole path step by step.
A three-question quiz and the summary are on the academy page, the link is below the video. In the next lesson: nesting on a CNC, or cutting on the panel saw.
Quiz
3 QUESTIONS · EXPLAINED ANSWERS