diff options
author | Steven <steven.vasilogianis@gmail.com> | 2021-06-17 14:13:45 -0400 |
---|---|---|
committer | Steven <steven.vasilogianis@gmail.com> | 2021-06-17 14:13:45 -0400 |
commit | ede7d0e9a9e7f95acc33dbe820759b2628b82ed7 (patch) | |
tree | ddeff8a29bb06d36c466228ab5f4e8bca5f3bd88 | |
parent | 111246c61c9efdcf4962d5fad3f4147c368de948 (diff) |
tab_depth and tab_height depend on thickness
-rw-r--r-- | cubbies.scad | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cubbies.scad b/cubbies.scad index be46ccf..c1de3c2 100644 --- a/cubbies.scad +++ b/cubbies.scad | |||
@@ -32,11 +32,14 @@ strut_thickness=5; | |||
32 | 32 | ||
33 | /* [Tab Dimensions] */ | 33 | /* [Tab Dimensions] */ |
34 | tab_width=10; | 34 | tab_width=10; |
35 | tab_depth=thickness; | ||
36 | tab_height=thickness; | ||
37 | tab_padding=5; | 35 | tab_padding=5; |
38 | tab_tolerance=0.5; | 36 | tab_tolerance=0.5; |
39 | 37 | ||
38 | /* [Hidden] */ | ||
39 | tab_depth=thickness; | ||
40 | tab_height=thickness; | ||
41 | |||
42 | |||
40 | if ( part == "bottom" ) { | 43 | if ( part == "bottom" ) { |
41 | rot(90) yrot(90) cubby_bottom(cubby_width, cubby_depth); | 44 | rot(90) yrot(90) cubby_bottom(cubby_width, cubby_depth); |
42 | } else if ( part == "divider" ) { | 45 | } else if ( part == "divider" ) { |