chiark / gitweb /
bike-lipo-box-gland: wip
[reprap-play.git] / bike-lipo-box-gland.scad
1 // -*- C -*-
2
3 include <commitid.scad>
4
5 module Gland(){
6     hull(){
7       for (m=[0,1]) {
8         mirror([0,0, m]) {
9           translate([0,0, 1.5 + (20-13)]) cylinder(r=13, h=0.5);
10           translate([0,0, 1.5]) cylinder(r=20, h=0.5);
11         }
12       }
13     }
14 }
15
16 module Plate(){
17   difference(){
18     union(){
19       Gland();
20       translate([-30,-30,-1.5])
21         cube([60,60,3]);
22     }
23     translate([0,0,-50])
24       cylinder(r=12.5, h=100);
25   }
26 }
27
28 module Test(){
29   rotate([90,0,0])
30     translate([0, 30, 0])
31     Plate();
32   translate([-20,-20,0]){
33     difference(){
34       cube([40,20,1.2]);
35       Commitid_BestCount_M([40,20]);
36     }
37   }
38 }
39
40 Test();