diff --git a/atben/cam/mkmk b/atben/cam/mkmk index b4f697a..6be467b 100755 --- a/atben/cam/mkmk +++ b/atben/cam/mkmk @@ -3,6 +3,8 @@ PATH=$PATH:/home/qi/cae-tools/cameo PATH=$PATH:/home/moko/svn.openmoko.org/developers/werner/cncmap/gp2rml NAME=atben +X0=8.6mm +Y0=7.1mm X=0 Y=0 @@ -10,9 +12,9 @@ cameo <mill.rml -gp2rml 2 0.1 0.5 drill.gp >drill.rml - - -cat <Makefile.mkmk -SPOOL=/home/moko/svn.openmoko.org/developers/werner/cncmap/spool/spool -CNGT=/home/qi/cae-tools/cngt/cngt - -.PHONY: mill drill cng plot dplot - -mill: - PORT=/dev/ttyUSB0 \$(SPOOL) mill.rml - -drill: - PORT=/dev/ttyUSB0 \$(SPOOL) drill.rml - -cng: - \$(CNGT) -57.4 20 mill.gp - -plot: - echo 'plot "drill.gp" with points, "mill.gp" with lines' | \\ - gnuplot -persist - -dplot: - echo 'plot "< sed /^\$\$/d drill.gp" with linespoints' | \\ - gnuplot -persist - -clean:: - rm -f mill.gp mill.rml drill.gp drill.rml -EOF