Grasshopper

algorithmic modeling for Rhino

This is an example of how to create a rectangular and diamond grids using VB.NT DataTrees to output a tree structure. Download Diagrid_GH09.gh to see the GH definition.

Views: 5012

Comment

You need to be a member of Grasshopper to add comments!

Comment by Alex on August 27, 2012 at 9:25pm

Thank you. I uploaded, I study

Comment by Rajaa Issa on August 27, 2012 at 12:09pm

Hi Alex,
I needed to update the code to run.  Some of the classes names have changed when using the new Rhino Common SDK that is used by the latest Grasshopper.  Please re-download the link in the post above.

Comment by Alex on August 27, 2012 at 11:44am

Hi Rajaa, how to run Generate Grids with VB.NET (diamond_grid.zip)?
I would like to study them

Comment by Sebastian Pantano on February 3, 2012 at 8:03am

Rajaa Hello, very interesting all the data found in several of its definitions. I'm trying to study definitions to create neighborhoods housing structures that can be flexible and evolve over time. Targeted to respond in the best way to human needs. this I am trying to develop armed grids excel and through VB.net read in grasshopper. Any help or recommendation would be of great interest to me.
from already thank you very much.
Sebastian.

Comment by Justin Diles on June 1, 2010 at 6:43pm
Rajaa: Do you know if it is possible to use the RhUtil.RhinoInterpCurve function with a Data Tree branch (full of points) to make a curve? It works to create a Control Point curve: "crv.CreateClampedUniformNurbs(3,data_tree.Branch(0).ToArray, Nothing, Nothing,1)"...But trying something similar with the InterpCurve function has not worked for me so far.
Comment by Rajaa Issa on June 1, 2010 at 3:08pm
That is great.
Comment by Justin Diles on June 1, 2010 at 2:20pm
Rajaa: Now I've figured everything out and realize how to use Data Trees just like multidimensional arrays (but even better) in a VB.net component. Thanks for your original example; it got the ball rolling for me. Best, J
Comment by cmrhm on May 21, 2010 at 11:42am
Rajaa:

Thanks for pointing out using component 'point list' and the posted image! That is exactly what I am looking for.
Comment by Rajaa Issa on May 21, 2010 at 8:04am
Here is an image for what is described below..

Comment by Rajaa Issa on May 21, 2010 at 7:54am
Hi,
When you examine the script, you'll see that:
A: the output of the script, is a 2d array of points. Points show on screen.

Now when you say "write out the coordinates for each point", where do you want to write it? On screen? Or, do you mean that we construct a one dimensional array of these points? If so, you can flatten the output "A".

Also, when you say "sequence", do you mean to output a number on screen? If so, you can use the flat list of points and "Point List" component in GH for this.

Does that answer your question?

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service