chiark / gitweb /
mic-camera-adapter: base, from v3
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 13 Apr 2020 18:10:07 +0000 (19:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 13 Apr 2020 18:10:07 +0000 (19:10 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
mic-camera-adapter.scad

index 63218611ca6dd998079c3e41f12b66aded00e08a..8e26a8558003bb418a5cf982af43fd61a2b2185a 100644 (file)
@@ -22,6 +22,10 @@ negative_tpi = 20;
 negative_pitch = inch/negative_tpi;
 negative_chamfer = negative_pitch/2;
 
+base_dia = 35;
+base_th_min = 1;
+base_th_max = 4;
+
 //$test = true;
 $test = false;
 $fs=0.1;
@@ -34,9 +38,19 @@ module Adapter(){
                   length= (positive_l + 0.1) / inch);
   rotate([180,0,0]) {
     difference(){
-      cylinder(r= spanner/2 * 1/(0.5 * sqrt(3)),
-              h = negative_l + midsection,
-              $fn=6);
+      union(){
+       cylinder(r= spanner/2 * 1/(0.5 * sqrt(3)),
+                h = negative_l + midsection,
+                $fn=6);
+       translate([0,0, midsection+negative_l]) {
+         mirror([0,0,1]) {
+           hull(){
+             cylinder(r= base_dia/2, h = base_th_min);
+             cylinder(r= 0.1,        h = base_th_max);
+           }
+         }
+       }
+      }
       translate([0,0, midsection])
        english_thread(diameter=negative_dia/inch,
                       threads_per_inch=negative_tpi,