BSpline Surface

I am creating a BSpline surface from a point cloud. Then using intersection algorithm, I get the points on the surface. However I have an error in the points close to 0.0001 mm when compared to the original surface. Any suggestions?

P G's picture

Hi

Using intersection of what entity with the b-spline surface
did u get the points ?
How r u computing the error ?
And what do mean by the original surface ?? U only have
the resultant b-spline surface.

regards
PG

sanjaycsolanki's picture

Using intersection of what entity with the b-spline surface
did u get the points ?
I create a grid of lines, and then use, "IntCurvesFace.IntCurvesFace_ShapeIntersector" to find the points on the surface.

How r u computing the error ?
And what do mean by the original surface ??
My original surface can be mathematically defined by an equation. I use this equation to create a point cloud. Fit a B-spline surface on this point cloud and then get a higher density point cloud using the intesection routine.

What I want to know is there something I am doing wrong or is it the limitation of Open cascade?

dvdjimmy's picture

Hi Sanjay,

I am currently also working on something very similar.

I have a Bspline Surface which I would like to intersect with another plane surface.

I have yet not found any function in opencascade that provides me with such an intersection routing (surface by surface). The result should be a b-spline curve.

Do you have some information that could help me out a little bit?

Thx in advance.

Joachim

P G's picture

Hi

U can get the b-spline curve by using this API only

GeomAPI_IntSS

class IntSS from GeomAPI

---Purpose: This class implements methods for
-- computing the intersection curves between two surfaces.
-- The result is curves from Geom. The "domain" used for
-- a surface is the natural parametric domain
-- unless the surface is a RectangularTrimmedSurface
-- from Geom.

dvdjimmy's picture

Ah,

thanks a lot.

Best regards,

Joachim