Did you check arguments before apply boolean operation?
Archived discussion
BRepAlgoAPI_Fuse causes shape corruption
Hello. When I try to fuse shape1 and shape2, the result shape is corrupted. Is there something wrong with the input shape?
[Code]
BRepAlgoAPI_Fuse fuseShape( shape1, shape2 );
fuseShape.Build();
BRepAlgoAPI_Check analyzer;
analyzer.SetData( fuseShape.Shape() );
analyzer.Perform();
analyzer.isValid(); // <- Standard_False
[Environment]
Opencascade: V7.5.3
OS: Windows 10 Pro 64bit
CPU: Intel(R) Core(TM) i7-8550U
Memory: 16GB
Discussion
4 archived replies
Posts are displayed in their archived order.
Hello Commenter-1.
Thank you for your reply.
When I checked arguments by following code, result was all OK.
[code]
BRepAlgoAPI_Check analyzer;
analyzer.SetData( shape1 );
analyzer.Perform();
analyzer.IsValid(); // <- Standard_True
analyzer.SetData( shape2 );
analyzer.Perform();
analyzer.IsValid(); // <- Standard_True
analyzer.SetData( shape1, shape2, BOPAlgo_FUSE );
analyzer.Perform();
analyzer.IsValid(); // <- Standard_True
Okey, I will try to look at your geometry.
Hi Commenter-1:
when I used BRepAlgoAPI_Fuse with two boxs,I get wrong result!