Add knobs to script. Add parts. Add scad.sh

This commit is contained in:
mmcwilliams 2025-03-25 17:02:38 -04:00
parent 93fe7fc69c
commit 1e062be023
2 changed files with 15 additions and 2 deletions

7
scad.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
bash ./scad/common/scad.sh ./scad/bolex_matte_box.scad
mv ./stl/bolex_matte_box_default.stl ./stl/bolex_matte_box.stl
mv ./img/bolex_matte_box_default.jpg ./img/bolex_matte_box.jpg

View File

@ -1,4 +1,5 @@
use <./common/common.scad>;
use <./knobs/scad/knob.scad>;
RAIL_SPACING_HALF_IN = 30;
HALF_IN_RAIL_D = 13;
@ -69,5 +70,10 @@ module bolex_matte_box () {
matte_box();
}
bolex_matte_box();
//rotate([-90, 0, 0]) import("../bolex_matte_box-4x5.5_cards.stl");
PART = "default";
if (PART == "default") {
bolex_matte_box();
} else if (PART == "knob") {
knob(H = 10, D = 14, DEPTH = 4, BOLT = "M4", TYPE = "hex");
}