Grasshopper

algorithmic modeling for Rhino

I am in the process of condensing/blackBoxing my definitions using C#, and some things I need to know are the types (i.e. int, double, list, trees) of the input and outputs of said definitions.

Is there a place where I can get the source code of the definitions? Or perhaps a place where I can know this information?

Thank you.

Views: 498

Replies to This Discussion

Hi Jacky,

can you please explain exactly what you are trying to do and what is the goal?
Are you trying to make a C# replacement for some Python code? Do you know about clr.ComplileModules()?

Thanks,

Giulio

--

Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

Oh, I see. You are trying to re-code Grasshopper components.

That's fine, absolutely, it will just take some time. The type are usually int, string, double, and several other RhinoCommon types. There is no Java in Grasshopper, but C#, as you noticed.

It's possible to also use the OpenNurbs version of RhinoCommon, to get to use some of these types.

If you have some more specific question, I'll try to help with it,

Thanks

--

Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service