The only problem I ran into was BBX/Brep to Brep intersection’s the curves from these are the opposite direction to the same file in R7. I had to put in Flip Curve components with a guide curve to keep R7/R8 on the same source code.
Kind of a strange problem, but also a pretty simple one to fix on my side and the resulting code is more robust I guess.
Questions:
Rhino Script Complier is missing from Rhino 8 - will it be available or is it being killed off?
I have this error message come up on launch of GH and/or my plug in (written in GH):
Another question - RUI files in .YAK drag and drop installs - are these now ignored by Rhino 8 and I need to use a different method to get a custom launch menu?
In addition to what Dale wrote, you can compile plug-ins from the ScriptEditor dialog. See this video tutorial to get you started with that → https://www.youtube.com/watch?v=sQwDIHbYB6Q
-wim
BUT My plugin is written in GH and I’ve promised my clients to keep R7 compatibility until at least the release of R9 so I need to stay with the legacy complier for now.
It’s @eirannejad’s video and I hadn’t heard that advise. I did quickly test this, though, before I wrote that previous answer. I had first targeted Rhino 8 and tried to load that plug-in in Rhino 7, and that failed. When I then targeted 7.31, that went fine in Rhino 7. Maybe Ehsan’s comment pre-dates the current state or I got lucky… I’ll have to let him get back to you on that one.
-wim
You can add IronPython files and Grasshopper files that do not use the new scripting component (or any other new Rhino 8 component) to a project and create a Rhino 7 plugin.
Basically makes sure the IronPython script an Grasshopper definition can actually run in R7
There is a conflict with Newtonsoft.Json that we are working on a fix for right now. Follow this ticket please: RH-75990 Publishing fails due to missing Newtonsoft.Json
Morning guys, I have downloaded 8.2 RC and have found some of the bugs that are preventing my Plugin from running are fixed. However I’ve still getting this come up on running GH:
I got a chance to look at compiling my plugin using the script editor in R8 today.
Firstly my ‘launch commands’ are written in IronPython but when I go to publish and set the target to R7.34 the Publish Project reports an error of “only Ironpython commands can target R7”
Then when I set the target to Rhino 8 the progress bar at the bottom of the window stalls at about 1/3 progress and ‘Preparing plugin assembly’
For now the R7 script compiler is set up, fast and easy. I’ll need to find time to trouble shoot whats going on here with the Script Editor.