From e173381d925698388e85d253b874a8d9a5efbc06 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 20 Jul 2016 18:49:37 +0000 Subject: don't make curves too smooth unless we're rendering --- diff --git a/Makefile b/Makefile index 998b0ac..c52cfe7 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ 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 diff --git a/fanduct.scad b/fanduct.scad index 690a4c8..8d0414f 100644 --- a/fanduct.scad +++ b/fanduct.scad @@ -40,7 +40,8 @@ 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)], -- cgit v0.9.0.2