How do I draw a box with six cylindrical holes, one at the center of each face?
The code for the box:
pts = {{-0.5, -0.5, -0.5}, {-0.5, 0.5, -0.5}, {-0.5, 0.5,
0.5}, {-0.5, -0.5, 0.5}, {0.5, -0.5, -0.5}, {0.5,
0.5, -0.5}, {0.5, 0.5, 0.5}, {0.5, -0.5, 0.5}};
pts3 = ScalingTransform[{6, 6, 6}][pts];
pts4 = ScalingTransform[{7, 7, 7}][pts];
hex = {{2, 3, 4, 1}, {1, 4, 8, 5}, {4, 3, 7, 8}, {3, 2, 6, 7}, {2, 1,
5, 6}, {5, 8, 7, 6}};
box = BoundaryMeshRegion[Join[pts3, pts4], Polygon[hex],
Polygon[hex + 8], MeshCellStyle -> Opacity[0.2]]