Update a face after changes to Handle(Geom_BSplineSurface)
I'm having some troubles updating a face that is:
- loaded from an iges file
- converted to NURBS
- modified changing NURBS poles.
After these operations I want to retrieve new triangulation and display it though my graphics library.
It works correctly if I create a new face using the Handle(Geom_BSplineSurface) modified:
BRepBuilderAPI_MakeFace newFace(bSplineSurface, 0.001);
If I try to update the old face (that has Handle(Geom_BSplineSurface) correctly modified) I display always the old face without changes introduced through bSplineSurface. After reading other similar posts I have tried the following solutions but none was successfull:
1) Using ShapeBuild_ReShape
2) Using BRepTools_ReShape
Where could be the problem? I'm using OpenCascade 6.5.2 with Visual Studio 2005 on Windows XP.
Thanks in advance,