chiark / gitweb /
anglepoise-neck: headpart nut hole
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Jun 2013 20:37:49 +0000 (21:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Jun 2013 20:37:49 +0000 (21:37 +0100)
anglepoise-neck.scad

index 7559684..afe75a1 100644 (file)
@@ -9,6 +9,8 @@ armpart_hex_rad = 15;
 armpart_hex_thick = 8;
 
 hingepin_dia = 3;
+hingenut_width = 6;
+hingenut_depth = 4;
 
 headpart_main_dia = 15 - 0.3;
 headpart_main_len = 14;
@@ -23,6 +25,9 @@ armpart_x_unit = armpart_hex_rad * tan(30);
 headpart_flatten_z = headpart_main_dia/2 * cos(headpart_flatten_angle);
 headpart_stub_support_x = headpart_stub_width * cos(59) / 2;
 headpart_stub_len = headpart_stub_protrude + headpart_main_dia/2;
+hingenut_depth_y =
+  sqrt(headpart_main_dia*headpart_main_dia/4 - hingenut_width*hingenut_width/4)
+  - hingenut_depth;
 
 module ArmPart(){ ////toplevel
   translate([-arm_innerwidth/2, 1, 0])
@@ -62,6 +67,12 @@ module HeadPart(){ ////toplevel
     }
     translate([-100,-100,-100])
       cube([200,200, 100 - headpart_flatten_z]);
+    rotate([90,0,0])
+      translate([0,0, -100])
+      cylinder(r=hingepin_dia/2, h = 200, $fn=20);
+    translate([0,hingenut_depth_y,0])
+      rotate([90,0,180])
+      cylinder(r=hingenut_width/2/cos(30), h=20, $fn=6);
   }
 }