weldx
weldx copied to clipboard
Add or modify interfaces of `from_euler` functions to support quantities
While refactoring the LCS tutorial I used the from_euler
functions a lot. They currently require something like this:
WelDXClass.from_euler(sequence="x", angles=[1], degrees=False)
The combined parameters angles
and degrees
are basically just information that can be expressed by a quantity.
I think we should modify the interface to support pint.Quantity
to be consistent with the rest of the code base and we can write something like this instead:
WelDXClass.from_euler(sequence="x", angles="1rad")