/* GNU AGPLv3 (or later at your option) see bottom for more license info */ /* spin thing that erin likes */ $fn = 50; weight = "penny"; // weight = "608zz"; wall_thickness = 2; _608zz_radius = 22; penny_radius = 19.05 / 2; penny_thickness = 1.52; weight_radius = (weight == "penny") ? penny_radius : _608zz_radius; arms = 3; module spin(weight_radius, arms, wall_thickness) { _608zz_holder_radius = _608zz_radius + wall_thickness; circle(_608zz_holder_radius); weight_holder_radius = weight_radius + wall_thickness; for(arm = [0 : arms - 1]) { rotate(arm * 360.0 / arms) { translate([weight_holder_radius + _608zz_holder_radius, 0]) { circle(weight_holder_radius); } } } } /* This file is part of 3d-printables. 3d-printables is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 3d-printables is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with challenge-bot. If not, see . */