element connectivities in text, when matched with the corresponding coordinates of the nodes from dupPt, it makes all the polygons again (Green lines in the picture below), exactly as the original.
So Im thinking its like reconstructing everything again from the original shape with new relation between coordinates and element connectivities.
So in this case, eg: 0 1 2 3 4 5 makes the hexagon, 21 20 0 5 to makes the trapz.
Well here it misses the '0' in the end to close the hexagon here, the same with trapz. However the 'string join' and cset somehow close it to 0 1 2 3 4 5 0 to makes the hexagon, and 21 20 0 5 21 for trapz.
Im very glad now.
…
The best way is to use a C# or a VB component to transpose these
lists. I think in C# you can use transpose directly. You can ask this
on the VB/C# forum on our new website, www.grasshopper3d.com
- Scott
On May 27, 3:56 am, Tonsgaard wrote:
> Being a long time user of Generative Components trying to use
> grasshopper i miss the "transpose" command.
> I have a point list like this:
>
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
>
> and a want to transpose dimensions to:
>
> 1, 1, 1, 1, 1
> 2, 2, 2, 2, 2
> 3, 3, 3, 3, 3
> 4, 4, 4, 4, 4
> 5, 5, 5, 5, 5
>
> Surely I am not the first in need of this...
> how would i go about and do this...? I suppose its quite easy in VB
> script, but being used to GC's C# like language, I kinda dont know how
> to do this...
>
> thanks...
>
> Tonsgaard…
the map? For example in one list I want curves 5, 20, 21, 22, 23, 60. In another I want curves 1, 37, 40. In another maybe 70-80. And in the last, all curves that aren't specified in those three lists. Is there a way to partition the lists as such?…