Intersection of a NurbsCurve and NurbsSurface?

Dear Forum Users,

I would like to get the curve parameter at the intersection of a NurbsCurve and NurbsSurface. I have found CurveSurface( ) method at the Rhino.Geometry.Intersect.Intersection class. However, it cannot be found and I think it is in the RhinoCommon library. My code is a C# console project, not a plug-in? Which method could you advise me for the same process executed in CurveSurface method for a C# console project?

I appreciate for your help.

Best Regards,

Ahmet

There is a big difference for a standalone Console project (only rhino3dm) and a plug-in for Rhino (uses RhinoCommon, includes the parts that are only available with a Rhino license).

Basically, you don’t have any advanced geometry modeling in a console project. That includes intersections and many other functions. The advanced functions need a Rhino license, and will only work with Rhino.

Possible solution:
You can use Rhino.Inside with your Console project to get the full force of Rhino, but that will require a Rhino license. For more info on Rhino.Inside, see Rhino - Rhino.Inside and specifically the example for a console project rhino-developer-samples/rhino.inside/dotnet/SampleHelloWorld at 7 · mcneel/rhino-developer-samples · GitHub

1 Like

@menno thank you for your help. Then I will try to get RhinoInside.

@menno, How could I download RhinoInside library? Is it possible by using NuGet package? If I purchase v8 edition, is it in the downloaded files coming with Rhinoceros?

The nuget package is here

When you are using the package with Rhino 8, configure it like so to make it load Rhino 8

RhinoInside.Resolver.UseLatest = true;
RhinoInside.Resolver.Initialize();
1 Like