Albertus
unread,Dec 5, 2009, 6:55:30 PM12/5/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py...@googlegroups.com
Hi to all!
I'm an engineering student from Spain. I'm working in a project (the
design of an Stirling's engine) and I'm trying to use PyDy to get the
motion equations to calculate forces, etc.
I'm very new to Python and also to PyDy.
I'm trying to define a solid who rotates around the y axis of the
newtonian reference with this sentence:
C = N.rotate("C", 2, q1, I=(Ixc, Iyc, Izc, Jxyc, Jyzc, Jxzc))
But I get an error message:
Traceback (most recent call last):
File "motor.py", line 17, in <module>
C = N.rotate("C", 2, q1, I=(Ixc, Iyc, Izc, Jxyc, Jyzc, Jxzc))
File "/media/AL_USB/Documentos/ENGLOBE_Stirling/python/pydy.py", line
1298, in rotate
length 3")
NotImplementedError: angle must be a list/tuple
of length 3
What's wrong? I don't understand this error because I have seen in the
examples a lot of similar expressions.
I hope you could help me.
Thank You very much.
Alberto