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?
Coinciding surfaces in neighbor faces
-
- Posts: 121
- Joined: Mon Apr 04, 2016 4:55 am
Re: Coinciding surfaces in neighbor faces
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
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