Added thumbnailers for stl & openscad

Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
Tony Tkáčik 2016-12-20 21:31:18 +01:00
parent 1b3fb64ca8
commit 193335d173
5 changed files with 36 additions and 0 deletions

5
support/stl-thumbnailer Normal file
View file

@ -0,0 +1,5 @@
#!/bin/sh
TMP_FILE=$(mktemp)
echo "import(\"$1\");" > $TMP_FILE
openscad-thumbnailer $TMP_FILE "$2" "$3" Nature
rm $TMP_FILE