chiark / gitweb /
poster-tube-lid: catch wip
[reprap-play.git] / smallfilamentclip.scad
1 include <cliphook.scad>
2 include <filamentteeth.scad>
3
4 rad=7.7;
5 smrad=2.0;
6 h=3.5;
7 w=2.5;
8 teethw=1.5;
9
10 looprad=2.5;
11 loopw=w;
12
13 fdia=1.77;
14 //fdia=3;
15
16 d=0.01;
17
18 module FilamentClip() {
19   linear_extrude(height=h) {
20     assign($fn=80) {
21       FlatArc(0,0, rad-w/2,rad+w/2, 80,361);
22     }
23     assign($fn=30) {
24       FlatArc(0,rad+looprad+w, looprad,looprad+loopw);
25     }
26     FlatArc(0, rad-smrad, smrad-w/2,smrad+w/2, -55,91);
27     FlatArc(rad-smrad, 0, smrad-w/2,smrad+w/2, 145,-1);
28   }
29
30   for (mir=[0,1]) {
31     mirror([0,mir,0])
32       mirror([1,0,0])
33       rotate([0,0,-56])
34       translate([rad+w*0.3+teethw*0.3+fdia/2 -0.6, -1.1, 0])
35       rotate([0,0,95])
36       FilamentTeeth(fdia=fdia);
37   }
38 }
39
40 FilamentClip();