From db2a9a8a24966f098d4c0c8157de98a885b79a85 Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Thu, 14 Mar 2024 20:56:20 +0000 Subject: [PATCH] Ziptie test can now show wires with t = 0. --- tests/zipties.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/zipties.scad b/tests/zipties.scad index 432715b..fe92994 100644 --- a/tests/zipties.scad +++ b/tests/zipties.scad @@ -17,7 +17,7 @@ // If not, see . // wire_r = 5; // [1 : 20] -t = 0; // [0 : 3] +t = -1; // [-1 : 3] include <../utils/core/core.scad> use <../utils/layout.scad> @@ -26,9 +26,9 @@ include <../vitamins/zipties.scad> module zipties() layout([for(z = zipties) 9], 2 * wire_r) { - ziptie(zipties[$i], wire_r, t); + ziptie(zipties[$i], wire_r, max(t, 0)); - if(t) + if(t >= 0) color(grey(20)) cylinder(r = wire_r, h = 10, center = true);