I'm sorry, I have played with different syntax, but still problems with
adding velocity to these particles.
How can I Add, for example, velocity?

temp_vel = {'velocity': [0,-1,0]}
O.bodies.append(utils.regularSphereOrthoPack([0,0,4],extents=2,radius=.1,gap=.1,color=(0,1,0)))

Thank you very much,

PS Sorry, for novice questions

Best Regards / Mit freundlichen Grüßen / С наилучшими пожеланиями / З
найкращими побажаннями

Anton Gladkyy


2009/5/25 Václav Šmilauer <[email protected]>

>
>  Ok, works! Thank you!
>>
>>  But how can I add such parameters for spheres as velocity, density,
>> frictionAngle etc?
>>
> All keyword parameters that are not specified in the def(...) argument list
> will end up in the **kw dictionary, which is passed as-is to utils.sphere.
> Therefore, you can use those as usually.
>
> V.
>
>
>
> _______________________________________________
> Mailing list: 
> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : [email protected]
> Unsubscribe : 
> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
yade-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-users

Reply via email to