4 // 3D design for filament spools to hold coils as supplied by Faberdashery
8 // Copyright 2012,2013,2016 Ian Jackson
10 // This work is free software: you can redistribute it and/or modify
11 // it under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
15 // This work is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
20 // You should have received a copy of the GNU General Public License
21 // along with this work. If not, see <http://www.gnu.org/licenses/>
25 // Each spool is a hub with 3 or 4 arms. Each arm has a cup for
26 // holding the filament. The effective diameter can be adjusted by
27 // setting the cup into a different seat in the arm. The cups are
28 // held on with simple clips, so the filement coil can easily be
29 // removed and replaced.
31 // This file (and its includes) can generate:
33 // ===== Heavy duty 4-armed spool for 3mm x 100m coil =====
35 // A heavy duty 4-armed spool suitable for holding a 100m
36 // Faberdashery coil on the spool arm of a Lulzbot TAZ-5.
41 // And print following parts
44 // FilamentCup x 4 (or FilamentCupPair x 2)
45 // CupSecuringClip x 4
47 // You will also need 4 x M4 machine screws and nuts.
49 // This is the default.
51 // ===== Light duty 3-armed spool for 3mm x <=30m coil =====
53 // A light duty 3-armed spool suitable for up to around 30m
54 // of Faberdashery 2.85mm PLA.
59 // (or look in filamentspool-lt.scad).
61 // And print following parts
64 // FilamentCup x 3 (or FilamentCup + FilamentCupPair)
65 // CupSecuringClip x 3
66 // TowerDoveClipPin x 6
68 // When assembling, insert one TowerDoveClipPin from each side,
69 // joining each ArmEnd to the Hub with two TowerDoveClipPins.
70 // Modest force with pliers is good to seat them properly.
72 // (note that the light duty and heavy duty CupSecuringClips
73 // are slightly different)
75 // ===== Notes regarding both the above spools =====
77 // When mounting either spool on the TAZ-5 spool arm, put the `pointy'
78 // end of the hub towards the printer - ie, put put the spool on
79 // `backwards'. This ensures that the spool's arms will clear the
82 // For the above, I generally used the Cura `Standard' PLA profile.
84 // ===== TAZ-5 feed tube adjustment kit =====
86 // With a TAZ-5 I recommend using this kit to improve the feed
91 // And print following parts
92 // FilamentGuideSpacer (ideally, at `high detail')
93 // FilamentGuideArmPrint (optional; `high detail' or `standard')
97 // from Aleph Objects - look here:
98 // http://download.lulzbot.com/TAZ/accessories/tool_heads/version_2/Dual_Extruder_v2/production_parts/stl/
100 // The spacer clips onto the filament guide tube holder arm, on the
101 // inside, with the pointy flanged end towards the filament guide
102 // tube. It stops the filament guide tube angle (and so the
103 // filament's natural pickup location) changing as the print head moves.
105 // The FilamentGuideArm[Print] is a replacement for the arm supplied
106 // with your TAZ-5. It's longer, so that the filament pickup point is
107 // closer to the middle of the coil. Use the t-nut_jig to stop the
108 // T-nuts in the aluminium channel from annoyingly sliding down to the
109 // bottom while you swap out the arm.
111 // (Faberdashery coils, and therefore both the above spools, have a
112 // larger diameter than the flat-walled spools often supplied by other
113 // vendors. And the spools above have individual arms rather than a
114 // continuous disc. If the filament `unhooks' from the arm, it can
115 // pull taught around the hub and stop feeding properly.)
117 // ===== Spool storage arm, for mounting on walls =====
119 // A storage arm suitable for screwing to walls, bookshelves,
120 // etc. (requires non-countersunk M4 screws); will hold two heavy duty
121 // spools each with a 100m coil.
126 // (or look in filamentspool-sm.scad).
128 // And print one of these, according to taste
132 // NB that the `light duty' version of this is shorter and
133 // will only take two `light duty' spools.
135 // For the above, I used the Cura `High detail' PLA profile because
136 // I wanted it pretty, but the `Standard' profile should do fine.
138 // ===== Spools for 1.75mm filament =====
140 // Spool (in many parts) for handing 1.75mm filament, printable
141 // on, and with parts for mounting on, a Reprappro Huxley.
144 fdia=2.85; // or 1.75
145 lightduty=false; // or true
151 function selsz(sm,lt,lg) = fdia < 2 ? sm : lightduty ? lt : lg;
152 function usedove() = selsz(true,true,false);
154 num_arms = selsz(3,3,4);
156 channelslop=selsz(slop,0.75,slop);
159 hubeffrad = selsz(30, 82, 40);
160 hubbigrad = selsz(20, 38, 38);
161 hublwidth = selsz(3, 2.5, 4);
164 hubaxlerad = selsz(5, 28/2, 28/2);
165 totalheightfromtower = 240;
166 axletowerfudgebend = 0;
167 axleaxlefudgebend = 3;
172 prongthick=selsz(5,4,5);
173 prongwidth=selsz(5,4,5);
175 prongribheight=selsz(0,0,4);
178 ratchettoothheight=5;
179 ratchettoothsmoothr=1;
180 ratchettoothslope=0.75;
182 cupwidth=selsz(40,25,50);
183 cupheight=selsz(55,25,55);
185 cupstrong_dx=selsz(0,0,-10);
196 stalklength=selsz(35,25,55);
201 overclipcupnextgap=selsz(20,15,20);
203 hubaxlelen = selsz(25, 62.5, 77.5);
206 overclipsmaller=-2.5;
213 armendwallthick=selsz(2.5, 1.8, 2.5);
214 armendbasethick=selsz(1.2, 1.2, 1.2);
216 numbers_relief = 0.7;
217 numbers_tick_len = 8;
218 numbers_tick_width = 0.75;
219 numbers_tick_linespc = 1.0;
220 numbers_height_allow = 8;
222 axlehorizoffset = 12.5;
223 axlevertheight = 100;
232 washerthinthick = 0.8;
233 washerverythinthick = 0.4;
234 washerrad = hubaxlerad + 7.5;
235 frictionwasherarmwidth = 3;
236 frictionwasherextrapush = 1.0;
238 ratchetpawl=ratchetstep-ratchettooth-bigslop*2;
240 nondove_armhole_x = 32;
241 nondove_armhole_hole = 4 + 0.8;
242 nondove_armhole_support = 7;
243 nondove_armhole_wall = 3.2;
244 nondove_armhole_slop = 0.5;
245 nondove_armhole_slop_x = 0.5;
247 nondove_armbase = nondove_armhole_x + nondove_armhole_hole/2 +
248 nondove_armhole_support;
249 echo(nondove_armbase);
251 include <doveclip.scad>
252 include <cliphook.scad>
253 include <filamentteeth.scad>
254 include <axlepin.scad>
256 hub_clip_baseextend = (hubeffrad - DoveClip_depth()
257 - hubbigrad + hublwidth);
259 real_exteffrad = selsz(exteffrad + hub_clip_baseextend,
260 hubeffrad + DoveClip_depth(),
261 hubeffrad + nondove_armbase);
263 channelwidth = prongthick + channelslop;
264 channeldepth = prongwidth + ratchettoothheight;
265 totalwidth = armendwallthick*2 + channelwidth;
266 totalheight = channeldepth + armendbasethick;
267 stalkwidth = prongwidth + prongstalkxwidth;
271 module ArmEnd(length=armend_length){ ////toplevel
273 translate([ratchettoothsmoothr, channelwidth/2, -armendbasethick]) {
275 DoveClipPairBase(h=doveclipheight);
279 translate([1, -armendwallthick, -armendbasethick])
281 cube([nondove_armbase+1, totalwidth, totalheight]);
282 translate([-nondove_armbase + nondove_armhole_x,
283 -armendwallthick + totalwidth/2,
284 -armendbasethick -1])
285 cylinder(r= nondove_armhole_hole/2, h=totalheight+2, $fn=10);
289 for (otherside=[0,1]) {
290 for (circum = [300:100:1500]) {
291 assign(rad = circum / tau)
292 assign(fn = str("filamentspool-number-n",circum,".dxf"))
293 assign(rotateoffset = [0, totalwidth/2, 0])
294 assign(xlen = rad - real_exteffrad) {
295 if (xlen >= numbers_tick_width/2
296 + (otherside ? numbers_height_allow : 0) &&
297 xlen <= length - (otherside ? 0 : numbers_height_allow))
298 translate([xlen, -armendwallthick,
299 -armendbasethick + (totalheight - numbers_tick_len)/2])
300 translate(rotateoffset)
301 rotate([0,0, otherside*180])
302 translate(-rotateoffset){
303 translate([-numbers_tick_width/2, -1, 0])
304 cube([numbers_tick_width, numbers_relief+1, numbers_tick_len]);
305 translate([numbers_tick_width/2 + numbers_tick_linespc,
310 linear_extrude(height= numbers_relief+1)
311 // scale(templatescale)
312 import(file=fn, convexity=100);
319 translate([0, -armendwallthick, -armendbasethick])
320 cube([length, totalwidth, totalheight]);
321 translate([-1, 0, 0])
322 cube([length+1 - ratchettooth, channelwidth, channeldepth+1]);
323 translate([-1, 0, ratchettoothheight])
324 cube([length+2, channelwidth, channeldepth+1]);
326 for (dx = [0 : ratchetstep : length - ratchetstep]) translate([dx,0,0]) {
327 translate([ratchettoothsmoothr+0.5, armendwallthick/2, 0]) minkowski(){
329 cylinder($fn=20, r=ratchettoothsmoothr, h=armendwallthick);
330 multmatrix([ [ 1, 0, ratchettoothslope, 0 ],
334 cube([ratchettooth - ratchettoothsmoothr*2,
335 channelwidth, ratchettoothheight - ratchettoothsmoothr]);
340 module FilamentCupHandle(){
341 pawlusewidth = ratchetpawl-ratchettoothsmoothr*2;
343 cube([stalklength, stalkwidth, prongthick]);
344 translate([stalklength, stalkwidth/2, 0])
345 cylinder(r=stalkwidth/2, h=prongthick, $fn=20);
346 translate([ratchettoothsmoothr, stalkwidth, 0]) {
348 cylinder($fn=20,r=ratchettoothsmoothr, h=1);
349 multmatrix([ [ 1, -ratchettoothslope, 0, 0 ],
354 ratchettoothheight - ratchettoothsmoothr,
361 module FilamentCupCup(){
362 for (my=[0,1]) mirror([0,my,0]) {
363 translate([0, cupwidth/2, 0])
364 cube([cupheight + prongwidth, prongwidth, prongthick]);
368 module FilamentCup() { ////toplevel
372 dy = cupwidth/2 + gapy + overclipcupgap;
373 baselen = dy+cupwidth/2;
375 translate([0, dy, 0])
377 cube([prongwidth, baselen+1, prongthick]);
379 translate([cupstrong_dx, prongwidth, 0]) {
380 cube([prongwidth, baselen-prongwidth, prongthick]);
381 for (y = [0, .33, .67, 1])
382 translate([0, (baselen - prongwidth) * y, 0])
383 cube([-cupstrong_dx + 1, prongwidth, prongthick]);
385 if (cupstrong_dx != 0) {
387 translate([-prongwidth*.55, -prongwidth*2.1, 0])
388 cube([prongwidth*(2.65), prongwidth*4.2, prongthick]);
391 translate([0, -0.2, 0])
392 cube([prongribwidth, baselen, prongthick + prongribheight]);
394 if (prongribheight > 0) {
395 translate([-prongwidth, baselen, 0])
396 cube([cupheight/2, prongwidth + prongribheight, prongribwidth]);
399 midrad = cupwidth/2 + prongwidth/2;
401 propshift = stalklength - overclipdepth - prongthick + propxshift;
402 proptaken = propshift;
403 echo(midrad, propshift, proptaken);
405 translate([propshift, -1, 0]) {
406 // something is wrong with the y calculation
411 for (y = [overclipcupgap, overclipcupgap+overclipcupnextgap]) {
412 translate([cupstrong_dx, y + prongwidth, 0])
413 rotate([0,0, 102 + fdia])
414 FilamentTeeth(fdia=fdia, h=teethh);
416 for (x = [-0.3, -1.3]) {
417 translate([cupheight + overclipcupnextgap*x, baselen + prongwidth, 0])
418 rotate([0,0, 12 + fdia])
419 FilamentTeeth(fdia=fdia, h=teethh);
423 module CupSecuringClipSolid(w,d,h1,h2){
424 rotate([0,-90,0]) translate([0,-h1/2,-w/2]) linear_extrude(height=w) {
425 polygon(points=[[0,0], [d,0], [d,h2], [0,h1]]);
429 module CupSecuringClipSolidSmooth(xrad=0, xdepth=0){
430 hbase = totalheight + prongstalkxwidth - overcliproundr*2;
432 CupSecuringClipSolid(w=totalwidth,
433 d=overclipdepth + xdepth,
434 h1=hbase - overclipsmaller,
435 h2=hbase + overclipbigger);
436 cylinder($fn=20, h=0.01, r=overcliproundr+xrad);
440 module CupSecuringClip(){ ////toplevel
441 wingswidth = wingspoke*2 + overclipthick*2 + overcliproundr*2 + totalwidth;
444 CupSecuringClipSolidSmooth(xrad=overclipthick, xdepth=0);
445 translate([-wingswidth/2, -wingsize/2, 0])
446 cube([wingswidth, wingsize, wingthick]);
447 translate([-wingsize/2, -wingswidth/2, 0])
448 cube([wingsize, wingswidth, wingthick]);
450 translate([0,0,-0.1])
451 CupSecuringClipSolidSmooth(xrad=0, xdepth=0.2);
455 module ArmDoveClipPin(){ ////toplevel
456 DoveClipPin(h=doveclipheight);
459 module TowerDoveClipPin(){ ////toplevel
460 DoveClipPin(h=towercliph/2);
463 module Hub(){ ////toplevel
464 axlerad = hubaxlerad + slop;
465 xmin = axlerad+hublwidth/2;
466 xmax = hubbigrad-hublwidth/2;
467 hole = hubeffrad - hubbigrad - DoveClip_depth() - hublwidth*2;
468 holewidth = DoveClipPairSane_width() - hubstemwidth*2;
469 nondove_allwidth = nondove_armhole_wall*2 + totalwidth;
473 cylinder($fn=60, h=hublthick, r=hubbigrad);
475 cylinder($fn=30, h=hublthick+2, r=(hubbigrad-hublwidth));
477 cylinder(h=hubaxlelen, r=axlerad+hublwidth);
478 for (ang=[0 : 360/num_arms : 359])
482 translate([hubeffrad,0,0])
483 DoveClipPairSane(h=doveclipheight,
484 baseextend = hub_clip_baseextend);
485 if (hole>hublwidth && holewidth > 2) {
486 translate([hubbigrad + hublwidth, -holewidth/2, -1])
487 cube([hole, holewidth, hublthick+2]);
495 cube([hubeffrad + nondove_armhole_x
496 + nondove_armhole_hole/2 + nondove_armhole_support,
498 nondove_armhole_wall + totalheight]);
499 translate([hubeffrad - nondove_armhole_slop_x,
501 + nondove_armhole_wall - nondove_armhole_slop,
502 nondove_armhole_wall])
503 cube([nondove_armhole_x + 50,
504 totalwidth + nondove_armhole_slop*2,
506 translate([hubeffrad + nondove_armhole_x, 0, -20])
507 cylinder(r= nondove_armhole_hole/2, h=50, $fn=10);
511 for (ang = [0 : 180/num_arms : 359])
512 rotate([0,0,ang]) rotate([90,0,0]) {
513 translate([0,0,-hublwidth/2])
514 linear_extrude(height=hublwidth)
515 polygon([[xmin,0.05], [xmax,0.05],
516 [xmax,hublthick-0.2], [xmin, hubaxlelen-0.2]]);
519 translate([0,0,-1]) cylinder($fn=60, h=hubaxlelen+2, r=axlerad);
523 module ArmExtender(){ ////toplevel
524 DoveClipExtender(length=exteffrad-hubeffrad,
529 module FsAxlePin(){ ////toplevel
530 AxlePin(hubaxlerad, washerrad*2, axlepinrad, axlepintabrad, slop);
533 module Axle(){ ////toplevel
534 pillarswidth = DoveClipPairSane_width(towerclipcount);
536 rotate([0,0, -( axleaxlefudgebend + atan(slop/hubaxlelen) ) ])
537 translate([-axlehorizoffset, -axlevertheight, 0]) {
538 rotate([0,0,-axletowerfudgebend])
540 DoveClipPairSane(h=towercliph, count=towerclipcount, baseextend=3);
541 translate([0, DoveClip_depth(), 0])
543 ExtenderPillars(axlevertheight - DoveClip_depth(),
544 pillarswidth, towercliph,
545 pillarw=towerpillarw);
548 axleclearlen = hubaxlelen + slop*4 + washerthick*2 + axlepadlen;
549 axlerad = hubaxlerad-slop;
550 bump = axlerad * 0.2;
551 shift = axlerad-bump;
555 translate([0, 0, shift]) {
558 translate([-1, 0, 0])
562 h = 1 + axleclearlen + axlepinrad*2 + 2);
563 mirror([1,0,0]) rotate([0,90,0])
564 cylinder(r = axlerad*1.75, h = 3);
567 translate([axlehorizoffset - pillarswidth/2, 0, 0])
570 r = towercliph - shift,
572 translate([-50, -joinbelowallow, -50])
573 cube([100, joinbelowallow+50, 100]);
577 translate([axleclearlen + axlepinrad/2, 0, -25])
578 cylinder(r = axlepinrad + slop, h=50);
581 translate([-50,-50,0]) cube([100,100,100]);
585 module washer(thick){
586 Washer(hubaxlerad, washerrad, thick, slop);
589 module AxleWasher(){ ////toplevel
590 washer(thick=washerthick);
593 module AxleThinWasher(){ ////toplevel
594 washer(thick=washerthinthick);
597 module AxleVeryThinWasher(){ ////toplevel
598 washer(thick=washerverythinthick);
601 module AxleFrictionWasher(){ ////toplevel
603 cylinder(h=washerthick, r=washerrad);
604 translate([0,0,-1]) cylinder(h=washerthick+2, r=hubaxlerad+slop);
607 frarmw = frictionwasherarmwidth;
608 frarmpawlr = hublwidth;
609 frarmpawlpush = slop*4 + frictionwasherextrapush;
610 for (ang=[0,180]) rotate([0,0,ang]) {
611 translate([washerrad-1, -frarmw/2, 0])
612 cube([frarmr - washerrad + 1, frarmw, washerthick]);
614 translate([frarmr - frarmpawlr, -50, 0])
615 cube([frarmpawlr, 100, 50]);
617 cylinder(h = 50, r = frarmpawlpush, $fn=36);
622 module TowerExtender(){ ////toplevel
623 l = totalheightfromtower - axlevertheight;
624 echo("TowerExtender",l);
625 DoveClipExtender(length = l,
626 ha = towercliph, hb = towercliph,
627 counta = towerclipcount, countb = towerclipcount,
628 pillarw = towerpillarw);
631 module FilamentCupPair(){ ////toplevel
633 translate([cupheight + prongthick*3,
636 rotate([0,0,180]) FilamentCup();
639 //----- storarm -----
642 storarm_hookheight = 5;
644 storarm_axleslop = 4;
647 storarm_base_h = 100;
649 storarm_base_mind = 2;
651 storarm_cope_hubaxle_mk1 = true;
653 storarm_screw_hole = 4;
654 storarm_screw_hole_slop = 0.5;
655 storarm_besides_hole = 4;
657 storarm_under_hole = 5;
658 storarm_screw_hole_head = 8.8;
659 storarm_screw_hole_head_slop = 1.5;
663 storarm_axlerad = hubaxlerad - storarm_axleslop;
664 storarm_mainlen = hubaxlelen*2 + storarm_axleslop
665 + (storarm_cope_hubaxle_mk1 ? 10 : 0);
666 storarm_totlen = storarm_mainlen + storarm_hooklen;
668 storarm_mid_off_y = storarm_axlerad;
670 storarm_base_off_y = storarm_mid_off_y + storarm_base_h/2;
672 module StorageArmDiagPartSide(xmin, xmax){
674 yuse = storarm_thick/2;
677 translate([xmin-1, -storarm_axlerad, storarm_thick/2])
679 cylinder(r=storarm_axlerad, h=xsz+2, $fn=60);
680 translate([xmin, -yuse, 0])
681 cube([xsz, yuse, storarm_thick]);
685 module StorageArmDiagPart(xmin, xmax, shear, adjbot){
687 StorageArmDiagPartSide(xmin,xmax);
689 multmatrix([[1,0,0,0],
693 translate([0, -storarm_axlerad*2 + adjbot, 0])
695 StorageArmDiagPartSide(xmin,xmax);
699 module StorageArmBaseTemplate(){
700 square([storarm_base_w, storarm_base_h]);
703 module StorageArmAtMountingHoles(){
704 bes = storarm_besides_hole + storarm_screw_hole;
707 x1 = storarm_base_w-bes;
708 y1 = storarm_base_h - bes;
715 translate([pos[0] - storarm_base_w,
716 pos[1] - storarm_base_off_y, -storarm_base_d])
721 module StorageArmRight(){ ////toplevel
722 shear = storarm_hookheight / (storarm_mainlen/2);
724 StorageArmDiagPart(-1, storarm_mainlen/2+1, shear, 0);
725 StorageArmDiagPart(storarm_mainlen/2-1, storarm_mainlen+1, shear/2,
726 storarm_hookheight/2);
728 translate([0, storarm_hookheight, 0])
729 StorageArmDiagPart(storarm_mainlen, storarm_totlen,
730 shear/2, -storarm_hookheight/2);
735 translate([-storarm_base_d, -storarm_base_off_y, storarm_base_w])
737 linear_extrude(height=storarm_base_mind)
738 StorageArmBaseTemplate();
739 StorageArmDiagPart(-1, 0, shear, 0);
741 StorageArmAtMountingHoles(){
742 cylinder(r= storarm_screw_hole_head/2,
746 StorageArmAtMountingHoles(){
748 cylinder(r= (storarm_screw_hole + storarm_screw_hole_slop)/2 ,
750 translate([0,0,storarm_under_hole])
751 cylinder(r= (storarm_screw_hole_head + storarm_screw_hole_head_slop)/2,
757 module StorageArmLeft(){ ////toplevel
758 mirror([1,0,0]) StorageArmRight();
761 module StorArmHoleTest(){ ////toplevel
762 sz = storarm_screw_hole_head + storarm_besides_hole*2;
765 translate([-50, -storarm_base_off_y, -1])
766 cube([100, sz, sz+1]);
771 //----- filament guide spacer -----
774 guide_armwidth = 10.2;
775 guide_armcorelen = 25.0;
776 guide_clipcirclethick = 10.0;
778 guidefilclip_outerdia = 22.8;
780 guidespacer_armslop = 0.75;
781 guidespacer_armlenslop = 1.05;
783 guidespacer_prongprotrude = 4;
784 guidespacer_thick = 1.6;
788 guidespacer_armdia = guide_armdia + guidespacer_armslop;
789 guidespacer_armwidth = guide_armwidth + guidespacer_armslop;
790 guidespacer_len = guide_armcorelen - guide_clipcirclethick
791 + guidespacer_armlenslop;
793 guidespacer_wingheight = (guidefilclip_outerdia - guidespacer_armdia)/2;
795 module FilamentGuideArmTemplate(extra=0){
797 circle(r= (guidespacer_armdia/2) + extra);
798 square(center=true, [guidespacer_armwidth+extra*2,
799 guidespacer_armdia + extra*2 + 10]);
803 module FilamentGuideSpacerInnerTemplate(){
804 FilamentGuideArmTemplate();
805 translate([0, -guidespacer_armdia/2])
806 square(center=true, [guidespacer_armwidth - guidespacer_prongprotrude,
807 guidespacer_armdia]);
810 module FilamentGuideSpacer(){ ////toplevel
813 linear_extrude(height= guidespacer_len)
814 FilamentGuideArmTemplate(extra= guidespacer_thick);
815 for (angle=[26, 60]) {
818 rotate([0,0,angle]) {
820 for (t=[[0, guidespacer_wingheight],
821 [guidespacer_len-1, -guidespacer_wingheight]])
822 translate([0,0, t[0] + 0.5])
823 cube([guidespacer_thick, guidespacer_armdia + t[1]*2,
833 linear_extrude(height= guidespacer_len+5)
834 FilamentGuideSpacerInnerTemplate();
839 //----- replacement filament guide arm for TAZ-5 -----
841 guidearm_armslop = 0.25;
842 guidearm_armlenslop = 0.25;
844 guidearm_hookprotr = 3;
845 guidearm_hookprotrflat = 1;
846 guidearm_hookslope = 0.3;
848 guidearm_totallen = 60;
850 guidearm_screwplatesz = 12;
851 guidearm_screwplateth = 4;
852 guidearm_screwplatewd = 15;
853 guidearm_screwhole = 5 + 0.5;
855 guidearm_bendlen = 40;
856 guidearm_bendslot = 4.5;
858 guidearm_stopthick = 4;
859 guidearm_protrslop = 1.0;
863 guidearm_armdia = guide_armdia - guidearm_armslop;
864 guidearm_armwidth = guide_armwidth - guidearm_armslop;
865 guidearm_armcorelen = guide_armcorelen + guidearm_armlenslop;
867 guidearm_base_z0 = -(guidearm_totallen - guidearm_armcorelen);
869 guidearm_realbendlen = min(guidearm_bendlen,
870 guidearm_totallen - guidearm_screwplateth - 0.1);
871 guidearm_slopelen = guidearm_hookprotr/guidearm_hookslope;
873 module FilamentGuideArmStop(h){
875 translate([ts * guidearm_hookprotr, 0,0])
876 cylinder(r=guidearm_armdia/2, h, $fn=80);
880 module FilamentGuideArmShaftPositive(){
881 r = guidearm_armdia/2;
883 translate([0,0, guidearm_base_z0+1])
884 cylinder(r=r, h= guidearm_totallen, $fn=80);
885 translate([0,0, guidearm_armcorelen]){
887 FilamentGuideArmStop(guidearm_hookprotrflat);
888 translate([0,0, guidearm_slopelen])
889 cylinder(r=r, h=guidearm_hookprotrflat, $fn=80);
893 FilamentGuideArmStop(guidearm_stopthick);
896 module FilamentGuideArmBase(){
898 (guidearm_screwplatewd - guidearm_armwidth)/2,
901 translate([0,0, guidearm_screwplateth/2])
903 [guidearm_armdia + guidearm_screwplatesz*2,
904 guidearm_screwplatewd,
905 guidearm_screwplateth]);
907 translate([ts * (guidearm_armdia/2 + guidearm_screwplatesz/2),
910 cylinder(r= guidearm_screwhole/2, h=40, $fn=20);
916 module FilamentGuideArm(){ ///toplevel
919 FilamentGuideArmShaftPositive();
920 translate([-guidearm_bendslot/2,
922 -guidearm_realbendlen + guidearm_armcorelen])
923 cube([guidearm_bendslot,
925 guidearm_realbendlen + 100]);
927 for (zx=[ [ 0, guidearm_bendslot ],
928 [ guidearm_armcorelen + guidearm_slopelen,
929 guidearm_hookprotr*2 + guidearm_protrslop ]
931 translate([-zx[1]/2, -50, zx[0]])
932 cube([zx[1], 100, 1]);
939 guidearm_totallen*3]);
941 FilamentGuideArmBase();
944 module FilamentGuideArmPrint(){ ////toplevel
949 module Demo(){ ////toplevel
950 translate([-real_exteffrad,-20,0]) Hub();
952 translate([ratchettooth*2, 30, 0]) FilamentCup();
953 if (selsz(true,false,false)) {
954 translate([-exteffrad + hubeffrad - hub_clip_baseextend, -10, 0])
968 //AxleFrictionWasher();
971 //FilamentGuideSpacer();
972 //FilamentGuideArm();
973 //FilamentGuideArmPrint();