author | Michael Krelin <hacker@klever.net> | 2016-06-13 16:00:57 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-06-13 16:00:57 (UTC) |
commit | db98325df397142e712aceca25a822c84a742b45 (patch) (unidiff) | |
tree | 06b1a0347668729b10ba47d10ea78edc124d7c5b | |
parent | ddcb05f6038a09c767a612a2d8ce984ef6589930 (diff) | |
download | fanductory-db98325df397142e712aceca25a822c84a742b45.zip fanductory-db98325df397142e712aceca25a822c84a742b45.tar.gz fanductory-db98325df397142e712aceca25a822c84a742b45.tar.bz2 |
dualism: marks
-rw-r--r-- | fanduct.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fanduct.scad b/fanduct.scad index 0cd89f7..1090e95 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -100,25 +100,25 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) { | |||
100 | } | 100 | } |
101 | } | 101 | } |
102 | } | 102 | } |
103 | } | 103 | } |
104 | 104 | ||
105 | if(dual) dual(); | 105 | if(dual) dual(); |
106 | else single(); | 106 | else single(); |
107 | } | 107 | } |
108 | 108 | ||
109 | // ***bumps for easier position adjustments in line with hotend | 109 | // ***bumps for easier position adjustments in line with hotend |
110 | module marks(what) { | 110 | module marks(what) { |
111 | if(what=="in") { | 111 | if(what=="in") { |
112 | for(y=[-1,1]) | 112 | for(y=[-1,1]) translate([0,dual?y*nozzles_apart/2:0,0]) |
113 | hull() for(z=[0,-fanduct_shell-fanduct_h/2]) | 113 | hull() for(z=[0,-fanduct_shell-fanduct_h/2]) |
114 | translate([0,y*(fanduct_ir+fanduct_shell+fanduct_w/2),fanduct_shell*2+fanduct_h+z]) | 114 | translate([0,y*(fanduct_ir+fanduct_shell+fanduct_w/2),fanduct_shell*2+fanduct_h+z]) |
115 | rotate([90,0,0]) { | 115 | rotate([90,0,0]) { |
116 | cylinder(r=fanduct_shell,h=fanduct_w,center=true,$fn=30); | 116 | cylinder(r=fanduct_shell,h=fanduct_w,center=true,$fn=30); |
117 | for(z=[-1,1]) translate([0,0,z*fanduct_w/2]) | 117 | for(z=[-1,1]) translate([0,0,z*fanduct_w/2]) |
118 | sphere(r=fanduct_shell,$fn=30); | 118 | sphere(r=fanduct_shell,$fn=30); |
119 | } | 119 | } |
120 | } | 120 | } |
121 | } | 121 | } |
122 | 122 | ||
123 | // ***output | 123 | // ***output |
124 | module output(what,type=type) { | 124 | module output(what,type=type) { |