Given three non-square points ABP within a plane, of which A and B can move vertically while P is fixed, the conversion from unaligned tilting to plane orthogonal rotation to an arbitrary XYZ coordinate frame is not trivial and raises the following challenges:
- Requested a pure rotation around the X or Y axes, yield the actuation needed in terms of A and B vertical position.
- Requested a vertical movement in A or B, adjust its partner height so that the plane rotation is square with a fixed coordinate frame.
This script simulates and solves the two above scenarios.