c9cf8f80 |
1 | /* GNU AGPLv3 (or later at your option) |
2 | see bottom for more license info */ |
3 | |
4 | /* riser foot for raising bathroom shelves */ |
5 | |
6 | fudge = 1; |
7 | riser_height = 200; |
8 | foot_radius = 42 / 2 + fudge; |
9 | wall_thickness = 3; |
10 | |
11 | module ring_2d(inner_radius, wall_thickness) { |
12 | outer_radius = inner_radius + wall_thickness; |
13 | difference() { |
14 | circle(outer_radius); |
15 | circle(inner_radius); } } |
16 | |
17 | module foot_riser() { |
18 | linear_extrude(height = 200) { |
19 | ring_2d(foot_radius, wall_thickness); } } |
20 | |
21 | /* |
22 | This file is part of 3d-printables. |
23 | |
24 | 3d-printables is free software: you can redistribute it and/or modify |
25 | it under the terms of the GNU Affero General Public License as published by |
26 | the Free Software Foundation, either version 3 of the License, or |
27 | (at your option) any later version. |
28 | |
29 | 3d-printables is distributed in the hope that it will be useful, |
30 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
31 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
32 | GNU Affero General Public License for more details. |
33 | |
34 | You should have received a copy of the GNU Affero General Public License |
35 | along with challenge-bot. If not, see <http://www.gnu.org/licenses/>. |
36 | */ |