Table of Contents

PCB with CNC

CNC for PCB:

fritzing

Make electronic schema with fritzing

Make pcb routing:

export gerber files

flatcam

setup flatcam

new project

open files

bottom copper

top copper

drill

contour

gcode to initialize and change tool

(metric millimeters)
G21

(absolute positioning)
G90

(piano XY)
G17

(feed per minute)
G94

(feed 50)
G01 F50.00

(stop spindle)
M5

(change tool at z25)
G00 Z25.0000
G00 X0.0000 Y0.0000
T1
M6
(MSG, Change to Tool Dia = 0.9000 ||| Total drills for tool T1 = 40)
M0
G00 Z25.0000

(feed 30)
G01 F50.00

(speed 5Volt)
M03 S5

deprecated

convert gerber to svg

Upload <name>_copperBottom.gbl to https://tracespace.io, select layers, download zip and extract <name>_copperBottom.gbl

Now with inkscape we need to process the complex SVG with multiples path, objects, layers, group, etc. to convert it into a single path simple SVG. You need to open your SVG into Inkscape (Open-Source, cross-platform), and perform the following series of commands:

svg to gcode

Open jscut:

edit gcode to set splindle speed to 8000 rpm and turn on it clockwise (after G90)

; after first G1
M3 S5000

carbide3d

set splindle speed to 8000 rpm and turn on it clockwise (after G90)

G00 Z1.000
M3 S10000

substitute G01 F400 with G01 F40

substiture G00 Z3.000 with G00 Z1.000

deprecated