Grasshopper

algorithmic modeling for Rhino

Hi,

I want to perform matrix operations (multiply, invert, etc.) and I know this can be done using two dimensional arrays and some custom functions. I tried this example code and it worked.

But it seems there is a special matrix class available in the Rhinocommon. Could anyone explain how to use it? I'm a beginner in programming and there're no examples in the SDK to start with...

Thanks,

Jacek

Views: 2374

Reply to This

Replies to This Discussion

I just committed a fix for this so you should be able to get Matrix support in V4 SR9 when the next grasshopper version is released.

Thanks,

-Steve

Andrew thanks for your code examples, it helps in comprehension of the Matrix issue in GH.

However, since the Transform data type is a 4x4 matrix it can't be used to get in bigger Matrices.

Does anybody know another smart way of getting a matrix in a custom component (C#)?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2018   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service