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: 4614

Comment

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

Join Grasshopper

Comment by cmrhm on May 20, 2010 at 3:36pm
Also write out the sequence numbers when each point was put into Rhino interface? For example, You output 190 points, so point(0,0,0) must be the first one. How I can write 1 around this pint?
Comment by cmrhm on May 20, 2010 at 3:33pm
Like the following.

in your code:

For j = 0 To v_num - 2
Dim CurrPt As New On3dPoint(curr_x + j * dis, curr_y + i * dis / 2, z)
grid.Add(CurrPt, path)
Next

is there anyway to write out the coordinates for each point CurrPt?

Q_howToSetSequenceNumber.png
Comment by Rajaa Issa on May 20, 2010 at 2:32pm
Hi cmrhm,
I'm not sure I understand what you mean by "put sequence number on each point". Can you elaborate or give an example?
Comment by cmrhm on May 20, 2010 at 2:19pm
Hi, Rajaa:

I am going to study your code. Wondering if you can put a sequence number on each point?

cmrhm
Comment by Rajaa Issa on January 3, 2010 at 4:13pm
You are right, it is redundant... I actually implemented it differently to start with and this was unnecessarily left in.
Comment by Jon Malkovich on January 2, 2010 at 11:15am
Hi Rajaa,
I actually don't understand the j=0 and j=1 declaration within the if statement. Isn't it redundant? Am I missing something?
Best,

Giulio
Comment by Rajaa Issa on January 2, 2010 at 9:37am
you welcome :)
Comment by Alessio Erioli on January 2, 2010 at 1:45am
Thanks a lot Rajaa!
Comment by Torolf Sauermann on December 28, 2009 at 10:32am
interesting work :)

ciao
torolf

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2019   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service