Coinciding surfaces in neighbor faces

Technical discussions
Post Reply
Albert Rivers
Posts: 1
Joined: Tue Dec 07, 2021 4:36 am

Coinciding surfaces in neighbor faces

Post 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?

Prashant Kande
Posts: 94
Joined: Mon Apr 04, 2016 4:55 am

Re: Coinciding surfaces in neighbor faces

Post 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

Post Reply