Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39513

Wrap a List and list the Nth item from each of its branch

$
0
0

@Hakam_ElMajed wrote:

Hey Guys,

I need your help here, cause Ive tried so many times to do script this and code a component to do this but it seems like a very hard task

what I need is to python script what is happening here. divide a list of curves into points, and then connect these points with a line within the component. I am having trouble writing a script to access the list of points, and then extracting the NTH item of each branch, and then flattening the Nth item into one list

for example:

if I have CURVE1 ( POINT 1A, POINT 2A POINT 3A) CURVE2 ( POINT1B, POINT 2B,)

id like to end up with having ( POINT 1A with POINT 1B) and ( POINT 2A with POINT 2B)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 39513

Trending Articles