chiark / gitweb /
mic-camera-adapter: wip
[reprap-play.git] / mic-camera-adapter.scad
1 // -*- C -*-
2
3 include <threads.scad>
4
5 inch = 25.4;
6
7 positive = inch/2;
8 negative = inch/2;
9 midsection = 5;
10
11 module Adapter(){
12   translate([0,0,-0.1])
13     english_thread(diameter = 3/8., threads_per_inch=16,
14                    leadin=1,
15                    length= (positive + 0.1) / inch);
16   rotate([180,0,0]) {
17     difference(){
18       cylinder(r=10, h=negative + midsection);
19       translate([0,0, midsection])
20         english_thread(diameter = 1/2., threads_per_inch=20,
21                        leadin=1, internal=true,
22                        length=midsection+0.1);
23     }
24   }
25 }
26
27 Adapter();