Grasshopper

algorithmic modeling for Rhino

Hi,

This question seems really old, but I want to ask to find if there is something new about it.

The problem is using numpy in Grasshopper on Windows.

There are many discussions about this, and most of solutions use the files in Enthought. This solution works on 32-bit, but it doesn't work on 64-bit. What's more, the scipy lacks sparse module.

I tried to find new solutions, but failed.

So, is it possible to use numpy in Rhino5 64-bit on Windows?

What's more, I also find there are some recommendation of Math.Net. It can work in 64-bit, but the documentation is not really detailed. Actually I want to use it to solve a symmetric sparse matrix, but there are some parameters to configure, such as iterator and preconditioner. I think I may set it incorrectly becaues it doesn't converge most time. Is there some example code for this?

Thanks a lot for your help.

Views: 392

Replies to This Discussion

It is currently NOT possible to use numpy in Rhino 5 64-bit on Windows.

As for Math.Net, I'd suggest looking at some of the offical tutorials, the API (sparse matrix is here) and doing some hefty Googling/Stack Overflowing ;)

Thanks a lot. But the problem is that sparse solver require 'preconditioner' and 'iterator', but I can't find any example code about it. Have you ever used it?

Afraid not. If I were you, I'd try to search for some C# code which implements it. It should be fairly straightforward to translate this to IronPython. Happy hunting :)

Well. Thanks a lot.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service