It just 3 lines of program OpenScad !
rotate([45,0,0]) cube([40,40,40], true);rotate([0,45,0]) cube([40,40,40], true);rotate([0,0,45]) cube([40,40,40], true);