format&heroes

cleanup the formaat and make heroes box
This commit is contained in:
2026-04-29 15:45:31 +02:00
parent 6c4deab335
commit bd6ea68d9a
9 changed files with 263 additions and 348 deletions

View File

@@ -5,6 +5,18 @@ FOLDER=STL/HeroesKeepOut
mkdir -p STL
mkdir -p $FOLDER
# ── Boxes ─────────────────────────────────────────────────────────────
echo "Rendering Box-Items..."
"$OPENSCAD" -o "$FOLDER/Box-Items.stl" "./HeroesKeepOut/Box-Items.scad"
"$OPENSCAD" -o "$FOLDER/Box-Items-Lid.stl" "./HeroesKeepOut/Box-Items-Lid.scad"
echo "Rendering Box-Heroes..."
"$OPENSCAD" -o "$FOLDER/Box-Heroes.stl" "./HeroesKeepOut/Box-Heroes.scad"
"$OPENSCAD" -o "$FOLDER/Box-Heroes-Lid.stl" "./HeroesKeepOut/Box-Heroes-Lid.scad"
echo "Rendering Box-Figures-Heroes..."
"$OPENSCAD" -o "$FOLDER/Box-Figures-Heroes.stl" "./HeroesKeepOut/Box-Figures-Heroes.scad"
# ── Cards ─────────────────────────────────────────────────────────────
while IFS=',' read -r b t h name; do
# Remove quotes around name, replace spaces with -
@@ -19,6 +31,3 @@ while IFS=',' read -r b t h name; do
-D "name=\"$name\"" \
-o "$output" "$SCAD_FILE"
done <./HeroesKeepOut/cardConfigs.txt
echo "Rendering $output..."
"$OPENSCAD" -o "$output" "$SCAD_FILE"