diff options
author | Steven <steven.vasilogianis@gmail.com> | 2021-06-17 14:16:11 -0400 |
---|---|---|
committer | Steven <steven.vasilogianis@gmail.com> | 2021-06-17 14:16:11 -0400 |
commit | a464df7fb0d2de6cda0bf8af82d9811afbbe8730 (patch) | |
tree | 653a39bee368190aba7480fc2dbf7aa537b0c0e4 | |
parent | d4e7f6793cf01fcab74e214ec9e48aac47feb190 (diff) |
formatting
-rw-r--r-- | cubbies.scad | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/cubbies.scad b/cubbies.scad index cbcb63d..57544b9 100644 --- a/cubbies.scad +++ b/cubbies.scad | |||
@@ -113,7 +113,15 @@ module view_tab_fit (w, d, h) { | |||
113 | 113 | ||
114 | 114 | ||
115 | module add_tabs ( length, male=true, between=false ) { | 115 | module add_tabs ( length, male=true, between=false ) { |
116 | tab_line(length, tab_width=tab_width, tab_depth=tab_depth, tab_height=tab_height, tab_padding=tab_padding, male=male, tolerance=tab_tolerance, edge_padding=5, between=between); | 116 | tab_line(length, |
117 | tab_width=tab_width, | ||
118 | tab_depth=tab_depth, | ||
119 | tab_height=tab_height, | ||
120 | tab_padding=tab_padding, | ||
121 | male=male, | ||
122 | tolerance=tab_tolerance, | ||
123 | edge_padding=5, | ||
124 | between=between); | ||
117 | } | 125 | } |
118 | 126 | ||
119 | module cubby_divider (depth, height) { | 127 | module cubby_divider (depth, height) { |
@@ -122,7 +130,6 @@ module cubby_divider (depth, height) { | |||
122 | screw_tab_height=20; | 130 | screw_tab_height=20; |
123 | screw_tab_thickness=thickness; | 131 | screw_tab_thickness=thickness; |
124 | 132 | ||
125 | |||
126 | divider_wall() { | 133 | divider_wall() { |
127 | position(TOP+FRONT+LEFT) screw_tab(); | 134 | position(TOP+FRONT+LEFT) screw_tab(); |
128 | up(screw_tab_height) position(BOTTOM+FRONT+LEFT) screw_tab(); | 135 | up(screw_tab_height) position(BOTTOM+FRONT+LEFT) screw_tab(); |
@@ -147,10 +154,9 @@ module cubby_divider (depth, height) { | |||
147 | 154 | ||
148 | module screw_tab () { | 155 | module screw_tab () { |
149 | difference() { | 156 | difference() { |
150 | cuboid([screw_tab_width, screw_tab_thickness,screw_tab_height], anchor=LEFT+TOP); | 157 | cuboid([screw_tab_width, screw_tab_thickness,screw_tab_height], |
151 | right(screw_tab_width * (2 / 3)) zrot(90) yrot(90) { | 158 | anchor=LEFT+TOP); |
152 | //right(#cyl(l=15, r=2, anchor=TOP+LEFT); | 159 | right(screw_tab_width * 2 / 3)) zrot(90) yrot(90) { |
153 | //right(tab_height - 5) #cyl(l=15, r=2, anchor=LEFT); | ||
154 | right(screw_tab_height * (1 / 3)) #cyl(l=15, r=2, anchor=RIGHT); | 160 | right(screw_tab_height * (1 / 3)) #cyl(l=15, r=2, anchor=RIGHT); |
155 | right(screw_tab_height * (2 / 3)) #cyl(l=15, r=2, anchor=LEFT); | 161 | right(screw_tab_height * (2 / 3)) #cyl(l=15, r=2, anchor=LEFT); |
156 | } | 162 | } |