chiark / gitweb /
fairphone-case: wip lanyard, wip cutout
[reprap-play.git] / deore-crank-remover.scad
1 // -*- C -*-
2
3 outdia=15.1;
4 india=13.0;
5 depth=10;
6
7 eoutrad = outdia/2 + 1.0;
8 einrad = india/2 - 1.0;
9 edepth = depth + 3;
10
11 handledepth = 5;
12 handlewidth = 20;
13 handlelength = 70;
14
15 module FlatSplines(){
16   for (rot=[0:7]) {
17     rotate([0,0, rot*360/8])
18       for (m=[0,1]) {
19         mirror([m,0,0])
20           polygon([[-0.1, 0],
21                    [-0.01, eoutrad],
22                    [einrad * sin(22.5), einrad * cos(22.5)],
23                    [einrad * sin(22.5), einrad * cos(22.5) - 3],
24                    [1, 0]]);
25       }
26   }
27 }
28
29 translate([0,0,-1])
30   linear_extrude(height=edepth+1)
31   FlatSplines();
32
33 translate([0,0,-handledepth/2])
34   cube([handlelength,handlewidth,handledepth], center=true);