First I make 27 Cube and set a different angle to each cube. But I didn't get a satisfactory result. I need to be more scientific about this problem.
boolean in maya