17 lines
313 B
Bash
17 lines
313 B
Bash
#!/bin/bash
|
|
|
|
SCAD="./takeup.scad"
|
|
PARTS=(
|
|
"slip_coupling"
|
|
"magnetic_coupling"
|
|
"mount_plate"
|
|
"daylight_spool_insert"
|
|
)
|
|
|
|
for part in "${PARTS[@]}"
|
|
do
|
|
stl="./stl/takeup_${part}.stl"
|
|
openscad -o "${stl}" -D "PART=\"${part}\";" "${SCAD}"
|
|
done
|
|
|
|
openscad --preview -o debug.png -D "PART=\"preview\";" "${SCAD}" |