Comment #3 on issue 2781 by hazelnu...@gmail.com: orientnew in sympy.physics.mechanics does not support indices
http://code.google.com/p/sympy/issues/detail?id=2781
One way to fix this would be to add kwargs to orientnew and passing them to the constructor of the new reference frame, line 958 of essential.py
A cleaner solution would be to add a class member variable (static class member? not sure of terminology here) that you set once at the beginning of your script, like:
ReferenceFrame.indices = ('1', '2', '3')
and then these would be used for the remainder of your script and you wouldn't have to constantly be passing in the indices argument.
However, this approach could get tricky if you have some frames you want to index with the 'x', 'y', 'z' convention and others which you want to use the '1', '2', '3' convention. Requiring the user to specify indices all the time would avoid this but be a bit more typing and visual noise for derivations that use a single set of indices other than the 'x', 'y', 'z' ones.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.