Grasshopper

algorithmic modeling for Rhino

GH Community,

Seeking help for patterning problem i having. Thank you in advance for your help. 

I am trying to cull a grid of points with the following pattern:

true

false

false

false

false

The first image (Capture1) shows the pattern in the correct way with the exception that it only has three (3) "false" inputs. When I add the fourth "false" input, the result is the second image (Capture2) which highlights entire rows. This is not the desired result. The pattern I want to see when selected, is the first point (0) green, then four red (1-4) points, then the fifth point (5) green. Any advice would be greatly appreciated. Thank you.

Views: 10166

Replies are closed for this discussion.

Replies to This Discussion

Read this first! How to get help on this forum.

There is no way to help you without seeing your code.   Isn't that obvious?

Yes Joseph, you're right - file attached. 

Attachments:

The 'Image Sampler' will be lost in my copy of the file (Grasshopper bug) so copy/paste it from yours and re-connect as shown.

Attachments:

Thank you kindly Joseph, exactly what I wanted. 

I suggest adding another 'Cull' for minimum radius, to eliminate the "pinholes":

I think it's the way you divided the surface. The pattern is still there in the second capture, but instead of picking a point after every 4 points now it's picking a row after every 4 rows. 

Yes you are correct Geoffery.

I think my pattern would would see the columns being selected vertically based on the total number number points in the U direction being evenly divisible by five. However, if i were to have a number of points in the U direction not divisible by five, i would see the staggered pattern i see in the 2nd capture above.  This is the goal.

This is a different approach for handling resolution - make it a slider!

Attachments:

This is much better, I think - but there are so many ways and possible refinements:

Attachments:

Wow Joseph, thank you for the additional guidance.

My next challenge, projecting this pattern to a multiple triangular faceted surface

My next challenge, projecting this pattern to a multiple triangular faceted surface

What are your target surfaces, relative to the projected pattern of circles from this code?

I saw your comment on my profile but don't communicate that way, sorry.

This version uses 'Grid Utility | Convert to Diamond' in Paneling Tools:

https://wiki.mcneel.com/labs/panelingtools
http://www.food4rhino.com/app/panelingtools-grasshopper-rhino-50

Attachments:

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