Brio Tunnel Block
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
@@ -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);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user