summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad6
1 files changed, 3 insertions, 3 deletions
diff --git a/fanduct.scad b/fanduct.scad
index d711166..6eef682 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -174,10 +174,10 @@ module fanduct(type=type) {
174 extrusion_width, 174 extrusion_width,
175 inlet_l+fanduct_shell+inlet_away+fanduct_w/2]); 175 inlet_l+fanduct_shell+inlet_away+fanduct_w/2]);
176 } 176 }
177 hull() { 177 hull() {
178 placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell/2,0]) 178 placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0])
179 cube(size=[inlet_h+fanduct_shell,inlet_w+fanduct_shell,fanduct_shell]); 179 cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]);
180 translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0]) 180 translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0])
181 translate([0,-inlet_w/2-fanduct_shell/2,0]) 181 translate([0,-inlet_w/2-fanduct_shell/2,0])
182 cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]); 182 cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]);
183 } 183 }
@@ -221,9 +221,9 @@ module fanduct(type=type) {
221 } 221 }
222 222
223} 223}
224 224
225view=""; // hcut|vcut|* 225view="full"; // hcut|vcut|*
226 226
227hinfinity=4*(fanduct_ir+fanduct_shell*2+fanduct_w+inlet_away); 227hinfinity=4*(fanduct_ir+fanduct_shell*2+fanduct_w+inlet_away);
228vinfinity=2*(fanduct_shell*2+fanduct_h+inlet_h); 228vinfinity=2*(fanduct_shell*2+fanduct_h+inlet_h);
229if(view=="hcut") { 229if(view=="hcut") {