contact_printer/scripts/img.sh

11 lines
373 B
Bash
Raw Normal View History

#!/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
convert ${IMG} -resize 1200x1000 -gravity center -extent 1000x700 ${IMG}