>  File "ScriptGenerateCylindricalPacking.py", line 78, in <module>
>   
> DeusExMachina('TranslationEngine',{'subscribedBodies':[41],'velocity':[0,0,-1]})
>
> RuntimeError: Could not extract type double
I am sorry, this was my fault.. If you look at TranslationEngine, it
defines Real velocity (hence trying to extract (i.e. convert to c type)
double from the list [0,0,-1], which fails -- it should be a number) and
Vector3r translationAxis. Therefore, the correct way would be

 
DeuxExMachina('TranslationEngine',{'subscribedBodies':[41],'velocity':1,'translationAxis':[0,0,-1])

(Not very logical, though, it would be enough to have one velocity
parameter instead of two...)

Vaclav


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to