From 30f9e456cd96bd643270e26c54cebef9364130c0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 14 Dec 2015 13:33:50 +0000 Subject: [PATCH] filamentspool: FilamentCup: introduce baselen (nfc) --- filamentspool.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/filamentspool.scad b/filamentspool.scad index cf0608b..15a5828 100644 --- a/filamentspool.scad +++ b/filamentspool.scad @@ -171,10 +171,11 @@ module FilamentCup() { ////toplevel gapy = prongwidth; dy = cupwidth/2 + gapy + overclipcupgap; + baselen = dy+cupwidth/2; translate([0, dy, 0]) FilamentCupCup(); - cube([prongwidth, dy+1+cupwidth/2, prongthick]); + cube([prongwidth, baselen+1, prongthick]); midrad = cupwidth/2 + prongwidth/2; @@ -194,7 +195,7 @@ module FilamentCup() { ////toplevel FilamentTeeth(fdia=fdia, h=teethh); } for (x = [-0.3, -1.3]) { - translate([cupheight + overclipcupnextgap*x, dy+cupwidth/2 + prongthick, 0]) + translate([cupheight + overclipcupnextgap*x, baselen + prongthick, 0]) rotate([0,0, 12 + fdia]) FilamentTeeth(fdia=fdia, h=teethh); } -- 2.30.2