Grasshopper

algorithmic modeling for Rhino

Hello,

 

Pardon me if this is an obvious question.  Is there a way to convert grasshopper projects into rhino plug-ins?  Or better yet, once the project is tested and working to generate source code in C# or other language? 

 

Thanks

Views: 401

Replies to This Discussion

Hi James,

no.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David,

I have been working in Grasshopper for a few years now, and want to start using some of my scripts i had written in GH to learn to script better in written languages such as Python.

I guessed it would not be possible to just convert the code, but could you give us some tips on how to proceed with how best to go about converting GH Logic to written Script logic. Please

Thanks

Matt

There's no 1:1 mapping between Grasshopper components and Rhino SDK methods. Sometimes there is, but there are a lot of methods that haven't (yet) been exposed as components and there are some components (Delaunay, Voronoi and Metaballs to name just three) that are completely implemented in Grasshopper.

The most important bit of advice I can offer is what I always offer when someone asks what the best way is to learn programming.

  1. Pick a problem that you fully understand. No point trying to learn programming while at the same time struggling with the mathematics.
  2. Start small, don't try and encode an entire building/workflow all at once, only automate a single step at a time.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service