summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-04-23 13:36:10 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-04-23 13:36:10 +0200
commit18d7f6c015ede1d89525dde9793d3f5a9380c44a (patch)
treec1406a1c487854854300ac942015fa8db1608a47
parent807e1f7680e1783d4fd60a124d6df9214893a7af (diff)
download3D-18d7f6c015ede1d89525dde9793d3f5a9380c44a.tar.xz
Lego: fix double-use of "h"
-rw-r--r--Lego/Lego.scad4
-rw-r--r--Lego/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/Lego/Lego.scad b/Lego/Lego.scad
index d2fb1d3..b7b0769 100644
--- a/Lego/Lego.scad
+++ b/Lego/Lego.scad
@@ -692,8 +692,8 @@ if (Teil == "Helix") {
mirror([0,1,0])
Rooping(l);
} else if (Teil == "Loopingstart") {
- h=4;
- Loopingstart(l,h);
+ ho=4;
+ Loopingstart(l,ho);
} else if (Teil == "Prellbock") {
Prellbock(l);
} else if (Teil == "Rampe") {
diff --git a/Lego/Makefile b/Lego/Makefile
index a2c75bb..42761ab 100644
--- a/Lego/Makefile
+++ b/Lego/Makefile
@@ -14,7 +14,7 @@ Lego/Lego-Looping-%.stl: Lego/Lego.scad
openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)' -D 'Teil="Looping"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<
Lego/Lego-Loopingstart-%.stl: Lego/Lego.scad
- openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)' -D 'Teil="Loopingstart"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) -D h=$(word 4,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<
+ openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)' -D 'Teil="Loopingstart"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) -D ho=$(word 4,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<
Lego/Lego-Prellbock-%.stl: Lego/Lego.scad
openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)' -D 'Teil="Prellbock"' -D l=$(lastword $(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<