Hi Dave,
I answered first to your email since I saw it before this post, but I
got a 'delivery failed' email back. So I'll paste the email here:
[Original email greeting omitted to avoid redundancy],
Sorry, I'm not able to find that image in my computer (I probably
deleted it), but the code is very simple. Just paste the following in
a vb.net component:
Dim nc(3) As OnNurbsCurve
For i As Integer = 0 To x.count - 1
Dim crv As IOnCurve = x(i)
nc(i) = New OnNurbsCurve()
crv.GetNurbForm(nc(i))
Next
A = RhUtil.RhinoCreateEdgeSrf(nc)
The original code from the sdk examples is larger, but I stripped it
out of all the error checking since it's not really required in
grasshopper. It's the minimum code necessary for it to work (i think).
In the 'x' input, connect a curve parameter with 4 referenced lines,
then set it as 'list' and as 'oncurve'. I'd like to clarify that this
is not a surface from a network of curves, but rather a surface from
edge curves.
On Feb 27, 7:12 pm, holbrd <[email protected]> wrote:
> Visose-
> It seems for some reason the .jpg that you posted above is no
> longer available to preview i was wondering if you could re-post this
> image.
>
> On Jan 22, 2:07 pm, visose <[email protected]> wrote:
>
> > You can using a scripting
> > component:http://grasshopper3d.googlegroups.com/web/edgesrffromrectangle.jpg
> > Sorry, I posted this a while ago and I don't think i still have the
> > definition, but it's very little code.
>
> > On Jan 22, 6:58 pm, holbrd <[email protected]> wrote:
>
> > > Is there a way to create a surface from 4 or morecurves?, like the
> > > rhino command surface fromnetworkofcurves.
>
> > >http://grasshopper3d.googlegroups.com/web/surface+from+network+of+cur...