diff --git a/img/contact_printer.png b/img/contact_printer.png new file mode 100644 index 0000000..ecd4b55 Binary files /dev/null and b/img/contact_printer.png differ diff --git a/img/contact_printer_2 b/img/contact_printer_2_old.png similarity index 100% rename from img/contact_printer_2 rename to img/contact_printer_2_old.png diff --git a/img/contact_printer b/img/contact_printer_old.png similarity index 100% rename from img/contact_printer rename to img/contact_printer_old.png diff --git a/scripts/img.sh b/scripts/img.sh new file mode 100644 index 0000000..7445cf4 --- /dev/null +++ b/scripts/img.sh @@ -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} \ No newline at end of file