I would like to be able to get the original dimensions of an object after shear has been applied. 
The dimensions of the new object are now different from the original cube. Can I determine what the original dimensions are from Python? I've read in other stack exchange questions that I can find the object's original size from the object's mesh (such as from this question: How to get the base dimensions of an object (ignoring all of it's modifiers)?) But when I look at the vertices of the mesh as explained in the answer, the vertices refer to the sheared object and not the original object.
A> Visual Geometry to Mesh, there's no way to get the original dimensions unless you assume that the original shape was a cuboid with all angles equal to 90 degrees. Is that the assumption you are making? Then it should be solvable. – Harry McKenzie Jan 09 '23 at 03:58