Permalink Reply by Don Lewis on March 24, 2011 at 10:43am Hey Tom,
I hadn't thought about grasshopper using rhinocommon, I read where David had rewritten it to rhinocommon but the light bulb never came on. I'm more or less wondering it they plan to have it be backwards compatible or not.
Don
Hi Don,
The Geometry Gym plugins also use Rhino Common in v4 (but then require that Grasshopper is installed, not necessarily active). It uses a similar strategy to Grasshopper to load rhino common if it is not already. Note for obvious reasons not all v5 rhinocommon methods and attributes are available.
So far it's worked well for me. As the set of methods and attributes I use is not too large, I did write a wrapper so that I can still compile my code in Rhinocommon syntax against openNurbs or the old libraries without too many alterations.
Cheers, Jon
Permalink Reply by Don Lewis on April 25, 2011 at 5:48am Hi Jon,
Thanks for the reply. It had been suggested to me since they had made Rhinocommon open source I might be able to compile my own .dll to handle my plug-in. At this point in my programming "career" I wouldn't have a clue how to do that.
Since the last plug-in I wrote was in RhinoCommon I gained a little insight into how the V4 SDK is structured. It probably wouldn't be too difficult to write the plugin against the V4 SDK. I just wasn't sure if that would be necessary or not. I'm hoping there is a SR10 released in conjunction with V5 that incorporates RhinoCommon to with V4.
Thanks,
Don
© 2013 Created by McNeel Admin.
