chiark / gitweb /
df645f938a6bade710e11fd353e806ab55f99fa4
[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 + (25-13)/2]) cylinder(r=13 /2 , h=0.5);
10           translate([0,0, 1.5]) cylinder(r=25 / 2, h=0.5);
11         }
12       }
13     }
14 }
15
16 module Plate(){
17   difference(){
18     union(){
19       Gland();
20       translate([-20,-20,-1.5])
21         cube([40,40,3]);
22     }
23     translate([0,0,-50])
24       cylinder(r=12.5 / 2, h=100);
25   }
26 }
27
28 module Test(){
29   rotate([90,0,0])
30     translate([0, 20, 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();