I am new to OCC. So please excuse me if I am posting in wrong section.
I am trying to solve a torque equation and for that I need the contact points between any two solid parts. For example if a cube is on top of a second cube they will have infinite contact points. But I need the extreme points of the contact area. In this case there will be four points.
Please let me know if there is any inbuilt method for this or guide me how to proceed.
Discussion
4 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hi Author,
you can try using Boolean Operations to find the contact shape between two models and then process the contact shape in order to find the extreme points. In case like above maybe you could also use bounding boxes to get the corner points.
Commenter-1
02Author
Hi Pawel,
I am trying to use BRepAlgoAPI_Section to calculate the intersection shape of two shapes.
I also imported two classes