Easy pcb isolation milling with Kicad and Inkscape gcodetools extension.
Over the years I have used several different programs to mill printed circuit boards with a cnc and there are some excellent options like Flatcam that work great and are well worth learning, here is another option that also works really well, 100% opensource, and is pretty easy for beginners.
I have detailed how to make a pcb with Kicad in other posts and I am assuming you already have a board designed.

Once you have your board ready in Kicad export it as an svg by going to File>Plot:

A dialog will pop up and you can set the options for the layers you want to plot, here is a screenshot of the settings I use for this post : (click on the picture for a larger version)

Once you have the file saved you can open it with Inkscape. I have also made a post on using layers in Inkscape for gcode tools:

It's pretty easy just open the gcodetools extension, set up the tools for the two layers, then set the orientation points and export the gcode with path to gcode.
Here I have two tools set up on layer 1 and layer 2 and the svg file that I exported from Kicad:

You have to "ungroup" the objects in the svg file, goto Object>Ungroup. You will probably have to do this several times before everything is no longer in a group, there is a notification at the bottom that shows the status:

Here you can see that everything is now just a path or object not in a group, I had to click ungroup about 5 times, I'm sure there is an easier way to do this if I googled it:

Now that everything is ungrouped you can get rid of the copper pour if there is one, just select it and press delete:

Next select one of the dots for the drill holes, right click on it goto to select same and select the objects with the same fill and stroke:


Now all of the drill holes should be selected, I changed the color so they are easier to see:

With the drill holes still selected goto Path>Union:

Now all of the drill holes are combined and can be moved to layer 1:

Move the drill marks to the side so you can select the traces, you will probably need to click right on the center of one of the dots to avoid moving the traces, if you do move one just hit undo:


Now select all of the traces and pads and goto Path>Object to path, then Stroke to path and then Union:

Now the traces should be one object and can be moved to layer 2:

Next move the drill holes back to where they are on top of the traces and are lined up with the center of the pads, then select everything and move it to the lower left hand corner of the page.
Next select the traces and open up the gcode tools extension and set the orientation points:

Set the z depth to the desired depth of your cutter and the units to whatever you are using, I used mm and -.55 for my cutter depth which is just enough to get through the copper layer:

Once the orientation points are generated select the text and make sure the x and y are at zero and they are are on the correct layer for the traces:

With just the traces selected goto Extensions>Gcodetools>Path to gcode:

On the preferences tab set the file output directory, z height safe distance and units:

Then on the path to gcode tab set the cutting order, depth function should be "d" for orientation points and click apply:

It will probably generate a warning, just click ok:

Now there should be a gcode file saved to the location you told it to save to, you can open the file with a gcode viewer and see how it looks, there are a couple of good options for simulating gcode like:

or Camotics:


Next do the same for the drill holes:
Click undo and delete the orientation point text for the traces and generate new points for the drill holes:

Select just the drill holes:

generate new orientation points for them:


Set the z depth for the through holes:


And then again path to gcode:



Now both files can be opened with camotics, to show both go to simulate then run:

And you can see both traces and drill holes are set up and ready to mill, you can also take a look at the gcode files and check the drill depth and add a header or footer to move the cnc to the desired position when it's done.
It may seem like this is a long process but once you have it down it only takes about 5 minutes to generate a gcode file from an svg and the results are really good:


