ShapeUpgrade_UnifySameDomain class hang up

Hello.

In order to remove the seams that are created after joining the shapes, the following processing is performed on the shapes.
However, a hang occurs during this process.

[Program (OpenCascade 7.4.0)]
#include <ShapeUpgrade_UnifySameDomain.hxx>

ShapeUpgrade_UnifySameDomain unif( shape, Standard_True, Standard_True, Standard_False );
unif.Build(); // <- hang up

Do you know how to solve this problem?

Best regards.

Attachments: 
Keito Okajima's picture

Is there any good way?
Even if I use this model, application is frozen.

Attachments: 
Kirill Gavrilov's picture

Script does hang on OCCT 7.4.0, but works fine on OCCT 7.5.0. Consider upgrading to newer version of Open CASCADE Technology.

pload MODELING VISUALIZATION
restore shape_3.brep b
unifysamedom r b
vinit View1
vdisplay r -dispMode 1
vfit
Keito Okajima's picture

Thank you for your reply.
I will try it.