Skip to content

Commit f541e34

Browse files
committed
Introduce orient_for_printing
1 parent 5d0ce1e commit f541e34

5 files changed

Lines changed: 14340 additions & 14330 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OPENSCAD=/usr/bin/openscad
22
OPENSCAD_OPTIONS=-DVERBOSE=false -q
3-
IMAGE_OPTIONS=--imgsize=1024,768 --colorscheme "Tomorrow Night" --render true
4-
THUMBNAIL_OPTIONS=--imgsize=400,300 --colorscheme "Tomorrow Night" --render true -D fast=true
3+
IMAGE_OPTIONS=--imgsize=1024,768 --colorscheme "Tomorrow Night" --render true -D orient_for_printing=false
4+
THUMBNAIL_OPTIONS=--imgsize=400,300 --colorscheme "Tomorrow Night" --render true -D fast=true -D orient_for_printing=false
55

66
SRCS=$(wildcard src/*/*.scad)
77
STLS=$(patsubst src/%.scad,export/%.stl,$(SRCS))
@@ -16,7 +16,7 @@ clean:
1616

1717
export/%.stl: src/%.scad
1818
@mkdir -p $(shell dirname $@)
19-
$(OPENSCAD) $(OPENSCAD_OPTIONS) -o $@ $<
19+
$(OPENSCAD) $(OPENSCAD_OPTIONS) -D orient_for_printing=true -o $@ $<
2020

2121
export-all : $(STLS)
2222

0 commit comments

Comments
 (0)