Update render to new design. Add a script that will output the render from openscad and scale/crop with imagemagick.
This commit is contained in:
parent
2ea7cb2e8d
commit
d5cb055d2c
Binary file not shown.
After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
WIDTH=2400
|
||||||
|
HEIGHT=2000
|
||||||
|
SCHEME=DeepOcean
|
||||||
|
IMG=img/contact_printer.png
|
||||||
|
|
||||||
|
# setting PART equal to a non-existent module will render the debug layout
|
||||||
|
|
||||||
|
openscad -o ${IMG} --colorscheme ${SCHEME} --imgsize ${WIDTH},${HEIGHT} -D "PART=\"DEBUGxxxxxxx\"" scad/contact_printer.scad
|
||||||
|
convert ${IMG} -resize 1200x1000 -gravity center -extent 1000x700 ${IMG}
|
Loading…
Reference in New Issue