Grasshopper

algorithmic modeling for Rhino

Hi guys.

I tried to search on google with no good results.

I was wondering if there is a way to have inside a geno pool, not all the number inside the range, but just the subdivision of this.

For example...

Range of number inside the geno pool:

10 to 20 and then find inside just: 10, 12, 14, 16, 18, 20.

I usually skip this problem using a list item that search inside a list of number but I could be nice if someone has a solution $:

Views: 547

Replies to This Discussion

I don't think you can do it with a genepool, but it is possible with sliders if that's an option:

Hi Anders. 

Unfortunately it doesn't work in my case.

We are trying to push a multi-objective algorithm and we would have 683 slider =S

Ah crap, in that case you might set the Decimals on a GenePool to zero, half the range, and multiply the output by 2:

oh yessss...

this help me a lot.

Thank you so much Anders.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service