← Back to team overview

yade-users team mailing list archive

Re: [Question #706302]: How to move O.bodies.append(facet()) to a circle or complex trajectory

 

Question #706302 on Yade changed:
https://answers.launchpad.net/yade/+question/706302

    Status: Open => Answered

Jan Stránský proposed the following answer:
Just adapt the example in previous answer to your needs:
###
O.engines = [
    TranslationEngine(..., ids=idsCyl2, label="translation"),
    PyRunner(iterPeriod=1,command="setTranslation()"),
]
...
def setTranslation():
    ...
    v = 1
    ...
###
Cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.