-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | fanduct.scad | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,15 +1,16 @@ -include Makefile.local OPENSCAD_APP?=/Applications/OpenSCAD.app OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD +OPENSCAD_FLAGS=-D draft=false default: fanduct-circular.stl fanduct-3jets.stl fanduct-dual.stl clean: rm -f *.stl fanduct-%.stl: fanduct-%.scad fanduct.scad %.stl: %.scad ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<" diff --git a/fanduct.scad b/fanduct.scad index 690a4c8..8d0414f 100644 --- a/fanduct.scad +++ b/fanduct.scad @@ -27,33 +27,34 @@ heater_clearance = dual hypothenuse(11.5-4.5 +silicone_shell, 15.5 +silicone_shell) // E3D volcano ); fanduct_elevation = 3; // fanduct elevation above nozzle tip fanduct_blowtarget = -2; // what to blow at fanduct_h = 6; // inner height of the duct fanduct_w = 7; // inner width of the duct fanduct_shell=1.2; // shell thickness fanduct_ir = heater_clearance+5; // inner radius jet_angle = 60-2; // angular width of the jet hotend_clearance = heater_clearance; snapper_d = 8; snapper_overlap=0.2; // snip snap -smooth_f = 120; +draft=true; +smooth_f = draft? 30 : 120; to_midduct = fanduct_ir+fanduct_shell+fanduct_w/2; dual_spots = [ [+space_behind_nozzle, -(to_midduct+nozzles_apart/2)], [- to_midduct, -(to_midduct+nozzles_apart/2)], [- to_midduct, 0] ]; module fanduct(type=type,ductshape=ductshape,dual=dual) { // *** duct is all around! module duct(what) { module single() { if(what=="in") { sh = fanduct_w+2*fanduct_shell; sv = fanduct_h+2*fanduct_shell; smax = max(sh,sv); rotate_extrude($fn=smooth_f) if(ductshape=="round") translate([sh/2+fanduct_ir,sv/2]) |