From 807cbb5b8cc653a634bd794648ae056d9ca48a03 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Thu, 26 Mar 2026 05:44:16 +0100 Subject: [PATCH] case and plates generation scripts --- keyboard60.sh | 30 ++++++++++++++++++++++++++++++ keyboard60_ortholinear.sh | 30 ++++++++++++++++++++++++++++++ numpad.sh | 16 ++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 keyboard60.sh create mode 100644 keyboard60_ortholinear.sh create mode 100644 numpad.sh diff --git a/keyboard60.sh b/keyboard60.sh new file mode 100644 index 0000000..12ab806 --- /dev/null +++ b/keyboard60.sh @@ -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." diff --git a/keyboard60_ortholinear.sh b/keyboard60_ortholinear.sh new file mode 100644 index 0000000..24ff60f --- /dev/null +++ b/keyboard60_ortholinear.sh @@ -0,0 +1,30 @@ +#!/bin/bash + + +mkdir -p keyboard60_ortholinear_stl + +echo "Generating: case_left.stl" +openscad \ + -o "keyboard60_ortholinear_stl/case_left.stl" \ + -D "render_part=left" \ + ./case.scad + +echo "Generating: case_right.stl" +openscad \ + -o "keyboard60_ortholinear_stl/case_right.stl" \ + -D "render_part=right" \ + ./case.scad + +echo "Generating: backplate_left.stl" +openscad \ + -o "keyboard60_ortholinear_stl/backplate_left.stl" \ + -D "render_part=left" \ + ./backplate_ortholinear.scad + +echo "Generating: backplate_right.stl" +openscad \ + -o "keyboard60_ortholinear_stl/backplate_right.stl" \ + -D "render_part=right" \ + ./backplate_ortholinear.scad + +echo "Done! Check the 'keyboard60_ortholinear_stl' folder." diff --git a/numpad.sh b/numpad.sh new file mode 100644 index 0000000..7d2bdf6 --- /dev/null +++ b/numpad.sh @@ -0,0 +1,16 @@ +#!/bin/bash + + +mkdir -p numpad_stl + +echo "Generating: case.stl" +openscad \ + -o "numpad_stl/case.stl" \ + ./case_numpad.scad + +echo "Generating: backplate_numpad.stl" +openscad \ + -o "numpad_stl/backplate_numpad.stl" \ + ./backplate_numpad.scad + +echo "Done! Check the 'numpad_stl' folder."