chiark / gitweb /
belt-slot-cut-jig: calculate putative number of iterations using floor
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 18 Jun 2013 14:05:41 +0000 (15:05 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 18 Jun 2013 14:05:41 +0000 (15:05 +0100)
belt-slot-cut-jig.scad

index cd935bd..e4ff09e 100644 (file)
@@ -97,7 +97,7 @@ jig_main_zsz = holder_block_zsz + punch_travel;
 
 jig_ends_extra = 2;
 
-//jig_iters = (jig_max_len - jig_ends_extra) / jig_interval;
+//jig_iters = floor((jig_max_len - jig_ends_extra) / jig_interval);
 jig_iters=2;
 echo(jig_iters);