1 /* GNU AGPLv3 (or later at your option)
2 see bottom for more license info */
4 /* spin thing that erin likes */
11 penny_radius
= 19.05 / 2;
12 penny_thickness
= 1.52;
13 weight_radius
= (weight
== "penny") ? penny_radius
: _608zz_radius
;
16 module
spin(weight_radius
, arms
, wall_thickness
) {
17 _608zz_holder_radius
= _608zz_radius
+ wall_thickness
;
18 circle(_608zz_holder_radius
);
19 weight_holder_radius
= weight_radius
+ wall_thickness
;
20 for(arm
= [0 : arms
- 1]) {
21 rotate(arm
* 360.0 / arms
) {
22 translate([weight_holder_radius
+ _608zz_holder_radius
, 0]) {
23 circle(weight_holder_radius
); } } } }
26 This file is part of 3d-printables.
28 3d-printables is free software: you can redistribute it and/or modify
29 it under the terms of the GNU Affero General Public License as published by
30 the Free Software Foundation, either version 3 of the License, or
31 (at your option) any later version.
33 3d-printables is distributed in the hope that it will be useful,
34 but WITHOUT ANY WARRANTY; without even the implied warranty of
35 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 GNU Affero General Public License for more details.
38 You should have received a copy of the GNU Affero General Public License
39 along with challenge-bot. If not, see <http://www.gnu.org/licenses/>.