From 069ba4a880c14f7068173c9e50f883ac5c24d56d Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 18 Mar 2022 16:36:25 -0400 Subject: use last width instead of default width generating side piece --- cubbies.sh | 6 +++--- 1 file 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)) cubby_depth=$1; shift cubby_height=$1; shift -# generate the single side piece -part='"side"' ${shopenscad_cmd} - # generate each bottom piece for i in "$@"; do part='"bottom"' cubby_width="$i" ${shopenscad_cmd} done; + +# generate the single side piece +cubby_width="$i" part='"side"' ${shopenscad_cmd} -- cgit v1.2.3