1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-18 21:09:43 +02:00
wernermisc/vialtray/doit
Werner Almesberger 649e00b28e vialtray: ready for first test run (on-going)
- doit (GEN): corrected name of toolpath generator
- doit (rdata): fixed typo ("rdate" vs. "rdata")
- doit (Z): set Z depth here, to avoid manual depth adjustment
- doit: don't use cameo - we compensate for the tool size in tray.pl
- doit: increased feed rate from 2 mm/s to 4 mm/s
- doit: clearance is above top layer, so 5 mm are more than enough
- tray.pl (zf): increase floor depth from very conservative 15 mm to
  17 mm
- tray.pl (zs): increase depth step from 2 mm to 2.5 mm to accelerate
  milling
- tray.pl (mw): increase wall thickness from 2 mm to 2.5 mm in order to
  enlarge gap between sides (was smaller than tool diameter)
- tray.pl (r1): stop 2 steps before the edge, since we have the outline
  as another radius-like step
- tray.pl (do_col): account for tool radius
- tray.pl (do_circles): lift the tool after each disc, not only after
  each column
- tray.pl (do_cols, do_circles): temporarily skip 1st column
- tray.pl (main): do circles before the outline, to reduce chatter when
  cutting the outline
- tray.pl (main): since we're no longer using "cameo" here, don't print
  directives for it
2010-11-27 22:41:45 -03:00

25 lines
554 B
Bash
Executable File

#!/bin/sh
DIR=/home/moko/svn.openmoko.org/developers/werner/cncmap
RECT=$DIR/rect/rect
ALIGN=$DIR/align/align
ZMAP=$DIR/zmap/zmap
GP2RML=$DIR/gp2rml/gp2rml
CAMEO=../../../cae-tools/cameo/cameo
GEN=${1:-./tray.pl}
rdata="0 0 0 150 0 0 0 100 0"
Z=-27.6
rect=`$RECT $rdata | awk '{$3 = ""; print}'`
# cameo: we inline the tool diameter with the data
$GEN |
awk '{ if ($3 != "") $3 += '$Z'; print $0; }' |
$ALIGN 0 1 $rect |
# angle, reference (lower left corner), rect
tee check |
$GP2RML 5 4 4
# clearance, xy speed, z speed