chiark / gitweb /
scaffold-clamp: prep for print
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 5 Nov 2020 21:49:08 +0000 (21:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 5 Nov 2020 21:49:08 +0000 (21:49 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
scaffold-clamp-common.scad
scaffold-clamp-straphook.scad
scaffold-clamp-tensioner.scad

index 3fee76b0e47af0d25c8b4fefc65865a01f434598..edea7e5206e890568396fcdd56d89a3d543f4ed4 100644 (file)
@@ -10,7 +10,7 @@ pin_gap = 1.5; // around
 
 smooth_r = 15;
 
-bolt_dia = 5 + 0.75;
+bolt_dia = 5;
 bolt_flat = 10 + 1;
 
 nbolts = 2;
@@ -22,6 +22,8 @@ hinge_z_gap = 1;
 
 hinge_units = 4;
 
+bolt_gap = 1.0; // total, on both sides
+
 // ---------- vhook ----------
 
 vhook_th = 14;
@@ -43,6 +45,8 @@ pin_tail = pin_hole_dia + pin_head_th + hinge_z_gap*3;
 
 hole_dia = th + pin_gap;
 
+bolt_hole_r = (bolt_dia + bolt_gap)/2;
+
 main_r = tube_dia/2 + th;
 
 hinge_gap = pin_gap;
@@ -51,7 +55,7 @@ hinge_o_r = 0.5 * hole_dia + th;
 
 hinge_x = -0.5 * tube_dia - hinge_o_r;
 bolt_x = 0.5 * tube_dia + th + bolt_flat * 0.5;
-max_x = bolt_x + max(0.5 + bolt_dia + th, 0.5 * bolt_flat/2);
+max_x = bolt_x + max(bolt_hole_r + th, 0.5 * bolt_flat/2);
 
 flats_y = open_gap/2 + th;
 
@@ -163,7 +167,7 @@ module HalfClampX(flatten=false){
       translate([ bolt_x, 0, min_z + (j + 0.5) * bolt_stride ]) {
        translate([0, -tube_dia/2, 0])
          rotate([-90,0,0])
-         cylinder(r= bolt_dia/2, h= tube_dia);
+         cylinder(r= bolt_hole_r, h= tube_dia);
        translate([0, -flats_y, 0])
          rotate([90,0,0])
          cylinder(r= bolt_flat/2, h= tube_dia/2);
@@ -316,9 +320,11 @@ module PlanDemo(){ ////toplevel
 //  translate([max_x - hinge_x + 20, 0]) color("blue") MainPlanA();
 }
 
+module DemoA(){ DummyA(); }
+
 module Demo(){ ////toplevel
   color("red") rotate([180,0,0]) GeneralB();
-  color("blue") DummyA();
+  color("blue") DemoA();
   color("orange") translate([hinge_x, 0, min_z - hinge_z_gap])
     rotate([0,0,180]) PinSitu();
 }
index 925be0afa104ac259601b5b254bcaeffa120f844..8e43268552d93a93bd1aab27f04f8a04e2abb0ca 100644 (file)
@@ -12,4 +12,7 @@ th = 3;
 hhook_th = 3;
 hinge_units = 2;
 nbolts = 1;
-hinge_unit = 7;
+hinge_unit = 5;
+bolt_dia = 4;
+
+module DemoA(){ HHookPartA(); }
index 67d06e3eff9e73c228b9682bcea3d58ad1bc13f0..adfd44c13afe7eb476fcea032800e170e1b43f27 100644 (file)
@@ -7,3 +7,5 @@
 
 //// toplevels-from:
 include <scaffold-clamp-common.scad>
+
+module DemoA(){ VHookPartA(); }