fix q module cylinder heights

This commit is contained in:
2025-07-04 02:07:04 -07:00
parent 7ae48d6e4f
commit b6cbc6d091

View File

@ -22,21 +22,21 @@ armCtc = 37;
armLength = 126; armLength = 126;
// QLS spaced cylinders for add or remove // QLS spaced cylinders for add or remove
module qls(diam = 6) { module qls(diam = 6, qHeight = 99) {
translate([qlsHoriz / 2, qlsVert / 2, 0]){ translate([qlsHoriz / 2, qlsVert / 2, 0]){
cylinder(44, d = diam, center = true); cylinder(qHeight, d = diam, center = true);
} }
translate([-1 * qlsHoriz / 2, qlsVert / 2, 0]){ translate([-1 * qlsHoriz / 2, qlsVert / 2, 0]){
cylinder(44, d = diam, center = true); cylinder(qHeight, d = diam, center = true);
} }
translate([0, -qlsVert / 2]){ translate([0, -qlsVert / 2]){
cylinder(44, d = diam, center = true); cylinder(qHeight, d = diam, center = true);
} }
} }
module tcqls(diam = 6) { module tcqls(diam = 6, qHeight = 99) {
translate([qlsShiftX, qlsShiftY, 0]){ translate([qlsShiftX, qlsShiftY, 0]){
rotate(qlsCant, [0, 0, 1]){ rotate(qlsCant, [0, 0, 1]){
qls(diam); qls(diam, qHeight = qHeight);
} }
} }
} }
@ -57,7 +57,7 @@ difference() {
translate([ 0, armLength - armSize / 2, 0 ]) { translate([ 0, armLength - armSize / 2, 0 ]) {
cube([ armCtc + armSize - minkRad * 2 , armSize - minkRad * 2, 1], center = true); cube([ armCtc + armSize - minkRad * 2 , armSize - minkRad * 2, 1], center = true);
} }
tcqls(12 - minkRad); tcqls(12 - minkRad, qHeight = 1);
} }
// mink sphere // mink sphere