t
This commit is contained in:
@@ -67,7 +67,7 @@ module trapezium_with_rectangle_2d(
|
||||
|
||||
// Combined shape extruded to 3D with M3 nut hole:
|
||||
rect_height_val = 1.7;
|
||||
extrude_height = 15;
|
||||
extrude_height = 10;
|
||||
|
||||
difference() {
|
||||
// Main extruded shape
|
||||
@@ -78,7 +78,7 @@ difference() {
|
||||
trap_height = 4.0,
|
||||
rect_width = 6.3,
|
||||
rect_height = rect_height_val,
|
||||
rect_offset = -rect_height_val/2 // Half of rectangle height to center it at base edge
|
||||
rect_offset = -rect_height_val/2 + 0.01 // Small overlap for clean union
|
||||
);
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ difference() {
|
||||
// M3 bolt hole through entire trapezium
|
||||
translate([0, 4.0/2, extrude_height/2]) {
|
||||
rotate([90, 0, 0]) {
|
||||
cylinder(h = 20, d = 3.2, center = true, $fn = 32); // Long M3 clearance hole
|
||||
cylinder(h = rect_height_val + 20, d = 3.2, center = true, $fn = 32); // Long M3 clearance hole
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user