X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=mic-camera-adapter.scad;h=6c16d0fa28e2987fe1e2c6e472d03135c06a9983;hb=fc002f688d2d9801f33142c021d106c9b6d5248a;hp=c7d64718a127f5421a408c6347ac340646a3ce0e;hpb=9fb3e48409ab6bcca49eaafeede658359af78487;p=reprap-play.git diff --git a/mic-camera-adapter.scad b/mic-camera-adapter.scad index c7d6471..6c16d0f 100644 --- a/mic-camera-adapter.scad +++ b/mic-camera-adapter.scad @@ -4,24 +4,18 @@ // but adjust infill to 50% include - -inch = 25.4; +include positive_dia = inch * 3/8. - 0.375; positive_l = inch * 1/2.; -negative_dia = inch * 1/4. + 0.375; -negative_l = 10.0; +negative_l = negative_default_l; negative_wall = 4; midsection = 4; spanner = 12; -negative_tpi = 20; -negative_pitch = inch/negative_tpi; -negative_chamfer = negative_pitch/2; - base_dia = 35; base_th_min = 1; base_th_max = 4; @@ -51,21 +45,8 @@ module Adapter(){ } } } - translate([0,0, midsection]) - english_thread(diameter=negative_dia/inch, - threads_per_inch=negative_tpi, - leadin=0, internal=true, test=$test, - length= (negative_l + inch/19) / inch); - translate([0,0, midsection+negative_l]) { - hull(){ - translate([0,0, negative_chamfer]) - cylinder(r= negative_dia/2 + negative_chamfer*2, - h=1); - mirror([0,0,1]) - cylinder(r= negative_dia/2 - negative_chamfer*2, - h= negative_chamfer*3); - } - } + translate([0,0, midsection + negative_l]) + CameraMountThread(negative_l); } } }