Grasshopper

algorithmic modeling for Rhino

Hi guys!

My problem may appear very easy to solve, but i still didn't find a way:

I've a branch of flatten data like that:

{0}

0 Poly Curve

1 Poly Curve

2 Poly Curve

3 Poly Curve

4 Poly Curve

5 Poly Curve

6 Poly Curve

7 Poly Curve ... etc

I need to loft half of them as a pattern like 2 by 2... ex:

0 with 1 ---> loft

1 with 2 ---> no loft

2 with 3 ---> loft

3 with 4 ---> loft 

4 w.... etc.

In my case (as you can see in the screenshot) i've two list in whic i've to apply this process.

I can't use list items because the numbers of items may change, and if i get a grafted list of items i can't loft the curves, but if i get the flattened pattern of data the loft component loft everything without considering the sequence.

I guess i've been clear to explain my data structure problem! 

Pls! I'm waiting for some help!!! Thx a lot in advance,

Marco 

Views: 2810

Attachments:

Replies to This Discussion

We mitico! Grassie ma quello ce l'avevo già... il path mapper però può fare molto di più, ci sono alcuni comandi tipo "floor" e altri che possono essere inseriti, ecco vorrei una lista di questi con relativa spiegazione... magari oggi cerco un po'!

Ciao Marco,

Penso che tutte le operazioni disponibili nei componenti "funzione" sono possibili nel graph mapper. Inoltre ci sono tre parametri speciali: "path_index," "path_count," e "item_count," che funzionano come variabili metasintattiche (placeholders). Ci sono piu dettagli nel file di aiuto, cui si accede facendo doppia clic sull'icona nell pannello. 

Grazie Andrew! Leggerò meglio il file di aiuto!

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service