stabilizer cutout
This commit is contained in:
@@ -14,6 +14,10 @@ notch_height = 4.0;
|
|||||||
plate_thickness = 1.5;
|
plate_thickness = 1.5;
|
||||||
margin = 5.0;
|
margin = 5.0;
|
||||||
|
|
||||||
|
// Stabilizer
|
||||||
|
stab_w = 6.9;
|
||||||
|
stab_h = 11.2;
|
||||||
|
|
||||||
// --- Calculated Plate Dimensions ---
|
// --- Calculated Plate Dimensions ---
|
||||||
plate_width = (columns - 1) * u_size + switch_outer_width + (margin * 2);
|
plate_width = (columns - 1) * u_size + switch_outer_width + (margin * 2);
|
||||||
plate_height = (rows - 1) * u_size + switch_total_height + (margin * 2);
|
plate_height = (rows - 1) * u_size + switch_total_height + (margin * 2);
|
||||||
@@ -35,11 +39,8 @@ module stabilizer_cutout(wire_len_u) {
|
|||||||
union() {
|
union() {
|
||||||
switch_cutout();
|
switch_cutout();
|
||||||
for(m = [-1, 1]) {
|
for(m = [-1, 1]) {
|
||||||
translate([m * dist/2, 0, 0]) {
|
translate([m * dist/2, 0, 0])
|
||||||
cube([3.3, 14.0, plate_thickness + 2], center=true);
|
cube([stab_w, stab_h, plate_thickness + 2], center=true);
|
||||||
translate([m * 0.5, 0, 0])
|
|
||||||
cube([4.3, 8.0, plate_thickness + 2], center=true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,11 @@ switch_total_height = 14.2;
|
|||||||
notch_height = 4.0;
|
notch_height = 4.0;
|
||||||
|
|
||||||
plate_thickness = 1.5;
|
plate_thickness = 1.5;
|
||||||
margin = 5.0;
|
margin = 5.0;
|
||||||
|
|
||||||
|
// Stabilizer
|
||||||
|
stab_w = 6.9;
|
||||||
|
stab_h = 11.2;
|
||||||
|
|
||||||
// --- Calculated Plate Dimensions ---
|
// --- Calculated Plate Dimensions ---
|
||||||
plate_width = (columns - 1) * u_size + switch_outer_width + (margin * 2);
|
plate_width = (columns - 1) * u_size + switch_outer_width + (margin * 2);
|
||||||
@@ -30,13 +34,15 @@ module stabilizer_cutout(is_vertical=false) {
|
|||||||
dist = 23.85; // Standard 2u stabilizer distance
|
dist = 23.85; // Standard 2u stabilizer distance
|
||||||
union() {
|
union() {
|
||||||
switch_cutout();
|
switch_cutout();
|
||||||
rotate([0, 0, is_vertical ? 90 : 0]) {
|
|
||||||
for(m = [-1, 1]) {
|
// Stabilizer housing cutouts
|
||||||
translate([m * dist/2, 0, 0]) {
|
for(m = [-1, 1]) {
|
||||||
cube([3.3, 14.0, plate_thickness + 2], center=true);
|
if (is_vertical) {
|
||||||
translate([m * 0.5, 0, 0])
|
translate([0, m * dist/2, 0])
|
||||||
cube([4.3, 8.0, plate_thickness + 2], center=true);
|
cube([stab_h, stab_w, plate_thickness + 2], center=true);
|
||||||
}
|
} else {
|
||||||
|
translate([m * dist/2, 0, 0])
|
||||||
|
cube([stab_w, stab_h, plate_thickness + 2], center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user