I have some shell which has a lot of faces on the same plane ( like chess cells 8x8 ). I try to use ShapeUpgrade_UnifySameDomain, but without success.
Could you say what is wrong or advise another way to simplify shell.
Thanks in advance.
With respects, Eugene.
Here my code below:
unifiedShell.Initialize( shell, true, true, true );
unifiedShell.SetSafeInputMode( false );
TopoDS_Solid* pResult = new TopoDS_Solid();
builder.MakeSolid( *pResult );
builder.Add( *pResult, unifiedShell.Shape() );