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

Related pages

Avoid the copy of edges in a BRepFill_Filling.

Alejandro Vázquez's picture


I'm trying to get a face from a sort of edges when a wire is not planar and the 'BRepBuilderAPI_MakeFace' doesn't work.

I found the BRepFill_Filling operator to fix my problem, it works, however this operator makes a copy of the added edges.

I want the same original edges in the face to avoid the sew of the shape.

I use this code:

BRepFill_Filling makeFilling(3, 15, 2, false, 0.00001, 0.0001, 0.01, 0.1, 8, 9);
TopExp_Explorer edge_explorer( wire, TopAbs_EDGE );
for( ; edge_explorer.More(); edge_explorer.Next() )
makeFilling.Add( TopoDS::Edge( edge_explorer.Current() ), GeomAbs_C0, true );

face = makeFilling.Face();

Is there any option to avoid coping the edges to get a TopoDS_Face?

Or instead, Could I find a surface from the edges and later make a TopoDS_Face?

Thanks in advance!


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.