Grasshopper

algorithmic modeling for Rhino

Hi everyone,

as seen in the attached picture, I wanna select ONE (!) random point out of each point region. Unfortunately my thought gh concept works for 8 fields but not for the last one. There appear a bunch of points instead of one.

Can anyone help me out with that? Thankx a lot!

Views: 776

Replies to This Discussion

Try to use "Jitter" instead and select the first item...it should randomize each list. You may want to feed different seeds into the Jitter component...an easy way to do that is to get a list length for the number of subsurfaces you have generating points, and then run a series component based on that...graft it and feed it into the seed input.

thankx a lot for your quick help. It works perfect and I'm really really happy!!!

The reason will be Longest list Data Matching.

i.e. you have more L than i or the other way around.

Another way to David's jitter approach is to use the [Populate 2D] component but only have a single N

The trick is to get random seeds.

thankx that's also a brilliant idea!

You should also Move this from Errors, Bugs and Oversights to Discussion.

As this is user error and not a bug :)

If it hasn't already been done for you by David you can find out how here:

http://www.grasshopper3d.com/forum/topics/i-ve-added-my-question-in...

done

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