Page 1 of 1

Coinciding surfaces in neighbor faces

Posted: Tue Dec 07, 2021 4:41 am
by Albert Rivers
Hello,

I tried to road a IGES model in my application, but have encountered faces with coinciding surfaces around the shared edge. My algorithm breaks because there is no angle at the edge.
Is there a way to merge the two into one face?

Re: Coinciding surfaces in neighbor faces

Posted: Wed Dec 08, 2021 12:12 am
by Prashant Kande
Hello Albert

Yes adjacent faces can be either coplanar or have identical surface. It would be the case if you, say, have divided a face.

We do not have built in functionality for that. I am not completely sure it is worth it. You can try merging wires for the two faces by removing the shared edge with IBRepWire_DG >(query) IBRepShape_DG.RemoveSubShape(), adding edges of the second wire with IBRepWire_DG.AddEdge()
and removing the second face with IBRepShape_DG.RemoveSubShape().

Regards