// -Shay #macro Beveled_Box (C1, C2, DEPTH) /*C1=Corner 1 / C2=Corner 1*/ #declare C1b = C1+; #declare C2b = C2-; #mesh2 { vertex_vectors {24, , , , , , , , , , , , , , , , , , , , , , , , } face_indices {46 <0,1,2>, <0,2,3>, <0,11,4>, <0,4,5>, <0,5,1>, <1,5,6>, <1,6,7>, <1,7,2>, <2,7,8>, <2,8,9>, <2,9,3>, <3,9,10>, <3,10,11>, <3,11,0>, <11,19,12>, <11,12,4>, <4,12,13>, <4,13,5>, <5,13,14>, <5,14,6>, <6,14,15>, <6,15,7>, <7,15,16>, <7,16,8>, <8,16,17>, <8,17,9>, <9,17,18>, <9,18,10>, <10,18,19>, <10,19,11>, <11,19,12>, <11,12,4>, <20,19,12>, <20,12,13>, <20,13,21>, <21,13,14>, <21,14,15>, <21,15,22>, <22,15,16>, <22,16,17>, <22,17,23>, <23,17,18>, <23,18,19>, <23,19,20>, <20,21,22>, <20,22,23>}} #end #macro Cut_Box (C1, C2, DEPTH) /*C1=Corner 1 / C2=Corner 1*/ difference { box {C1, C2} union { cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH} cylinder {, , DEPTH}}} #end