From ba765612c3c2a6f8072f20e9fc40e0d36372f5e2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Feb 2020 16:15:23 +0000 Subject: [PATCH] quacks-ingredients: multicolour gap Signed-off-by: Ian Jackson --- quacks-ingredients.scad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quacks-ingredients.scad b/quacks-ingredients.scad index e54aa1f..f8024e3 100644 --- a/quacks-ingredients.scad +++ b/quacks-ingredients.scad @@ -37,7 +37,8 @@ module SpotAt(condition, xy) { if (condition == !$spots_absent) { echo(condition, $spots_absent, "Y"); translate(xy * (spot_gap + spot_dia) * sqrt(0.5)) - circle(r= spot_dia/2); + circle(r= spot_dia/2 + + ($spots_plusgap ? multicolour_gap : 0)); } else { echo(condition, $spots_absent, "N"); } -- 2.30.2