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 );
unifiedShell.Build();

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.

www.opencascade.com

Copyright 2011-2019
OPEN CASCADE SAS
Contact us