For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Common edge removal

Martin's picture


I'm trying to merge two rectangular faces together, like in the image attached, the small face has it's edge completely shared and the big one has a different edge only partially shared.
As far as I've investigated OCC, this is not a topological problem but what I'm trying to archive is to change the underlying geometry and fuse the faces together.

I've already tried with topological tools like BRepAlgoAPI_Fuse, BRepBuilderAPI_Sewing, etc.

BRepFeat_Gluer is something that I'm having trouble even trying since I think it could solve the case where both the edges are shared completely (example: two boxes 1 1 1 one above the other).

The other thing that came in mind is to make a boolean common operation between the bounding box (bounding rectangle in 2D case) and the two faces, but the common operation returned the split faces anyhow.

Does anyone knows how to geometrically fuse two coplanar faces?

Pawel's picture

Hi Martin,

there is a gluer example in the MFC samples (Modeling) where the glued boxes are not completely shared.

I haven't tried it but it looks quite like what you want to achieve.


Pawel's picture

I meant: where the edges of the glued boxes are not completely shared.