Forum archiveIssue archiveOther usage issues

Archived discussion

BRepAlgoAPI_Cut function

Other usage issuesThu, 01/27/2011 - 09:012 replies

Browse this forum
QuestionAuthor

Hi. I have a question using BRepAlgoAPI_Cut

In Document, there is a example of cutting 3D Object. (Modeling Algorithms User's Guide page 85). and Example coding is below.

TopoDS_Shape A = .....;
TopoDS_Shape B = .....;
TopoDS_Shape S = BRepAlgoAPI_Cut(A,B);

If i own TopoDS_Shape which Type is Wire or Edge .. etc, Can I use this function?

and Do i get right results??

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hi,
You can use these types for the first argument of Cut function.
It seems the documentation of the BooleanOperation should be improved to define clear
valid types of arguments.
Regards

02Author

Hi sergey~

Thanks to reply. I check this operator using some example.

first, if I have two object of TopoDS_Wire(or TopoDS_Edge), results is not good . because, maybe they are 1 Dimensional object.

So, I change the object like 2 Dimensional(TopoDS_Face), I get a wanted Results.

thanks

Yeon choel