format&heroes
cleanup the formaat and make heroes box
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user