SDK: Create Surface from 2, 3 or 4 curves?

Strange, I don’t seem to find a constructor in the SDK for creating a surface from 2, 3 or 4 curves. What method(s) to look for?

Fig. 1. What SDK method does the same thing as this?

// Rolf

Hi Rolf

Maybe this one ? :slight_smile:

Thanks, CreateEdgeSurface must be what I’m looking for!

How self evident wasn’t it that the Surface class or NurbsSurface didn’t give clue…? :slight_smile:

The search field in the SDK is more or less worthless when you don’t have the exact term.

// Rolf

Hehe … searching RhinoCommon docs requires quite a bit of getting used to. :wink:
AFAIK, Rhino often ‘thinks in terms’ of Brep’s


I made a Grasshopper solution (including a C# variant). Don’t know how flexible and reliable it is in finding the nearest corners though. It’s based on picking two edges and the surface to match. Internalized example: (99.3 KB)

// Rolf