yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23755
Re: [Question #692328]: How to export the overlap data
Question #692328 on Yade changed:
https://answers.launchpad.net/yade/+question/692328
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
###
overlaps = [i.geom.penetrationDepth for i in O.interactions]
with open("overlaps.dat","w") as f: f.writelines(str(o)+"\n" for o in overlaps)
###
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.