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…
Thanks Clemens,
So the overlapping part of each thickness h has the bending stiffness proportional to 2*h^3=(1.26*h)^3, not (2*h)^3, I understood.
Best regards,
Jaeman
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
e
7. True
8. True <-- this one
9. True
10. False
11. True
12. False
13. True
14. True <-- this one
15. True
16. False
17. True
18. False
19. True
20. True <-- this one
21. True
22. False
23. True
24. False
25. True
26. True <-- this one
27. True
28. False
29. True
30. False
31. True
32. True <-- this one
33. True
Any idea how I can solve this?
Thanks!…
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.