Grasshopper

algorithmic modeling for Rhino

I apologize if this has been discussed before, I couldn't find anything on it!

I am trying to figure out whether it is possible to export a grasshopper routine as python/c++/VB. 

As an example, the flatten element would look like this in pseudo-code:

trees = {{3},{4},{5},{6}}

trees = trees.flatten

trees = {3,4,5,6}

I guess this presumes there is underlying common rhino API beneath each grasshopper node and that that API is not private....

Views: 1097

Replies to This Discussion

Steve Baer added some methods to Python that allows you to invoke components by name, but that's as close as you can get. Nobody knows what code is inside a component, at least until you disassemble it, and that's often a direct violation of the license agreement.

That's kind of what I expected. Thanks David! 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service