I am using BRepOffsetAPI_MakeOffsetShape to Offset a given face, as follows:
BRepOffsetAPI_MakeOffsetShape MakeOffsetShape ( face, offset, tolerance, BRepOffset_Skin, Standard_False, Standard_False, GeomAbs_Intersection );
TopoDS_Shape tdsResultShape = MakeOffsetShape.Shape();
It works pretty good for most cases, however for some faces I get the following exception:
>> Geom_RectangularTrimmedSurface::V parameters out of range
Have anyone faced a similar issue before and knows the reason why it happens?
Thank you very much in advance.