- dir structure (docs, tests, design)

- renderings for README.rst
This commit is contained in:
Adrian Schlatter
2019-04-10 21:55:13 +02:00
parent 873a266abc
commit beee1f1921
8 changed files with 91 additions and 3 deletions

19
docs/Makefile Normal file
View File

@@ -0,0 +1,19 @@
os = /usr/local/bin/openscad
opts =
imgs = bolt-M4.png nut-M12x0.5.png nutNbolt.png
.PHONY: all
all: $(imgs)
bolt-M4.png: bolt.scad
$(os) $(opts) --D 'type="M4"' --camera=0.49,-0.26,1.55,74.6,0.0,78.9,20 --imgsize=2048,2048 -o $@ $<
nut-M12x0.5.png: nut.scad
$(os) $(opts) --D 'type="M12x0.5"' --D 'turns=10' --D 'Douter=16' --camera=-2.2,1.2,1.8,66,0,73,52 --imgsize=2048,2048 --projection=ortho -o $@ $<
nutNbolt.png: nutNbolt.scad
$(os) $(opts) --camera=-0.24,1.19,4.24,83,0,326.9,40.3 --imgsize=2048,2048 --projection=ortho -o $@ $<
.PHONY: clean
clean:
rm *.png