I met an interesting problem. I had a fun solving it… And I think it might be interesting for someone who want to practice in logic and math

Here is the task:

#1 we have a Box object

by default Width is X, Length is Y axis, and Height is Z

we need to re-orient the box where by order (XYZ, XZY, YXZ, YZX, ZXY, ZYX) is specified dimensions (shortest , medium, longest)

for example XYZ means: X-shortest, Y - medium, Z - longest

of course after re-ordeing object has to keep it’s shape and view position and orientation