Grasshopper

algorithmic modeling for Rhino

Hi, 

I realize that GH 0.9 includes some matrix components, but it seems that these won't be available until Rhino 5 and apart from the component descriptions it's not very well known what the components will do or which components will be available. 

My problem arises because I want to obtain a list such as the following:

{{6, 5, 4, 3, 2, 1, 2, 3, 4, 5, 6}, {5, 6, 5, 4, 3, 2, 1, 2, 3, 4,
5}, {4, 5, 6, 5, 4, 3, 2, 1, 2, 3, 4}, {3, 4, 5, 6, 5, 4, 3, 2, 1,
2, 3}, {2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 2}, {1, 2, 3, 4, 5, 6, 5, 4,
3, 2, 1}}

Which displayed as a matrix is:

If it were possible to combine GH operations (series, shift list, replace string...) with matrices I think it would be quite powerful. A matrix to list component like those available on scientific calculators, would then translate the matrix to list.

For me, matrices come in handy when dealing with surface patterns.

Views: 496

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service