# pcb2gcode will use "millproject" in current folder for parameters by default
#
# === Notes ===
# web based gcode viewer:
# https://ncviewer.com/


# notes about kicad export:
# - dont tick "use gerber X2 format (recommended)" to prevent many unsupported warnings
# - dont tick unnecessary plot xx options e.g. "plot footprint text" it might cause hangup
# - if oval holes are present select "Use alternative drill mode" option in generate drill files menu


# === CONFIG ===
# Configuration file generated by pcb2gcodeGUI version 0.1 on Wed Apr 6 15:40:16 2022
# stopped using gui and customized parameters manually since then...


#note: in/out filepaths are added by the run-pcb2gcode.sh script now, thus commented out here:
  #back=../export/V2.1_board-ecar_isolated-B_Cu.gbr
  #front=../export/V2.1_board-ecar_isolated-F_Cu.gbr
  #outline=../export/V2.1_board-ecar_isolated-Edge_Cuts.gbr
  ##note: running for each drill file separately and merging the gcode manually (4 mounting holes are in a separate gerber file)
  #drill=../export/V2.1_board-ecar_isolated-PTH.drl
  ##drill=../export/V2.1_board-ecar_isolated-NPTH.drl
  #output-dir=./out

# Common options
metric=true
metricoutput=true
nog64=false

#set optimized to default value, because when it was set to 0 (disable) it caused crash (runs till ram full) for some reason, since adding text to center of pcb ==> set to default
optimise=0.00000254 #default
backtrack=0 #if default/undefined caused unwanted moves in copper without retracting, especially at letters (seen in gcode viewer) - thus disabled this feature
tile-x=1
tile-y=1
tolerance=0.0500
zchange=30.0000
zchange-absolute=false
zero-start=true
zsafe=2.6000 #head mounting screw=1.8 #3mm to be able to cross mounting screws

# Mill options
extra-passes=0
mill-feed=400 #default 600mm/min
mill-speed=20000
offset=0.49 #intentional bigger offset than necessary, using 0.4 there were almost no small strips beeing left over between insolation lines.
voronoi=false
#zwork=-0.2000 #using 60degree cutter resulted in ~0.42mm line
#zwork=-0.300 #using 45degree cutter resulted in ~0.4mm line
#zwork=-0.400 #using 30degree cutter calculates to ~0.2mm line
zwork=-0.200

# Drill options
drill-feed=200
drill-side=front
drill-speed=20000
milldrill=false
#@#milldrill-diameter=3.0000
nog81=false
nog91-1=true
onedrill=false
zdrill=-1.950 #1.75 slightly too short
drills-available=0.8, 1, 1.5, 2, 3

# Outline options
bridges=1.0000
bridgesnum=2
cut-feed=200
cut-infeed=0.5000
cut-side=front
cut-speed=20000
cut-vertfeed=60
cutter-diameter=1.0000
fill-outline=true
zbridges=-0.9000
zcut=-1.9000 #actual: 1.7

# Autoleveller options
al-back=false
al-front=false
al-probecode=G31
al-probefeed=100
al-probevar=2002
al-setzzero=G92 Z0
al-x=15.0000
al-y=15.0000
software=custom

