chiark / gitweb /
Revert "belt-*: allow top to be different size"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 2 May 2014 21:22:26 +0000 (22:22 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 2 May 2014 21:22:26 +0000 (22:22 +0100)
This is a bad idea as it dramatically reduces printbed surface area
and will probably promote warping.

This reverts commit 033c9e7e97774ded3eb934e2c0167ec65dd8a15f.

belt-cut-jig-common.scad
belt-hole-cut-jig.scad
belt-slot-cut-jig.scad

index 58c66df..5464678 100644 (file)
@@ -29,17 +29,13 @@ module RegistrationGroove(l){
 }
 
 module OneJig(){
-  main_z = jig_main_zsz + strap_thick;
   difference(){
     translate([-(jig_interval/2 + jig_overlap),
-              0,
+              jig_min_y,
               -strap_thick])
-      rotate([0,90,0]) rotate([0,0,90])
-      linear_extrude(height=jig_interval + 2)
-      polygon([[jig_min_y,     0],
-              [jig_top_min_y, main_z],
-              [jig_top_max_y, main_z],
-              [jig_max_y,     0]]);
+      cube([jig_interval + 2,
+           jig_max_y - jig_min_y,
+           jig_main_zsz + strap_thick]);
     OneJigCutout();
     translate([-100, -strap_width/2, -10])
       cube([200, strap_width, 10]);
index 1249c76..7d80e44 100644 (file)
@@ -9,22 +9,15 @@ edgewall_width = 3;
 
 jig_ywidth = 17;
 
+jig_min_y = -jig_ywidth;
+jig_max_y = +jig_ywidth;
+
 
 jig_main_zsz = 20;
 punch_dia = 12.75;
 
 punch_slop = 0.5;
 
-
-jig_top_ywidth = punch_dia/2 + edgewall_width;
-
-jig_min_y = -jig_ywidth;
-jig_max_y = +jig_ywidth;
-
-jig_top_min_y = -jig_top_ywidth;
-jig_top_max_y = +jig_top_ywidth;
-
-
 // common stuff
 
 include <belt-cut-jig-common.scad>
index 645a166..543a53f 100644 (file)
@@ -82,9 +82,6 @@ holder_all_min_y = holder_attach_max_y - attach_ysz;
 jig_max_y = max(holder_max_y + main_slop, strap_width/2) + edgewall_width;
 jig_min_y = min(holder_all_min_y - main_slop, -strap_width/2) - edgewall_width;
 
-jig_top_max_y = jig_max_y;
-jig_top_min_y = jig_min_y;
-
 jig_main_zsz = holder_block_zsz + punch_travel;
 
 // common stuff