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

Extracted shape from BRepFilletAPI_MakeFillet object has lost faces

Paolo Tricerri's picture

Dear all,

I am new to open cascade and I am using it in a simple example. I am trying to construct a nut as the one on the left hand side of the pictureattached to this message. As you can see, it is given by an prism with hexagonal base. As you can see I am able to build the correct shape by using the BRepAlgoAPI_Cut class. However, when I try do apply the fillet to the edges and ask for the Shape from the BRepFilletAPI_MakeFillet class I get the shape on the right. The code I am using is the following:

TopExp_Explorer edgesExplorer(dShape,TopAbs_EDGE);
BRepFilletAPI_MakeFillet filletEdges(dShape);

while (edgesExplorer.More())
dShape = filletEdges.Shape();

where dShape is the shape of the difference between the prism and the cylinder.

I would appreciate and kind hint or suggestion on where I should look for the solution.
Kind regards,

Paolo Tricerri