Work on full base plate

This commit is contained in:
Matt McWilliams 2024-10-22 20:59:47 -04:00
parent 94073056d9
commit da710a8d1c
1 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,7 @@ module bolex_debug (pad = 0) {
translate([0, 0, 12.51]) cylinder(r = R(33), h = 3, center = true, $fn = 90); translate([0, 0, 12.51]) cylinder(r = R(33), h = 3, center = true, $fn = 90);
translate([3 + 18.5, 17 + 1.5, 50 - 4]) rotate([0, 90, 0]) cylinder(r = R(100), h = 36, center = true, $fn = 180); translate([3 + 18.5, 17 + 1.5, 50 - 4]) rotate([0, 90, 0]) cylinder(r = R(100), h = 36, center = true, $fn = 180);
translate([5.55, 0 + 3, 39]) rotate([0, 90, 0]) rounded_cube([50, 135, 67.9], d = 20, center = true, $fn = 50); translate([5.55, 0 + 4, 38]) rotate([0, 90, 0]) rounded_cube([50, 135, 67.9], d = 20, center = true, $fn = 50);
} }
module debug () { module debug () {
@ -45,7 +45,7 @@ module base_plate (pos = [0, 0, 0], rot = [0, 0, 0], rails = "15mm") {
translate(pos) rotate(rot) { translate(pos) rotate(rot) {
difference () { difference () {
union () { union () {
rotate([0, 90, 0]) rounded_cube([31, 90.5, 55.3], d = 4, center = true, $fn = 40); translate([0, 40 / 2, 0]) rotate([0, 90, 0]) rounded_cube([31, 90.5 + 40, 55.3], d = 4, center = true, $fn = 40);
if (rails == "15mm") { if (rails == "15mm") {
translate([60 / 2, -20, Rails15mmZ]) { translate([60 / 2, -20, Rails15mmZ]) {
rotate([90, 0, 0]) cylinder(r = R(24), h = 20, center = true, $fn = 60); rotate([90, 0, 0]) cylinder(r = R(24), h = 20, center = true, $fn = 60);
@ -66,10 +66,11 @@ module base_plate (pos = [0, 0, 0], rot = [0, 0, 0], rails = "15mm") {
} }
} }
cylinder(r = R(10), h = 60, center = true, $fn = 40); cylinder(r = R(10), h = 60, center = true, $fn = 40);
translate([0, 0, -38]) cylinder(r = R(17), h = 60, center = true, $fn = 40); translate([0, 0, -37]) cylinder(r = R(17), h = 60, center = true, $fn = 40);
bolt_voids(); bolt_voids();
} }
translate([-20, 58, 0]) cube([40, 40, 40], center = true); translate([-20, 52, 0]) cube([40, 30, 40], center = true);
translate([0, 77.8, -9]) rotate([0, 90, 0]) cylinder(r = R(5.25), h = 100, center = true, $fn = 50);
translate([0, 7.8, -9]) rotate([0, 90, 0]) cylinder(r = R(5.25), h = 100, center = true, $fn = 50); translate([0, 7.8, -9]) rotate([0, 90, 0]) cylinder(r = R(5.25), h = 100, center = true, $fn = 50);
translate([0, -37.8, -9]) rotate([0, 90, 0]) cylinder(r = R(5.25), h = 100, center = true, $fn = 50); translate([0, -37.8, -9]) rotate([0, 90, 0]) cylinder(r = R(5.25), h = 100, center = true, $fn = 50);