chiark / gitweb /
59a78f8de39367384444ffc2c6e113c79c467f8b
[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, 8]) 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,0])
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   difference(){
33     translate([-20,-20,0])
34       cube([40,20,1.2]);
35     Commitid_BestCount([40,20]);
36   }
37 }
38
39 Test();