FlatCAM practical 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, open all geometry to transform in gcode, and set all tools to C1 so you can set depth to 0.07mm (or other depth if you prefer).
Another operation to get better readability of the project is to join the geometry with
Edit --> Conversion --> Join Geo/Gerber/Exc -> Geo
Now I’m going to Join like so:
Now we will 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 the grid of tools and click “Crtl-A” first.
So now you have generated five gcode files:
Drill gcode files
Now are missing only the gcode files to drill the PCB.
It would be best if you had bits like this.You can find here AliExpress
Click on the excellon file and choose a group of tips to use; I usually 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 three tools in the table (below 9.5mm) and generate the GCode file.
So you can create two gcode files: one 0.8mm bit one for the 1mm bit.
Now we have covered all the milling parts, as you can see on the screen.
Mill the PCB
I started a tutorial on bCNC, and I used all these files as a demonstration; I began with probe and auto level and then all the milling files.
After cleaning It with sandpaper, the result is here. In this case, I use a 0.07mm depth, but when 0.07 is not sufficient, I raise the deep and redò the work.
- FlatCAM practical tutorial: introduction, installation and import
- FlatCAM practical tutorial: copper traces geometry
- FlatCAM practical tutorial: clean non copper area
- FlatCAM practical tutorial: silkscreen geometry
- FlatCAM practical tutorial: contour
- FlatCAM practical tutorial: gcode and PCB milling
You can find Gerber, fritzing, images, and FlatCAM project files here.