MuPAD cube can be obtained as a complex construction using spheres and cylinders. Here we show MuPAD cube that was created as a separate class in MuPAD (check plot::MuPADCube).
Image obtained in MuPAD.
The same model in JavaView.