Thu, 08/04/2022 - 10:21
Forums:
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
Attachments:
Thu, 08/04/2022 - 11:08
Did you check arguments before apply boolean operation?
Fri, 08/05/2022 - 02:15
Hello Eugene Zaliznyak.
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
Tue, 08/09/2022 - 11:33
Okey, I will try to look at your geometry.
Tue, 08/30/2022 - 09:59
Hi Eugene Zaliznyak:
when I used BRepAlgoAPI_Fuse with two boxs,I get wrong result!