Skip to content

Convert gerber file (from Kicad) to a GCode file so as to be ploted by a 3D Printer

Notifications You must be signed in to change notification settings

xynium/Gerber2GCode

Repository files navigation



/ | ___ _ __ | | ___ _ __ |__ \ / | / | ___ | | ___ | | _ / _ \ | '| | ' \ / _ \ | '| __) | | | _ | | / _ \ / ` | / _
| |
| | | __/ | | | |
) | | __/ | | / __/ | |
| | | |
__ | () | | (| | | / _| _| || |./ _| |_| || _| _| _/ _,| ___|


For converting Gerber files to GCode. Tested with Gerber file from Kicad

Gerber2Gcode test will execute the conversion on test.gbr and test.drl if exists and write test.gcode

file should be metric

test.gcode is ready to plot the pcb on a 3D printer with a pen adapter.

Assumed the pen write a 0.3mm line and a recovering of 0.14mm between 2 lines. Pen Up position is 4mm down 0mmm If one wants other preset, see PNGerber.hpp and change #define accordingly.

TODO: When plotting zone sometimes display "odd number of line ..." in such a case modify the recovering distance a little.

Jean Pierre

About

Convert gerber file (from Kicad) to a GCode file so as to be ploted by a 3D Printer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published