
With this guide, discover how to use your DXF or STEP files and convert them. We deal with most frequent issues faced when learning CNC milling.
Roldan D.
Sales & Marketing
Now that your machine is installed and that you've tested it by cutting out the clamps or other files available on our site, it's time to create your own cutting file. There are several possibilities, and in this article, we're going to keep things as simple as possible, so that even if you're new to CNC milling, you'll be able to get started in no time!
We'll look at how to import a *.dxf file into Planet CNC, for Mekanika CNC machines in particular.
Do you have a very precise idea of what you want to cut? To start with, don't go for any embellishments, choose a simple shape with no relief. As an example, we're going to cut out a seahorse throughout this tutorial.
First, you'll need to vectorize the shape. The vectors will give the machine the coordinates it needs to find its way.
One solution for vectorization is to use 2D drawing software such as Illustrator, Inkscape or Corel Draw. If you're new to vector drawing, you can draw on paper, scan it and then import it into the drawing software to redraw the contours.
Whatever path you decide to follow, you can then save your file in *.dxf format.
You can download the file we'll use for this article.
Note: not yet comfortable with vectorization? You can buy ready-made *.dxf files on platforms like Etsy, for example.
The quality of your vector file will highly influence the quality of your cut. A proper layout will result in a clean machine path.
As you may have understood by now, Planet CNC is the control software we have chosen to drive our machines. From a *dxf file, it can generate a Gcode that your machine can read to machine your cut-outs. We invite you to read these two previous articles to learn the basics of software control and the language specific to CNC milling.
To import you *.dxf file, select File > Import DXF.
This opens a window with various settings options. We'll show you how to go through them to quickly cut your first outline.
First, choose the "Units" in which you wish to work (in this case mm).
Be sure to check the scale specified each time you import the DXF, especially if you are used to changing this data, as your parameters are saved from one import to the next.
To position the DXF in the machine workspace, we have 5 "Origin" choices. Tick the box at the bottom left the work with the standard approach we're explaining in all our tutorials.
The Gcode should only be read once, so enter the number 1 in the "Loops" field.
To generate the toolpath, click on "Path". This will centre the end mill on the path.
You can use the offset field to compensate the diameter of the tool you have chosen:
The offset can be positive or negative. If you simply want to cut the seahorse, specify a positive offset to have the endmill run outside the shape. In this case, always note an offset of half the diameter of your cutter, 1mm for a 2mm tool for example. This will give the shape exactly the measurements you want.
If instead you want to make a pocket and hollow-out the shape of the seahorse, enter a negative offset (i.e. -1mm for a 2 mm cutter).
This will ensure the tool runs inside the shape and allows it to remove the right amount of material at the right place so that the shape retains its initial appearance.
If you set the offset to 0, the tool will run right on the line, which can modify a bit the drawing depending on the tool's diameter.
Once the cutting path and tool have been defined, let's move on to the z parameters. To do this, you'll need to fill in all the information in the 'Height' section. Before you do that, check 2D Mode, which gives you access to all the height parameters.
Planet CNC will calculate how many passes are needed to achieve the required depth of cut.
It is perfectly possible to "think" in the other direction, i.e. indicate 0 for the starting height, -1 for the cutting depth and -3 for the maximum cutting depth. The cut will be the same, only the Gcode will be different with negative values in Z. Pay attention in where you do your Z-probing when choosing a cutting direction. In the case of negative Z values, it should be on top of your stock.
It is possible to set tabs to prevent your part from falling off and being projected in your workshop once it has been cut.
In the 'Tabs' area, you can define the distance between two tabs and their size, but unfortunately you can't choose their location. Here, we've chosen a distance of 50 mm and a size of 2 mm, and the tabs will then be positioned automatically.
As final parameters in the cutting settings, we'd like to give you a few pointers on working speeds.
You'll find an article on our blog to find out more about cutting and feed speeds in CNC milling.
In the "Outputs" section, tick the "Spindle" box and enter 20,000 in the speed field. This will give your spindle a speed of 20,000 rpm.
Last but not least, the last few lines of the DXF import window are reserved for controlling the spindle on/off, as well as a possible water flow for cutting materials other than wood. You have several options:
As far as the spindle is concerned, we advise you not to set any parameters here. If you leave all the boxes unchecked, the tool will be switched on and off automatically at the appropriate times.
Now that everything is set up, click OK and your file is ready to be machined. The screen will show the tool path and the different cutting passes. Now all you have to do is clamp your piece, do the safety and positioning procedure and start machining!
Happy milling !
Here's a recap of the pros and cons of working directly with vector files on your CNC machines.
The advantages are:
The disadvantages are:
Mekanika is a Belgian company based in Brussels whose ambition is to make local production more accessible thanks to a 100% open-source approach.
We design and produce high quality machines for CNC milling and screen printing, which have been recognized for their reliability and ease of use. Our tools are delivered as kits and fully documented, allowing to easily adapt them to specific needs.
Visit our shop to find out more, or check out our online resources and tutorials to continue learning.
With this guide, discover how to use your DXF or STEP files and convert them. We deal with most frequent issues faced when learning CNC milling.
Roldan D.
Sales & Marketing
Learn how to create your project and generate G-Code from VCarve Pro or Aspire to easily machine your parts on a CNC milling machine.
Xavier K.
CNC Training
Hot engraving, cold engraving, tools and tutorials: everything you need to know about wood engraving with your CNC machine.
Quentin L.
Content Creation