Created
December 16, 2015 14:36
-
-
Save matthijskooijman/7030a7f344aa362e82e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( pcb2gcode 1.2.2 ) | |
( Software-independent Gcode ) | |
G94 ( Millimeters per minute feed rate. ) | |
G21 ( Units == Millimeters. ) | |
G90 ( Absolute coordinates. ) | |
S0 ( RPM spindle speed. ) | |
G64 P0.05080 ( set maximum deviation from commanded toolpath ) | |
F500.00000 ( Feedrate. ) | |
F500.00000 ( Feedrate. ) | |
M3 ( Spindle on clockwise. ) | |
G04 P0 ( dwell for no time -- G64 should not smooth over this point ) | |
G00 Z2.00000 ( retract ) | |
G00 X16.40840 Y-6.22300 ( rapid move to begin. ) | |
F250.00000 | |
G01 Z-0.08000 | |
G04 P0 ( dwell for no time -- G64 should not smooth over this point ) | |
F500.00000 | |
X16.40840 Y-6.22300 | |
X20.65020 Y-10.43940 | |
X20.67560 Y-11.07440 | |
X20.59940 Y-11.15060 | |
X19.96440 Y-11.12520 | |
X15.57020 Y-6.70560 | |
X4.77520 Y-6.70560 | |
X4.69900 Y-6.62940 | |
X4.69900 Y-6.04520 | |
X4.77520 Y-5.96900 | |
X16.15440 Y-5.96900 | |
X16.40840 Y-6.22300 | |
G04 P0 ( dwell for no time -- G64 should not smooth over this point ) | |
G00 Z20.000 ( retract ) | |
M5 ( Spindle off. ) | |
M9 ( Coolant off. ) | |
M2 ( Program end. ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on http://reprap.org/wiki/PCB_Milling#Quickstart_2 | |
# this is an example config file for pcb2gcode. | |
# place this in the same directory as your gerber files to save typing | |
# You may want to uncomment and change those in local project files | |
#front=JTAG-B_Cu.gbl | |
#back=Gen7Board.back.gbr | |
#drill=Gen7Board.plated-drill.cnc | |
#outline=contour.back.gbr | |
# Specify all parameters in mm, gcode output is unchanged | |
metric=1 | |
metricoutput=1 # Output g-code in mm | |
# parameters for isolation routing / engraving / etching | |
zwork=-0.08 # milling depth in mm | |
zsafe=2 # safety height for rapid moves | |
zchange=20 # tool changing height | |
mill-feed=500 # mm/min, horizontal speed while milling | |
mill-speed=0 # Spindle rpm, unused | |
# Half tool width | |
offset=0.25 # Distance to trace: radius of drilling bit | |
# generate voronoi regions | |
#offset=100 | |
# Outline Gerber files have an outline around the board instead of an area | |
fill-outline=1 | |
outline-width=1 # Not sure what this does exactly | |
# parameters for cutting out boards | |
cutter-diameter=1 | |
zcut=-1.7 # board is around 1.5mm | |
cut-feed=200 # mm/min, horizontal speed while cutting | |
cut-speed=0 # Spindle rpm, unused | |
# Maximum depth to cut in a single pass (if this is less than zcut, | |
# multiple passes will be done). | |
cut-infeed=2 | |
# drilling parameters | |
zdrill=-2 # Drill depth | |
drill-feed=500 # mm/min, vertical speed while drilling | |
drill-speed=0 # Spindle rpm, unused | |
drill-front=0 # Drill through the back of the board | |
# Do not use g81, Grbl does not support it | |
nog81=1 | |
# For png output? | |
dpi=1000 | |
# Bridges are gaps in the outline to prevent the PCB from becoming completely | |
# loose while cutting the board. | |
bridges=3 # Width of each bridge | |
bridgesnum=2 # Number of bridges (increase for bigger boards) | |
zbridges=-1.0 # Still cut off 1mm (leaving about 0.5mm) off the bridges, making them easier to break out | |
optimise=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G04 #@! TF.FileFunction,Copper,L1,Top,Signal* | |
%FSLAX46Y46*% | |
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* | |
G04 Created by KiCad (PCBNEW 4.0.1-2.201512121406+6195~38~ubuntu15.04.1-stable) date Wed 16 Dec 2015 03:26:07 PM CET* | |
%MOMM*% | |
G01* | |
G04 APERTURE LIST* | |
%ADD10C,0.150000*% | |
%ADD11C,0.250000*% | |
G04 APERTURE END LIST* | |
D10* | |
D11* | |
X15875000Y-6350000D02* | |
X20320000Y-10795000D01* | |
X5080000Y-6350000D02* | |
X15875000Y-6350000D01* | |
M02* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment