Brio Tunnel Block

This commit is contained in:
Stefan Thoss
2025-06-21 21:07:47 -07:00
parent 6a081d4d0f
commit 1062b2efa3
5 changed files with 47 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
/* https://github.com/BelfrySCAD/BOSL2 */
include <BOSL2/std.scad>
cube_h = 80;
cube_w = 80;
cube_d = 40;
rounding = 2;
oval_cutout_h = 15;
rect_cutout_w = 45;
rect_cutout_h = 65-oval_cutout_h;
$fn=150;
difference() {
cuboid([cube_w,cube_d,cube_h], rounding=rounding, anchor=[0,0,-1]);
group() {
rotate([90,0,0])
difference() {
cuboid([rect_cutout_w,rect_cutout_h,cube_d], chamfer=-rounding, anchor=[0,-1,0]);
translate([0,rect_cutout_h,0])
cuboid([2*rect_cutout_w,rect_cutout_h,cube_d], anchor=[0,-1,0]);
}
translate([0,0,rect_cutout_h])
resize([0,0,2*oval_cutout_h])
rotate([90,0,0])
cyl(h=cube_d, d=rect_cutout_w, chamfer=-rounding);
}
}