yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #19913
Re: [Question #681356]: How to get the informations of interaction between polyhedras?
Question #681356 on Yade changed:
https://answers.launchpad.net/yade/+question/681356
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> PolyhedraGeom().contactPoint" ... and
"PolyhedraGeom().penetrationVolume
PolyhedraGeom() creates new instance, with no relation to any existing interactions. Do something like:
###
for i in O.interactions:
pv = i.geom.penetrationVolume
cp = i.geom.contactPoint
###
or
###
i = O.interactions[id1,id2]
i.geom.whatever
###
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.