Gene Pool component


(David S. Mavrov) #1

I have a question about the Gene Pool component. I find it pretty usefull that you can set different values for each item. But let’s say that we have more than one branch. For example we have 3 branches and each of these branches contain 10 different items. Is there a way to create separate sliders for each item on each branch?


(Michael Pryor) #2

I don’t think so. because Gene Pool is really meant for Galapagos. Although many use it also as a kind of easier manageable group of sliders. You could always do stuff like partitioning.


(David S. Mavrov) #3

Hi Michael :slight_smile:

I think I just found a way to do it. But one needs Heteroptera’s Geen Pool Controller. You need to flatten the tree, count the list lenght, do whatever you want to do and then unflatten the tree. At this point is the only option which is working. But hey, at least there is a way :slight_smile:


(David S. Mavrov) #4

Or if there is a way to select one item, change its input, then go to another item, change that input and so on?


(Tim Stark) #5

You mean different „domains“/„bounding“ for each slider in the genepool?


(David S. Mavrov) #6

The trouble with the genepool is that you can’t input starting values easilly or generate the amount of sliders automatically without coding in C or one plug-in or another. So I am wondering if there is an easy way to have a slider which can change a specific index then store the change then move to the next index, change that value, store it, etc…


(David S. Mavrov) #7

Let’s say I have to generate 3 curve netwroks, but I want to be able to manually define the angle between the U & V lines individually for each curve netwrok. They will stay on 3 branches. I can flatten the tree and after the said manipulations I can unfalletn it again if needed. The trouble is how to use the index and the value I want to input in such way that after I change to the next index, the manual value is stored.


#8

Just for reference: it is actually pretty straightforward/terse to populate/manipulate genepools using one of the scripting components (admittedly one will need to know some C#/VB/Python). Here’s an example using GHPython:


(David S. Mavrov) #9

I was looking at your earlier scripts. It does the job almoust perfectly.

150410_UpdateGenepool_GHPython.gh (6.8 KB)


(David S. Mavrov) #10

Any idea how to publish the Gene Pool to the Remote Panel?


#11

See point 6 in the thread above :wink:


(David S. Mavrov) #12

Sorry, I was just leaving work and responded before I had the time to see things in detail. :slight_smile: Is there anything you haven’t done already :smiley: Amazing guy!


(Ceofiroj) #13

Let’s say I have to generate 3 curve netwroks, but I want to be able to manually define the angle between the U & V lines individually for each curve netwrok
photoshop clipping path


(Tim Stark) #14

spam or is there any question?