Compare commits
No commits in common. "b3e64125981a6345ee2c51956498ed2124b041d6" and "df74b3011311661721b2419d1f4d0fa3e5755b1a" have entirely different histories.
b3e6412598
...
df74b30113
|
@ -1,21 +0,0 @@
|
||||||
SCRIPT_NAME="intval2"
|
|
||||||
SCAD="scad/${SCRIPT_NAME}.scad"
|
|
||||||
|
|
||||||
listParts () {
|
|
||||||
cat "${1}" | grep 'PART ==' | grep -v 'debug' | awk -F'"' '{print $2}'
|
|
||||||
}
|
|
||||||
|
|
||||||
renderPart () {
|
|
||||||
part="${1}"
|
|
||||||
stl="stl/${SCRIPT_NAME}_${part}.stl"
|
|
||||||
openscad --export-format asciistl -o "${stl}" "${SCAD}"
|
|
||||||
}
|
|
||||||
|
|
||||||
allParts () {
|
|
||||||
PARTS=($(listParts "${SCAD}"))
|
|
||||||
for part in "${PARTS[@]}"; do
|
|
||||||
renderPart "${part}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
allParts
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
23774
stl/intval2_panel.stl
23774
stl/intval2_panel.stl
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue