From b1d1fcc4baaad24a2d5abe284067c7df06583768 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 22 Oct 2010 04:12:36 -0300 Subject: [PATCH] c2usb/cam/pcb.pl: fix bogus tool parameters Fixing it lest if gets copied and lives on elsewhere. Note that it may still be necessary to add a small negative correction (in the order of -0.1 mm) to compensate for deflection of the workpiece. - c2usb/cam/pcb.pl ($d): there are 25.4 mm in an inch, not 2.54 - c2usb/cam/pcb.pl ($d): the endmill used has a diameter of 35 mil, not 8 mil - c2usb/cam/pcb.p ($r): don't apply correction for imagined mechanical issues (now what we're working with correct values) --- c2usb/cam/pcb.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c2usb/cam/pcb.pl b/c2usb/cam/pcb.pl index 291a3bf..31a75b3 100755 --- a/c2usb/cam/pcb.pl +++ b/c2usb/cam/pcb.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl -$d = 2.54/1000*12; -$r = $d/2+0.25; +$d = 25.4/1000*35; +$r = $d/2; sub orig