-rw-r--r-- | delta.jscad | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/delta.jscad b/delta.jscad index 5d40e26..b718fd4 100644 --- a/delta.jscad +++ b/delta.jscad @@ -605,13 +605,13 @@ var PARTS = { }; function main(params) { var part = params.part && PARTS[params.part]; if(!part) return refaxes(); var rv = P(part(params)); - if(true) rv = rv.union(refaxes()); + if(!params.print) rv = rv.union(refaxes()); return rv; } function _main(params) { var e = EFFECTOR.effector(); var hs = E3DV6.heatsink(); @@ -662,10 +662,15 @@ function getParameterDefinitions() { 'Fan holder', 'All together now!', 'Work in progress' ], caption: 'Part', initial: 'wip' + },{ + name: 'print', + type: 'checkbox', + caption: 'For print, no nonsense', + initial: false }]; } /* vim:set ft=javascript ai: */ |