diff --git a/cameo/templates/mkmk-simple b/cameo/templates/mkmk-simple index 2d73b13..682bc86 100755 --- a/cameo/templates/mkmk-simple +++ b/cameo/templates/mkmk-simple @@ -16,6 +16,7 @@ PATH=$PATH:/home/qi/cae-tools/gp2rml # BOARD_Z board tickness, default: 0.8 mm # ANY set to "any" to use all remaining paths for milling, # irrespective of tool size. Default: unset / empty string. +# CLEARANCE tool clearance above PCB surface, default: 2mm # while [ "$1" ]; do @@ -34,6 +35,7 @@ fi : ${MILL_IN:=35mil} : ${MILL_OUT:=35mil} : ${BOARD_Z:=0.8mm} +: ${CLEARANCE:=2mm} rot= if [ "$ROT" ]; then @@ -83,8 +85,8 @@ EOF yi=`expr $yi + 1` done -gp2rml 2 0.5 0.5 mill.gp >mill.rml -gp2rml 2 0.1 0.5 drill.gp >drill.rml +gp2rml $CLEARANCE 0.5 0.5 mill.gp >mill.rml +gp2rml $CLEARANCE 0.1 0.5 drill.gp >drill.rml cat <Makefile.mkmk