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
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 ?
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Brep_CreateEdgeSurface.htm
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…?
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.
AFAIK, Rhino often ‘thinks in terms’ of Brep’s
GH EXAMPLE
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:
MatchByTwist.gh (99.3 KB)
// Rolf