ShapeUpgrade_UnifySameDomain class, an exception will be thrown.

I am using the ShapeUpgrade_UnifySameDomain class to modify the model. When processing using the following "shape.brep", the exception is raised in the build function. Is there any way to avoid this phenomenon?

[code]

try {
  ShapeUpgrade_UnifySameDomain unif( shape, Standard_True, Standard_True, Standard_True );
  unif.Build(); // <- exception
}
catch(...){
  // <- catch the exception
}

Best Regards.

Attachments: 
Keito Okajima's picture

[Environment]
Opencascade: V7.5.3
OS: Windows 10 Pro 64bit
CPU: Intel(R) Core(TM) i7-8550U
Memory: 16GB

Kirill Gavrilov's picture

And which exception do you see?

Mikhail Sazonov's picture

I have reproduced the exception in Draw:

Draw[7]> unifysamedom r a
An exception was caught 000001E4525CFB30 : Standard_Failure: Courbes non jointives

Keito Okajima, you are welcome to submit the bug in the bugtracker.

Keito Okajima's picture

Hello Kirill and Mikhail.
Thank you for your reply.
I submitted this issue.
https://tracker.dev.opencascade.org/view.php?id=33071