Grasshopper

generative modeling for Rhino

# Extract List-Data

Hallo dear all,

I creat a station-roof as foto below.

As you see on the edge of roof there are a top chord which above the bottom chord.

Now I try to creat web member between top and bottom chord.

Generelly I can connect the the points along the both chords in oder to made lines as web member.

I take the 2 curves(top and bottom chord) and divide it into the same number(green points).

Now we can see the problem, that the green points dosent match the red points. Coz the red points are made through ''Divide Domain'' and the green points are divided through 'divide curve'.

How it is possible to 'extract' the List-Data(as List A) from the divided-Domain, so that we could put (using 'Crv CP') those Data on the bottom chord (as List B)...please look sketch below.

thank u all!!

Views: 301

Attachments:

### Replies to This Discussion

something like this?

Attachments:
Brilliant!!!!!

Hi Taka,

thx for your support. It wa juts amazing.

I notic that u put some fomular to each 'Function' like (x+1)(y+1)-2...etc.

Now I am thinking about to redefine a new area-points like image below.

If it also make sense that we use some command to 'pick up' a range(10-16) from a given list(in our case it was sorted from 0-34)?

What would you do this in oder to get the point 10-16?

Attachments:

yeah for those formulas, I just had to find the rules of how the points were indicated.

For this one, you can use <sub list> component followed by your list of points and <domain> component which has (10 to 16) as domain.

you'll find <sub list> under (sets>list>sub list) and <domain> is under (params>primitive>domain)

Good luck!

hi taka,

yeah, it works and much easier without any math-fomulars.(Although it is better to be able to do that ;-))

Well, thx.

Marry xmas and happy new year!!

• View All