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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
next time please use "Ask a question" button at [1].
Also please read [2].

example:
###
for b in O.bodies:
  print "Body",b.id
  print "  displ",b.state.displ()
  print "  vel  ",b.state.vel
  for i in b.intrs():
    print "  Intr with",i.id2 if i.id1 == b.id else i.id1
    print "    cp",i.geom.contactPoint
    print "    f ",i.phys.normalForce+i.phys.shearForce
###

cheers
Jan

@Colin, thanks for moving

[1] https://launchpad.net/yade
[2] https://yade-dem.org/wiki/Howtoask

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

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

Reply via email to