I am new to OpenCascade and I am looking at options to fit a BSpline/NURBS surface in OpenCascade from a set of points in 3D space.
The points that I have are a rectangular array in space. The number of points may vary from a few hundred to over 3000 points(10-20 streamlines of points).
i. When I try fitting a single surface through the points, I see the surface deforming at the edges and folding onto itself. I am using GeomAPI_PointsToBSplineSurface for fitting surface.
ii. When I create the surface as a set of patches instead of a single surface, the surface at the junction of two patches appears torn and there is no continuity. I am looking to get a C1 or C2 continuity between each patch surface.
iii. In between two streamlines of points I see large oscillation in surface if I create a surface covering many streamlines(of points).
Is there a way to
1. Getting the surface right in single patch without edge deformation.
2. Local modification of the surface at the patch junctions to get a C1 or C2 continuity between adjoining patches.
3. Reduce surface oscillations in the surface.
I looked into the documentation but could not find anything that might help. I would he highly obliged if anyone could help me with this problem or could point me into the right direction.
Thanks in advance.