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