What would be wrong about this code in grasshopper? It apparently
does the exact same thing:
Dim points() As on3dpoint = {Points0,Points1,Points2}
Dim crv As New OnNurbsCurve
crv.CreateClampedUniformNurbs(3, 3, points)
Curves = crv
I would like to know what disadvantages we may face by just writing
the minimum code necessary to work. Will it run slower? crash rhino?
Remember most people here are architects or designers, completely
different people from the ones using the SDK.
On Dec 15, 9:04 pm, visose <[email protected]> wrote:
> Rajaa, i think he wants an interpolated curve, in your example the
> curve doesn't go through the middle point. Also, you can avoid the
> for..next loop by not setting the inputs as a list. This is my
> opinion, but i think that people that are interested in grasshopper,
> are also interested in coding as minimum as possible, that also
> includes avoiding all the error checking stuff. I thought grasshopper
> wouldn't crash without error checking, it just returned an error
> thought the 'out' output.
>
> On Dec 15, 6:56 pm, Rajaa <[email protected]> wrote:
>
> > Hi,
> > I posted an example "Create curves from lists of points" in the
> > following
> > page:http://en.wiki.mcneel.com/default.aspx/McNeel/GrassHopperGallery.html
>
> > Let me know if this is helpful.
>
> > On Dec 12, 6:31 pm, K4rl33 <[email protected]> wrote:
>
> > > Hi guys,
>
> > > I have a problem: i have 3 sets of points, where each set have the
> > > same number of points.
> > > I want to do multiple splines wich connect each point of the same set
> > > with a singular point of the others.
> > > But when I try to connect a set of point to the interpolated command,
> > > it make the interpolated curve between all the points of the same
> > > set...and that's wrong!!!!!
> > > I think I would have to sort the three sets of points is some way...I
> > > don't know..maybe telling to the software to connect only points which
> > > have different properties in each set...
>
> > > How can I solve It without extracting each point of the 3 list and
> > > connect each other?
>
> > > Thank you!!!