2024-02-24 14:46:28 +00:00
|
|
|
#!/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
|
|
|
|
|
2024-11-06 21:01:27 +00:00
|
|
|
openscad -o ${IMG} --enable manifold --colorscheme ${SCHEME} --imgsize ${WIDTH},${HEIGHT} -D "PART=\"DEBUGxxxxxxx\"" scad/contact_printer.scad
|
2024-02-24 14:46:28 +00:00
|
|
|
convert ${IMG} -resize 1200x1000 -gravity center -extent 1000x700 ${IMG}
|