This commit is contained in:
dingfeng.wong
2025-07-22 00:28:15 +08:00
parent 6b6ae9911a
commit 49a7d3f283
2 changed files with 70 additions and 6 deletions
+7 -6
View File
@@ -63,11 +63,12 @@ module trapezium_with_rectangle_2d(
//translate([30, 0]) rectangle_2d(width = 8, height = 5);
// Combined shape:
rect_height_val = 1.7;
trapezium_with_rectangle_2d(
trap_base_width = 10.3,
trap_top_width = 6.3,
trap_height = 4.3,
trap_base_width = 10.95,
trap_top_width = 5.5,
trap_height = 4.0,
rect_width = 6.3,
rect_height = 1.7,
rect_offset = -0.85 // Half of rectangle height to center it at base edge
);
rect_height = rect_height_val,
rect_offset = -rect_height_val/2 // Half of rectangle height to center it at base edge
);