So u seem to have the same issue as me then? I have to explicitly change it to 0 1 2 3, the default is not this it is 0 1 3 2. Converse for a tru face it is as expected, default is 0 1 2.
Added by Steve Lewis at 7:00pm on December 24, 2013
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…
ok, very similar to what i am looking for, but the thing is i have a list not just like (0,n), its like (0;0)...(0;3),(1;0)...(1;3), (2;0)...(2;3), etc
ctivity of vertices ordered sequentially, the order defining the direction of the normal, using 0 1 3 2 Causes an error this way. If it a quad face it seems odd to me that you would label the vertices in such an order, as an engineer, i have never seen it done as 0 1 3 2, it could be 3 2 1 0, 2 1 0 3 etc but going 0 1 3 2 is not acceptable, i will do a bit more reading on this.…
Added by Steve Lewis at 5:18pm on December 24, 2013
That is the [List Item] component. In the latest GH versions you can zoom in on the component and add additional outputs for +1, +2, +3 etc. and -1, -2, -3 etc.