Hello to all,
in C# I’m trying to project a curve on to a surface. The surface is trimmed.
Then I convert the surface to brep.
Brep bed = srf.ToBrep(); bed.Compact();
then I project the curve onto the brep like this:
arrProCrv = Curve.ProjectToBrep(c, bed, vecDir, 0.01);
what I got is the projection of the curve in the original surface and not in the actual geometry.
What I need as result are the blue lines.
I also try transforming the brep to mesh.
should I project onto the brep face instead of the brep?
any clue will help.
thanks in advance