Fixed reel top and made it truly parametric

This commit is contained in:
mmcwilliams 2024-02-18 16:17:53 +01:00
parent 87ce37d890
commit da7856563d
1 changed files with 29 additions and 25 deletions

View File

@ -52,6 +52,8 @@ module reel_frame () {
} }
module reel_top () { module reel_top () {
difference () {
union () {
//outer wall //outer wall
translate([0, 0, SPOKE_H / 2]) difference () { translate([0, 0, SPOKE_H / 2]) difference () {
cylinder(r = REEL_D / 2, h = SPOKE_H, center = true); cylinder(r = REEL_D / 2, h = SPOKE_H, center = true);
@ -62,10 +64,6 @@ module reel_top () {
translate([0, 0, SPOKE_H / 2]) difference () { translate([0, 0, SPOKE_H / 2]) difference () {
cylinder(r = REEL_INNER_D / 2, h = SPOKE_H, center = true); cylinder(r = REEL_INNER_D / 2, h = SPOKE_H, center = true);
cylinder(r = (REEL_INNER_D / 2) - REEL_INNER_WALL_W, h = REEL_INNER_H + 1, center = true); cylinder(r = (REEL_INNER_D / 2) - REEL_INNER_WALL_W, h = REEL_INNER_H + 1, center = true);
translate([0, 0, -SPOKE_H / 2]) intersection () {
cylinder(r = 30.5 / 2, h = 6, center = true);
rotate([0, 45, 0]) cube([3, 31, 3], center = true);
}
} }
translate([0, 0, SPOKE_H / 2]) difference () { translate([0, 0, SPOKE_H / 2]) difference () {
@ -81,6 +79,12 @@ module reel_top () {
} }
} }
} }
}
intersection () {
cylinder(r = 30.5 / 2, h = 6, center = true);
rotate([0, 45, 0]) cube([3, 31, 3], center = true);
}
}
} }