I have a suggestion for the next Caesar - Update :
I think User-Input for restraint that not in global axis are not necessary
with X (cosx,cosy,cosz ).
It is enough the user can click a new Button at the restraint that say
"Local". It is the Button empty, then the restraint is globel.
It is "Local" Button activated, then can Caesar self based on the element direction ( dx,dy,dz )and the restraint direction input (X,or Y,or Z)
the restraint local to define.