| 1 | /* GNU AGPLv3 (or later at your option) |
| 2 | see bottom for more license info */ |
| 3 | |
| 4 | /* spin thing that erin likes */ |
| 5 | include <spin-data.scad> |
| 6 | |
| 7 | object = "spin_cosine"; |
| 8 | |
| 9 | if (object == "spin_slices") { |
| 10 | spin_slices(weight_radius, |
| 11 | weight_thickness, |
| 12 | bearing_radius, |
| 13 | bearing_thickness, |
| 14 | weight_lip_overhang, |
| 15 | bearing_lip_overhang, |
| 16 | wall, |
| 17 | arms, |
| 18 | layer_height); } |
| 19 | else if (object == "spin_donut") { |
| 20 | spin_donut(weight_radius, |
| 21 | weight_thickness, |
| 22 | bearing_radius, |
| 23 | bearing_thickness, |
| 24 | weight_lip_overhang, |
| 25 | bearing_lip_overhang, |
| 26 | wall, |
| 27 | arms); } |
| 28 | else if (object == "spin_cosine") { |
| 29 | spin_cosine(weight_radius, |
| 30 | weight_thickness, |
| 31 | bearing_radius, |
| 32 | bearing_thickness, |
| 33 | weight_lip_overhang, |
| 34 | bearing_lip_overhang, |
| 35 | wall, |
| 36 | arms); } |
| 37 | else if (object == "cap") { |
| 38 | cap(bearing_inner_radius, |
| 39 | bearing_cap_footprint_radius, |
| 40 | bearing_cover_radius, |
| 41 | bearing_thickness); } |
| 42 | |
| 43 | /* |
| 44 | This file is part of 3d-printables. |
| 45 | |
| 46 | 3d-printables is free software: you can redistribute it and/or modify |
| 47 | it under the terms of the GNU Affero General Public License as published by |
| 48 | the Free Software Foundation, either version 3 of the License, or |
| 49 | (at your option) any later version. |
| 50 | |
| 51 | 3d-printables is distributed in the hope that it will be useful, |
| 52 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 53 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 54 | GNU Affero General Public License for more details. |
| 55 | |
| 56 | You should have received a copy of the GNU Affero General Public License |
| 57 | along with challenge-bot. If not, see <http://www.gnu.org/licenses/>. |
| 58 | */ |