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
Attachments: 
Eugene Zaliznyak's picture

Did you check arguments before apply boolean operation?

Keito Okajima's picture

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

Eugene Zaliznyak's picture

Okey, I will try to look at your geometry.