Grasshopper

algorithmic modeling for Rhino

Could be possible to code a genome list that uses inputs to generate that list? (number of genes, domains, etc) We are solving a problem in a workshop I'm teaching now that turns to a non-parametric solution if you can't change genome list properties with other data inputs. That data that changes genome won't change in the optimization process.

Thanks and best.

Views: 10514

Replies to This Discussion

Then don't copy it!

Cool, but for some reason it doesn´t work for me.

Attachments:
Did you rename the genepools accordingly? If yes, can't help you.

Aaaagh, stupid mistake! cool. Solved then.

Thanks

Fred, do you know if it is also possible to control the values of each gene with a slider?

THX

Hi! Let´s say I get certain number of genes (0-1 values) controlled by a slider. Is it possible that within this set of values I can select the number of 0 and 1 values? Say 25 genes and I want 10 of them to be 1 (consequently 15 will be 0)

JPG attached.

THX!

Attachments:
I forgot, its solved now :)

Does anybody know if it is also possible to control the values of each gene with a slider?

THX

Genes are sliders, are they not?

Yep they are. Sorry I meant if it is possible to control their value using an input.

I mean if it is possible to control their value using an input.

You want to control one GUI component with another. Why?

too answer your question yes you can manipulate the values of the genes by an outside influence. this is how Galapagos changes their value.

Have a read of this thread about setting sliders from scripts:

http://www.grasshopper3d.com/forum/topics/set-number-slider-value-f...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service