chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1dfcc81
)
filamentspool: Break out hub_clip_baseextend (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 9 Feb 2016 21:53:35 +0000
(21:53 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 9 Feb 2016 21:53:35 +0000
(21:53 +0000)
filamentspool.scad
patch
|
blob
|
history
diff --git
a/filamentspool.scad
b/filamentspool.scad
index 0eba9fae60abfc455e26d6871f9f26384e4e2a5b..c2dc61727fc255c15d99e86773a44bdd18d97974 100644
(file)
--- a/
filamentspool.scad
+++ b/
filamentspool.scad
@@
-247,6
+247,9
@@
include <cliphook.scad>
include <filamentteeth.scad>
include <axlepin.scad>
include <filamentteeth.scad>
include <axlepin.scad>
+hub_clip_baseextend = (hubeffrad - DoveClip_depth()
+ - hubbigrad + hublwidth);
+
real_exteffrad = selsz(exteffrad,
hubeffrad + DoveClip_depth(),
hubeffrad + nondove_armbase);
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,
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]);
if (hole>hublwidth && holewidth > 2) {
translate([hubbigrad + hublwidth, -holewidth/2, -1])
cube([hole, holewidth, hublthick+2]);