I have a shell box that is fused with a face that "splits" the box in two. The fuse-operation therefore divides 4 of the faces in two, increasing the original face count from 6 (for the box) to 11 (the original 6, the new 4 from the division and the new face). Then, I delete the new face, so it becomes a box with 10 faces. The edges from the now deleted face are still there, though. Now I take the common edge from the upper faces, then the two faces that share it. From each face I get their wire. Finally, I delete the edge from both wires.
In theory it looks fine, but the result is that one of the wires gets two edges removed, and the other one still has its 4 edges.
The common edge is being selected with the mouse, and the code finds the two faces without problems. I'm using the Remove command from BRep_Builder.
Any ideas on what's wrong with that approach?
Thanks in advance.