Grasshopper

algorithmic modeling for Rhino

Dear friends,

I m struggling to connecting the 0's to 0's and the related numbers respectively to each from the data. I have attached the image and GH with post.

The blue line in the image shows the connectivity or the lines to be formed. I would like to create a Diagrid from the given points . But whenever i try to connect the points it never goes vertically it always connect 0 to 1 to 2 to 3.

Thanks in advance

Views: 488

Attachments:

Replies to This Discussion

You can use the Flip Matrix component to exchange 'rows' and 'columns' in a tree.

Hi David,

Thanks for your reply. I tried with Flip matrix component but it says "All paths may only differ at a single focus" and returns null value . Have I used the component incorrectly. 

I found my mistake by referring to your answer in this post . I tried using the path mapper and got this result

But I want those path mapper to be placed on all the sides instead of one. Which i dont understand the component how to handle it . Is it possible to type multi line command inside path mapper?

I m attempting to create a grid something like this for all the sides of the hexagon

Hi Raja, not sure I'm catching your drift but I think the key component for this is the RelativeItem component.  
Notice that the lines created through this definition are not collinear (as the grid is tapered) like I think you meant to draw them in your last image:

Hi peter thanks a lot, yes exactly I m looking for this. Could you please explain me the relative item component. I don't get the part where stream filter and relative item comes in picture. 

Also i have a question if the outermost points are culled it misses its continuity with other segments can this be solved . can we make it continuous like this

Sorry to sketch on your screenshot, found it easy to convey my thought. 

Hi Raja, I just noticed I failed to upload the definition, which will answer your last question (use the CullOutermost bit with the slider set to 0, or directly connect the points from the CurveDivide to the RelativeItem T input).

To get an explanation of how the RelativeItem works, do a search or check the primer.

It's obviously quite okay to sketch on my screenshot Raja, just get my name right;)

Attachments:

Thanks a lot for the definition Pieter. I apologize for mistyping your name, just noticed it. 

I got a good explanation of "Relative item" from this post. Thanks once again for your time to clear my doubts.

Also i flipped my matrix easily by path mapper tool from this tutorial by Danny Boyes. And got this result

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service