Thu, 04/25/2019 - 10:05
Forums:
Hi everyone,
I'm trying to find the collision of 2 parts using "boolean common" operation (BRepAlgoAPI_Common). The parts are colliding with each other, but I can't get the common parts between those parts. I tested the parts in both Test Harness & C++ coding, both give incorrect results.
I've attached STEP files and error image for your kind reference
Attachments:
Fri, 04/26/2019 - 06:41
Using BRepAlgoAPI_Common,two shape should have same shape type,for example,two solid.
For your files,you can use BRepAlgoAPI_Section to get the interection lines, I've attached the BRepAlgoAPI_Section result,is that you expect?
Fri, 04/26/2019 - 11:34
Hi, I have made a test with BRepAlgoAPI_Section and BRepAlgo_Section: Test
Fri, 04/26/2019 - 14:41
Dear Guido van Hilst,
Thank you for the support. I'll verify my coding with your advice.
Sun, 04/28/2019 - 12:00
Dear Guido van Hilst,
Now, I got the intersecting curves at both shapes, but those are not enough to form a face or shape. Is there is an idea to form a face or shape with disconnected curves? Thank you for your support. I've attached images, STEP file for your kind reference.
Mon, 04/29/2019 - 04:53
use class BOPAlgo_Splitter,the shell split the cylinder,you can get the face of a solid.
Mon, 04/29/2019 - 10:30
Dear liuhuiwei,
I'll try it out, Thanks a lot.