2 GNU AGPLv3 (or later at your option)
3 see bottom for more license info.
4 please keep this notice.
8 measurements from misumi's 3030 aluminum extrusion data sheet
9 https://us.misumi-ec.com/pdf/fa/2012/p2_0545.pdf
12 //$fn = 30; // use this while editing
13 $fn
= 100; // use this for generating STL
19 desired_corner_rounding_radius
= 2/2.1;
21 // rounding radius needs to be just under half the size of the wall_width
22 maximum_corner_rounding_radius
= wall_width
/ 2 - 0.1;
23 corner_rounding_radius
=
24 (desired_corner_rounding_radius
< maximum_corner_rounding_radius
)
26 desired_corner_rounding_radius
28 maximum_corner_rounding_radius
;
30 // the printed nubs did not fit into the extrusion gap perfectly.
31 // we can change the model just a little bit to accomodate printing
41 outer_block
= (30 - 16.5) / 2;
44 module
ring(outer_radius
, wall_width
) {
47 circle(outer_radius
- wall_width
); } }
54 module
round_corners(r
) {
55 fillet(r
) { fillet(-r
) { children(); } } }
58 // side nub, goes into side 3030 openings
60 b
= foot_height
+ wall_width
- (y
- opening_width
) / 2;
61 side_nub_length
= (a
< b
) ? a
: b
;
62 translate([0, (y
- opening_width
) / 2 + fudge
]) {
63 square([nub_depth
, side_nub_length
- fudge
]); } }
66 // bottom nub, goes into bottom 3030 opening
67 translate([(x
- opening_width
) / 2, 0]) {
68 square([opening_width
/ 2, nub_depth
]); } }
70 module
half_foot_2d() {
73 ring(foot_height
+ wall_width
, wall_width
);
74 square(foot_height
+ wall_width
);
76 square(foot_height
+ wall_width
); } }
77 // upper connector, vertical 3030 holder
78 translate([-wall_width
, -wall_width
]) {
79 square([wall_width
, foot_height
+ wall_width
]); }
80 // upper connecter, horizontal 3030 holder
81 translate([-wall_width
, -wall_width
]) {
82 square([wall_width
+ x
/ 2, wall_width
]); }
84 translate([cos(45) * foot_height
,
85 -(sin(45) * foot_height
+ wall_width
)]) {
86 square([x
/ 2 - cos(45) * foot_height
, wall_width
]); }
91 round_corners(corner_rounding_radius
) {
92 translate([-x
/ 2, 0, 0]) {
94 translate([x
/ 2, 0, 0]) {
96 half_foot_2d(); } } } }
99 rotate(a
= 0, v
= [1, 0, 0]) {
100 linear_extrude(height
= foot_length
) {
108 This file is part of 3d-printables.
110 3d-printables is free software: you can redistribute it and/or modify
111 it under the terms of the GNU Affero General Public License as published by
112 the Free Software Foundation, either version 3 of the License, or
113 (at your option) any later version.
115 3d-printables is distributed in the hope that it will be useful,
116 but WITHOUT ANY WARRANTY; without even the implied warranty of
117 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
118 GNU Affero General Public License for more details.
120 You should have received a copy of the GNU Affero General Public License
121 along with challenge-bot. If not, see <http://www.gnu.org/licenses/>.