summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven <steven.vasilogianis@gmail.com>2022-03-18 16:36:25 -0400
committerSteven <steven.vasilogianis@gmail.com>2022-03-18 16:36:25 -0400
commit069ba4a880c14f7068173c9e50f883ac5c24d56d (patch)
treed63c2bbf48b6718304fda19fd44c8864da74343d
parente28953c61d3f2c27ac4de75c8019f12d4a7a33b8 (diff)
use last width instead of default width generating side piece
-rwxr-xr-xcubbies.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/cubbies.sh b/cubbies.sh
index 43a2416..1117374 100755
--- a/cubbies.sh
+++ b/cubbies.sh
@@ -56,10 +56,10 @@ export $(echo $($shopenscad_cmd -p))
56cubby_depth=$1; shift 56cubby_depth=$1; shift
57cubby_height=$1; shift 57cubby_height=$1; shift
58 58
59# generate the single side piece
60part='"side"' ${shopenscad_cmd}
61
62# generate each bottom piece 59# generate each bottom piece
63for i in "$@"; do 60for i in "$@"; do
64 part='"bottom"' cubby_width="$i" ${shopenscad_cmd} 61 part='"bottom"' cubby_width="$i" ${shopenscad_cmd}
65done; 62done;
63
64# generate the single side piece
65cubby_width="$i" part='"side"' ${shopenscad_cmd}