X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=filamentclip.scad;h=e6d7afbc86be990474b7100a68363b8d4a5aa73a;hp=583173c2892569efc9da0445cb12be00e2b506b2;hb=37e6240dbeb35539d789f702ebb41d2cae072a6d;hpb=25918abad172bed6c58864bd70b3caec6e60e860 diff --git a/filamentclip.scad b/filamentclip.scad index 583173c..e6d7afb 100644 --- a/filamentclip.scad +++ b/filamentclip.scad @@ -1,51 +1,53 @@ include +include -rad=12; +rad=19; h=3.5; -w=1.0; +w=2.5; looprad=2.5; loopw=w; fdia=1.77; +//fdia=3; -module FilamentClipTeeth(based=1.5, basew=4, clipw=0.6) { -// for (mirr=[0:1]) { -// mirror([0,mirr,0]) { -// linear_extrude(height=h) { -// translate(0.5, square([ -// } -// } -// } - extent1=1.5; -// jaww= - translate([-based, -basew/2, 0]) cube([based, basew, h]); -// translate([ - linear_extrude(height=h) { - FlatArc(extent1+fdia/2, 0, fdia/2, fdia/2+clipw, $fn=30); - } +d=0.01; + +module our_ClipHook(ye){ + ClipHook(h=h, w=w, g=0.6, k=1.5, g=0.6, ye=ye, cupcaph=0.5, cupcapg=0.8); } module FilamentClip() { - k=1.5; - g=0.6; + rotate([0,0,-70]) { + translate([0,rad-1.5,0]) { + rotate([0,0,8]) + our_ClipHook(ye=-1.3); + } + } - rotate([0,0,-45]) { + rotate([0,0,-35]) { translate([0,rad,0]) { - ClipHook(h=h, w=w, g=0.6, k=k, g=g, ye=-1.3); - rotate([0,0,180]) ClipHook(h=h, w=w, g=g, k=k, ye=0.8); + rotate([0,0,180]) + our_ClipHook(ye=0.8); } } linear_extrude(height=h) { assign($fn=80) { - FlatArc(0,0, rad-w/2,rad+w/2, 65,379); + FlatArc(0,0, rad-w/2,rad+w/2, 80,350); } assign($fn=30) { FlatArc(0,rad+looprad+w, looprad,looprad+loopw); } } + + for (mir=[0,1]) { + mirror([mir,0,0]) + rotate([0,0,-40]) + translate([rad+w*0.3+teethw*0.3+fdia/2, 0, 0]) + rotate([0,0,95]) + FilamentTeeth(fdia=fdia, h=h); + } } FilamentClip(); -//FilamentClipTeeth();