takeup/build.sh

17 lines
313 B
Bash
Raw Normal View History

2021-11-14 04:57:48 +00:00
#!/bin/bash
SCAD="./takeup.scad"
2021-11-14 04:57:48 +00:00
PARTS=(
"slip_coupling"
"magnetic_coupling"
"mount_plate"
"daylight_spool_insert"
2021-11-14 04:57:48 +00:00
)
for part in "${PARTS[@]}"
do
stl="./stl/takeup_${part}.stl"
openscad -o "${stl}" -D "PART=\"${part}\";" "${SCAD}"
2021-11-14 14:06:30 +00:00
done
openscad --preview -o debug.png -D "PART=\"preview\";" "${SCAD}"