Grasshopper

algorithmic modeling for Rhino

Hello! Please tell me if anyone knows how to do it.
The Grasshopper program I created is too huge, so it takes time to verify the logic. So, I am planning to rewrite all programs using python. Can I refer to the existing Grasshopper component's python code?

Views: 365

Attachments:

Replies to This Discussion

Afraid not, Grasshopper is written in C# and VB and you would have to decompile its source to refer to it. That said, most things geometry-wise are wrappers around the RhinoCommon SDK (see the Rectangle here) which can be implemented using the GHPython component. See more here.

I just wonder if the processing speed would improve after you migrate your definition to GHPython though.

Everyone, thank you for your response!

I first first learned that GH was not written in python. I'd like to write it from scratch in python. I will do my best! It is!

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