Hi Rajaa, truth be told I began using the 'create curves from a list of point' when I found limitations with that I tried the one you mentioned. I still couldn't figure out a way to drive the shape of the curves with attractors. I did a little digging online and found this definition and script - which does pretty much does what I am looking to do, although it still relies on the curves and points as Rhino objects, whereas I'd like them both to be driven in GH. I'm still playing around with it. Look under "GH attractors working on curves": http://dimitrie.wordpress.com/category/grasshopper/
On Mar 5, 6:54 am, Rajaa <[email protected]> wrote: > Hi jd > > Which example did you look at? > Here is the one I meant "Create a grid of points the extract u and v > direction isocurves". > > I also updated that example where points z value change randomly. > Does that cover what you are after? > > As for the error, you probably are entering a "double" value instead > of a "On3dPoint". > > On Mar 4, 2:17 pm, jd <[email protected]> wrote: > > > That script helped a lot. But since those pts are rhino objects they > > can be moved around the scene and the curves follow accordingly, but > > I'm wondering how I can control those pts not with my mouse, but with > > attractor pts. When I try to connect a point grid i create in GH > > plugging into the 3 point inputs of the script, I get the following > > error: Unable to cast object type 'System Double' to type > > 'RMA.OpenNURBS.On3dPoint'. > > Is there a way to control those curve pts within GH? > > > On Mar 4, 11:35 am, Rajaa <[email protected]> wrote: > > > > You welcome. > > > See you then. > > > > On Mar 4, 1:10 pm, jd <[email protected]> wrote: > > > > > thanks Rajaa, i will take a look at that. > > > > I'm looking forward to your workshop at the CCA in a few weeks. > > > > > thanks. > > > > > On Mar 4, 10:59 am, Rajaa <[email protected]> wrote: > > > > > > Hi jd > > > > > > I posted an example to grasshopper gallery page that procees a one- > > > > > dimention list of points, create a 2d grid, then generate nurbs curves > > > > > in u and v > > > > > directions:http://en.wiki.mcneel.com/default.aspx/McNeel/GrassHopperGallery.html > > > > > > Let me know if this works for you. > > > > > > On Mar 4, 10:55 am, jd <[email protected]> wrote: > > > > > > > no one? > > > > > > > On Mar 3, 1:03 pm, jd <[email protected]> wrote: > > > > > > > > i have created a point grid using a RecGrid, taking the output > > > > > > > grid > > > > > > > and feeding it into pComp - decomposing those points into > > > > > > > component > > > > > > > parts, then created the points using those (x,y) coordinates. i > > > > > > > then > > > > > > > wanted to create multiple curves that connect the points in the x > > > > > > > OR y > > > > > > > direction only. ultimately i want a set of parallel curves that i > > > > > > > will then bend based on point attractors. but so far i can't > > > > > > > figure > > > > > > > out how to separate that point grid to draw multiple curves - > > > > > > > currently i can only get a single curve twisting its way through > > > > > > > every > > > > > > > point in the grid. > > > > > > > > can someone steer me in the right direction? > > > > > > > > thanks in advance.- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -
