diff --git a/test_box.png b/test_box.png new file mode 100644 index 0000000..52d7513 Binary files /dev/null and b/test_box.png differ diff --git a/test_box.scad b/test_box.scad new file mode 100644 index 0000000..c9df449 --- /dev/null +++ b/test_box.scad @@ -0,0 +1,21 @@ +$fn=60; + +include + +box_width=150; +box_length=100; +box_height=60; +e=3; +rd=1.5; + +module box() { + rect_tube(size=[box_width, box_length], wall=3, h=box_height, rounding=1.5, anchor=BOT); + cuboid([box_width, box_length, e], rounding=rd); +} + +difference() { + box(); + translate([0,box_length/2-e/2,box_height*3/4]) cuboid([box_width/3, e*2, box_height/2+e/2], rounding=-box_width/10, edges=[TOP], except=[FRONT,BACK]); +translate([0,box_length/2-e/2,box_height/4+e]) cuboid([box_width/3, e*2, box_height/2], rounding=box_width/10, edges=[BOT], except=[FRONT,BACK]); +} +