← Back to team overview

yade-users team mailing list archive

Re: [Question #692031]: How to reset i.phys.shearForce to zero

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

i.phys.shearForce = Vector3.Zero should do the trick..
Python-exposed attributes usually show read/write access, unless otherwise specified (and you would get an error when trying to write in such cases, e.g. b.id = 1 # for b = Body() )

If I were you, I would check whether resultant forces on contacting
bodies are modified as you think they should in such case (even though
I'm not seeing any reason why they would not, at the moment)

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