Forum archiveIssue archiveOther usage issues

Archived discussion

BRepAlgoAPI_Cut returns empty compound in 6.7.0

Other usage issuesThu, 01/30/2014 - 15:006 replies

Browse this forum
QuestionAuthor

Hello guys!

I am cutting a cylinder with an infinite plane, which should not be a problem at all. It works pretty well in OCC 6.5.4, now i upgraded to 6.7.0 and BRepAlgoAPI_Cut now returns an empty compound (see attached file, which represents my setup).

OS: Windows 7

Regards,
Alex

Discussion

6 archived replies

Posts are displayed in their archived order.

01Author

What i forgot to say is that i created an infinite half space from the plane using BRepPrimAPI_MakeHalfSpace and cut the cylinder with this solid half space.

Regards,
Alex

02Commenter-1

Hi Alex, I have got exactly the same problem. Have you had any feedback on this? Is it necessary to create a planar face of limited extent?
Regards
Commenter-1

03Author

I registered the issue in Mantis Bugtracker (issue #24582), but haven't got feedback yet. Limited extent is not necessary, the plane in my attached picture is infinite. The white outline is just a visualisiation to indentify the plane in space.

Regards

04Commenter-1

Thanks, actually I meant 'as a workaround to this problem, create a planar face of limited extent' - which I shall try now. Please post back here if a fix or better solution appears!

05Author

Now I got it. Yes, a planar face of limited extent works to cut the cylindrical surface, I already tried that one. So that would be a workaround for this issue.

Regards

06Commenter-2

Dear Author,
I suggest you to register the issue in Mantis Bugtracker which is available via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.
Don't forget to attach shapes.
Best regards