make it easy to switch between spin and cap object
[ozzloy@gmail.com/3d-printables] / spin.scad
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";
8
9 if (object == "spin") {
10 spin(weight_radius,
11 weight_thickness,
12 weight_lip_thickness,
13 arms,
14 wall_thickness,
15 bearing_radius,
16 bearing_thickness); }
17 else if (object == "cap") {
18 cap(bearing_inner_radius,
19 bearing_cap_footprint_radius,
20 bearing_cover_radius,
21 bearing_thickness); }
22
23 /*
24 This file is part of 3d-printables.
25
26 3d-printables is free software: you can redistribute it and/or modify
27 it under the terms of the GNU Affero General Public License as published by
28 the Free Software Foundation, either version 3 of the License, or
29 (at your option) any later version.
30
31 3d-printables is distributed in the hope that it will be useful,
32 but WITHOUT ANY WARRANTY; without even the implied warranty of
33 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 GNU Affero General Public License for more details.
35
36 You should have received a copy of the GNU Affero General Public License
37 along with challenge-bot. If not, see <http://www.gnu.org/licenses/>.
38 */