Contact point coordinates of two bodies

Asked by Przemek on 2020-01-22

Hi,

is there a simply way to get the coordinates of contact point of two bodies e.g sphere-sphere or sphere-box?
Now I'm using this script:

    for i in O.interactions:
        if not i.isReal: continue
        cp = i.geom.contactPoint

I want to made a thermal model, and I need those information to build a thermal resistance matrix.

BR
Przemek

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Przemek
Solved:
2020-01-22
Last query:
2020-01-22
Last reply:
2020-01-22
Robert Caulk (rcaulk) said : #1

That is the command for obtaining the contact point for sphere sphere or sphere box.

Przemek (przemekn) said : #2

Ok, thanks!