From: Clinton Ebadi Date: Mon, 30 Sep 2019 03:19:36 +0000 (-0400) Subject: acorn: only render threads if thread_height is nonzero X-Git-Url: http://git.hcoop.net/clinton/3d-models.git/commitdiff_plain/2d35a86501088481048f975a8f41c7ef2db6e875?hp=1b73bd8eae1c26ad1d12fbf0483437190b259bdf acorn: only render threads if thread_height is nonzero --- diff --git a/acorn/acorn-threads.scad b/acorn/acorn-threads.scad index 7173ae5..d5e7fe2 100644 --- a/acorn/acorn-threads.scad +++ b/acorn/acorn-threads.scad @@ -120,7 +120,9 @@ module acorn (thread_pitch = 3.0, } - translate ([0, 0, -0.01]) acorn_thread (internal = true, ring = false); + if (thread_height != 0) { + translate ([0, 0, -0.01]) acorn_thread (internal = true, ring = false); + } } }