Simplifying Shape

EugeneZ's picture

Hello Team,
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:

ShapeUpgrade_UnifySameDomain unifiedShell;
unifiedShell.Initialize( shell, true, true, true );
unifiedShell.SetSafeInputMode( false );

TopoDS_Solid* pResult = new TopoDS_Solid();
builder.MakeSolid( *pResult );
builder.Add( *pResult, unifiedShell.Shape() );
return pResult;

EugeneZ's picture

Thank you, Guys for

Thank you, Guys for response.
I have solved my issue.

With respects, Eugene.

Copyright 2011-2019
Contact us