chiark / gitweb /
bike-lipo-box: rotate again so glands are at front for viewing while printing
[reprap-play.git] / filamentclip.scad
1 include <cliphook.scad>
2 include <filamentteeth.scad>
3
4 rad=19;
5 h=3.5;
6 w=2.5;
7
8 looprad=2.5;
9 loopw=w;
10
11 fdia=1.77;
12 //fdia=3;
13
14 d=0.01;
15
16 module our_ClipHook(ye){
17   ClipHook(h=h, w=w, g=0.6, k=1.5, g=0.6, ye=ye, cupcaph=0.5, cupcapg=0.8);
18 }
19
20 module FilamentClip() {
21   rotate([0,0,-70]) {
22     translate([0,rad-1.5,0]) {
23       rotate([0,0,8])
24         our_ClipHook(ye=-1.3);
25     }
26   }
27
28   rotate([0,0,-35]) {
29     translate([0,rad,0]) {
30       rotate([0,0,180])
31         our_ClipHook(ye=0.8);
32     }
33   }
34
35   linear_extrude(height=h) {
36     assign($fn=80) {
37       FlatArc(0,0, rad-w/2,rad+w/2, 80,350);
38     }
39     assign($fn=30) {
40       FlatArc(0,rad+looprad+w, looprad,looprad+loopw);
41     }
42   }
43
44   for (mir=[0,1]) {
45     mirror([mir,0,0])
46       rotate([0,0,-40])
47       translate([rad+w*0.3+teethw*0.3+fdia/2, 0, 0])
48       rotate([0,0,95])
49       FilamentTeeth(fdia=fdia, h=h);
50   }
51 }
52
53 FilamentClip();