1 /* GNU AGPLv3 (or later at your option)
2 see bottom for more license info */
4 /* riser foot for raising bathroom shelves */
9 // how much higher the shelf needs to be
11 // radius of foot of shelf actually measured with calipers
12 foot_radius_measured
= 42 / 2;
13 foot_radius
= foot_radius_measured
+ fudge
;
16 module
ring_2d(inner_radius
, outer_radius
) {
19 circle(inner_radius
); } }
21 module
foot_riser(foot_radius
, extra_height
) {
22 foot_surround_height
= 25;
23 outer_radius
= foot_radius
+ wall_thickness
;
24 flange_radius
= outer_radius
+ foot_radius
* 2;
25 flange_height
= foot_radius
/ 2;
27 linear_extrude(height
= extra_height
) {
28 circle(foot_radius
); }
29 // surround the foot so it stays on riser
30 linear_extrude(height
= extra_height
+ foot_surround_height
) {
31 ring_2d(foot_radius
, outer_radius
); }
32 // put a flange at the bottom of the foot for stability
33 linear_extrude(height
= flange_height
) {
34 ring_2d(outer_radius
, flange_radius
); } }
37 This file is part of 3d-printables.
39 3d-printables is free software: you can redistribute it and/or modify
40 it under the terms of the GNU Affero General Public License as published by
41 the Free Software Foundation, either version 3 of the License, or
42 (at your option) any later version.
44 3d-printables is distributed in the hope that it will be useful,
45 but WITHOUT ANY WARRANTY; without even the implied warranty of
46 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47 GNU Affero General Public License for more details.
49 You should have received a copy of the GNU Affero General Public License
50 along with challenge-bot. If not, see <http://www.gnu.org/licenses/>.