Amazing, but it works! Thank you! ______________________________ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] С наилучшими пожеланиями [UKR] З найкращими побажаннями
Anton Gladkyy 2009/6/26 Václav Šmilauer <[email protected]> > > pp={'se3':[center[0],center[1],center[2],1,0,0,0],'refSe3':[center[0],center[1],center[2],1,0,0,0],'young':young,'poisson':poisson,'frictionAngle':frictionAngle,'inertia':[0,0,0], >> 'velocity':[velocity[0],velocity[1],velocity[2]]} >> > You have to use TranslationEngine and subscribe facets to it. That's what I > do. See e.g. scripts/test/Dem3DofGeom.py for an example. The sphere is moved > that way. Facet ids are returned by O.bodies.append. > > ids=O.bodies.append([utils.facet(...),utils.facet(...)]) > > print ids ## [0,1,2,3,4] > > O.engines=[...,TranslationEngine(subscribedBodies=ids,translationAxis=[0,0,1],velocity=1),...] > > HTH, Vaclav > > > > _______________________________________________ > 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
