FlatCAM pratical tutorial: gcode and PCB milling – Part 6
Finally we are going to create a gcode for our machine.
First we “normalize” all tools and depth, simply open all geometry to trasform in gcode and set all tools to C1 so you can set depth to 0.07mm (or other depth if you prefer).
Other operation to get a better readability of the project is to join th geometry with
Edit --> Conversion --> Join Geo/Gerber/Exc -> Geo
Now I’m going to Join like so:
Now we are going to open all geometry files in sequence and click on Generate CNCJob object, but pay attention!!! you must select all Tools of Joined geometry, to simplify click on grid of tools and click “Crtl-A” first.
So now you have generated five gcode file:
Drill gcode files
Now are missing only the gcode files to drill the PCB.
You need a bits like this
You find here
Click on the excellon file and choose a group of tips to use, normally I use 0.8 mm and 1 mm. I use the 1mm tip above 9.5mm, then set the depth (Cut Z) to -1.9mm I select the first 3 tools in the table (which are below 9.5mm) and generate the GCode file.
So you can create 2 gcode file: one 0.8mm bit one for the 1mm bit.
Now we have covered all milling part, as you can see in the screen.
Mill the PCB
I started a tutorial on bCNC and I use all these files as a demonstration, I start with probe and autolevel and then all the milling files.
After clean It with sandpapaer the result is here. In this case I use a 0.07mm depth, but when 0.07 is not sufficient I raise the depth and redò the work.
- FlatCAM pratical tutorial: introduction, installation and import
- FlatCAM pratical tutorial: copper traces geometry
- FlatCAM pratical tutorial: clean non copper area
- FlatCAM pratical tutorial: silkscreen geometry
- FlatCAM pratical tutorial: contour
- FlatCAM pratical tutorial: gcode and PCB milling
You can find Gerber, fritzing, images and FlatCAM project files here.