summaryrefslogtreecommitdiff
path: root/Lego/Makefile
blob: 811a6047721fe8db152218e480c61b0f12e7dad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Lego/Lego-Helix-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Helix"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-Herix-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Herix"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-Kreuzung-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Kreuzung"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) -D b=$(word 4,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-KreuzungMitLoch-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="KreuzungMitLoch"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) -D b=$(word 4,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

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-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 $@ $<

Lego/Lego-Rampe-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Rampe"' -D l=$(lastword $(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-Rooping-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Rooping"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-Sechserkreuzung-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Sechserkreuzung"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) -D b=$(word 4,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-Trichtel-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Trichtel"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-Trichter-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Trichter"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<

Lego/Lego-Weiche-%.stl: Lego/Lego.scad
	openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)'  -D 'Teil="Weiche"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) -D d1=$(word 4,$(subst -, ,$(patsubst %.stl,%,$@))) -D d2=$(word 5,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<