1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-24 09:08:06 +02:00

vialtray: more parameter adjustments

- tray.pl (zf): lower floor by another mm, leaving 3-4 mm of material
- tray.pl (vd): increase vial diameter by 0.1 mm to allow for vial
  tolerance and material expansion. Also, working from the inside to the
  outside (instead of plunging into uncut material first) decreased the
  hole radius slightly.
- tray.pl (do_cols, do_circles): removed exclusion of the first column

  radius after vial
  tolerance,
This commit is contained in:
Werner Almesberger 2010-11-28 01:18:24 -03:00
parent 649e00b28e
commit 1d24b2e52a

View File

@ -111,7 +111,7 @@ sub circ
$z0 = -0.5;
# floor depth
$zf = -17;
$zf = -18;
# maximum depth step
$zs = 2.5;
@ -123,7 +123,7 @@ $xs = 24;
$ys = 20;
# vial diameter
$vd = 18.6;
$vd = 18.7;
# minimum wall thickness
$mw = 2.5;
@ -218,9 +218,7 @@ sub do_cols
$x = $x0;
for ($c = 0; $c != $nc; $c++) {
if ($c) {
&do_col($x);
}
$x += $xs;
print "\n";
}
@ -237,9 +235,7 @@ sub do_circles
$y = $y0;
for ($rw = 0; $rw != $nr; $rw++) {
for ($rr = $r0; $rr <= $r1; $rr += $rs) {
if ($c) {
&circ($x, $y, $rr, 180);
}
}
print "\n";
$y += $ys;