From fd158c5405e5d1ddcf25827ca7bf362ca8e26ba6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 13 Apr 2020 19:10:07 +0100 Subject: [PATCH] mic-camera-adapter: base, from v3 Signed-off-by: Ian Jackson --- mic-camera-adapter.scad | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/mic-camera-adapter.scad b/mic-camera-adapter.scad index 6321861..8e26a85 100644 --- a/mic-camera-adapter.scad +++ b/mic-camera-adapter.scad @@ -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, -- 2.30.2