Grasshopper

algorithmic modeling for Rhino

Hi,

I have gotten into the habit of writing my own classes, but I am too lazy/intimidated to compile my own nodes (mostly b/c of the write/compile cycle).

But writing extensive code in a script node is not too bright either.

Is there a middle ground ? Can I for instance include code from disk in a script node ?

Or is there a way to write a plugin an not have to restart rhino/GH every time you want to test it ?

gr

S

Views: 422

Replies to This Discussion

Hi Sander,

it seems that Visual Studio 2013 supports edit-and-continue, you might want to try that.

http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/26/debuggin...

--

David Rutten

david@mcneel.com

Hi David,

Yes, I found that thread just now, installed VS2013 Express , whopping 5Gb ....

And. Another. Reboot. (#673) Dev on windows is just so painful... and I use emacs. daily.

Also found that C# does not allow for include statements, did not know that.

Reason I ask, is b/c I wrote some nifty stuff for Unity in C# and it was glorious. Mono-develop, write-execute cycle was seamless. Maybe that's why I never grew out of script-kiddie mode.

S

VS crashed twice on a hello world example. no mas.

I observed:

- edit and continue seems to work on 32bit solutions, not 64(which is advertised by ms). Can live with that.

- Grasshopper solutions do not update with 'fresh' code, the custom node needs to be re-inserted. This allows for old and new code to exist in the same gh def. Cannot imagine this helps stability. It *is* a lot to ask for a plugin to a plugin to update 'in situ'.

- VS crashes easily, disappears, leaving debris on disk. Win7 stays alive though, impressed.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service