From: Ian Jackson Date: Tue, 9 Feb 2016 21:53:35 +0000 (+0000) Subject: filamentspool: Break out hub_clip_baseextend (nfc) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=98ac69444e6999dc9f9a57dfa175651a9fa0b5c7;p=reprap-play.git filamentspool: Break out hub_clip_baseextend (nfc) --- diff --git a/filamentspool.scad b/filamentspool.scad index 0eba9fa..c2dc617 100644 --- a/filamentspool.scad +++ b/filamentspool.scad @@ -247,6 +247,9 @@ include include include +hub_clip_baseextend = (hubeffrad - DoveClip_depth() + - hubbigrad + hublwidth); + real_exteffrad = selsz(exteffrad, hubeffrad + DoveClip_depth(), hubeffrad + nondove_armbase); @@ -472,8 +475,7 @@ module Hub(){ ////toplevel difference() { translate([hubeffrad,0,0]) DoveClipPairSane(h=doveclipheight, - baseextend = (hubeffrad - DoveClip_depth() - - hubbigrad + hublwidth)); + baseextend = hub_clip_baseextend); if (hole>hublwidth && holewidth > 2) { translate([hubbigrad + hublwidth, -holewidth/2, -1]) cube([hole, holewidth, hublthick+2]);