Three grey cylinders perform the compression from three perpendicular directions. The mechanism has only one degree of freedom. Motions of three pistons (blue, yellow and violet) are interdependent.
Oblique angles of yellow and violet pistons determine edge ratio of the created rectangular cuboid.
It can be used also for 3D compression strength testing.