case and plates generation scripts

This commit is contained in:
Sam Hadow
2026-03-26 05:44:16 +01:00
parent 4d8940bbbf
commit 807cbb5b8c
3 changed files with 76 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/bin/bash
mkdir -p keyboard60_stl
echo "Generating: case_left.stl"
openscad \
-o "keyboard60_stl/case_left.stl" \
-D "render_part=left" \
./case.scad
echo "Generating: case_right.stl"
openscad \
-o "keyboard60_stl/case_right.stl" \
-D "render_part=right" \
./case.scad
echo "Generating: backplate_left.stl"
openscad \
-o "keyboard60_stl/backplate_left.stl" \
-D "render_part=left" \
./backplate.scad
echo "Generating: backplate_right.stl"
openscad \
-o "keyboard60_stl/backplate_right.stl" \
-D "render_part=right" \
./backplate.scad
echo "Done! Check the 'keyboard60_stl' folder."