aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-10-05 11:33:37 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-02 15:38:06 +0000
commit8bab30cc658f0b0ab1c3de3c47b97b5e156ca6ba (patch)
tree2ca5f63767994e53720ef1cdbfce4e369aec8ead /build.sh
downloadjanko-keystep-rgb-master.tar.gz
janko-keystep-rgb-master.zip
initial commitHEADmaster
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..5eafa3b
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+mkdir -p build
+
+for i in $(seq 0 11); do
+ openscad keycap.scad -o "build/key_${i}.stl" -D "range = [${i}]"
+done
+
+cp source/Keycap.stl build/keycap.stl
+openscad keycap.scad -o "build/all.stl" -D "range = [0 : 11]"