I've added macro to adjust z-order of side faces of 3D shape.
Right-click menu can adjust z-order semi-automatically,
and selection of 2 overlapping faces can swap z-order manually.
Attached drawing has the detailed description with examples
and the macro to adjust z-order, and of course with macro
to generate 3D shape.