chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a343f4
)
quacks-ingredients: multicolour gap
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 16 Feb 2020 16:15:23 +0000
(16:15 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 16 Feb 2020 16:15:23 +0000
(16:15 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
quacks-ingredients.scad
patch
|
blob
|
history
diff --git
a/quacks-ingredients.scad
b/quacks-ingredients.scad
index e54aa1f884190dc414aaf82859d64ab03bc59a67..f8024e35ec67864576dc021757398e4af187bc71 100644
(file)
--- 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");
}