/* add one to have some thickness all around weight holes
for first layer */
- new_start = old_end / 8 + 1;
+ new_start = old_end / 16 + 1;
new_end = old_end;
old_range = old_end - old_start;
cylinder(h = actual_height + 0.1,
r = bearing_radius - bearing_lip_overhang,
center = true);
- cylinder(h = bearing_thickness + 0.1,
- r = bearing_radius + 0.1,
+ cylinder(h = bearing_thickness + 0.05,
+ r = bearing_radius + 0.15,
center = true);
for(arm = [0 : arms - 1]) {
rotate(arm * (360 / arms)) {
cylinder(h = actual_height + 0.1,
r = weight_radius - weight_lip_overhang,
center = true);
- cylinder(h = weight_thickness + 0.1,
- r = weight_radius + 0.1,
+ cylinder(h = weight_thickness + 0.05,
+ r = weight_radius + 0.15,
center = true); } } } } }
+module spin_donut(weight_radius,
+ weight_thickness,
+ bearing_radius,
+ bearing_thickness,
+ weight_lip_overhang,
+ bearing_lip_overhang,
+ wall,
+ arms) {
+ thicker_thickness = (bearing_thickness > weight_thickness)
+ ? bearing_thickness : weight_thickness;
+ height = thicker_thickness + wall * 2;
+
+ center_to_arm_center = bearing_radius + wall + weight_radius;
+
+ jelly_filled(height, bearing_radius);
+ for(arm = [0 : arms]) {
+ rotate(arm * (360 / arms)) {
+ translate([center_to_arm_center, 0, 0]) {
+ jelly_filled(height, weight_radius); } } } }
+
/*
This file is part of 3d-printables.