Hi guys, Could we make a pinned thread with a updated list of plugins that work/don’t work?
Might be a good idea. Which add-ons have you tested?
lunch box, Exoskeleton, 4D Noise, tested and works
I’ve also tested
- Horster Camera Control - all components ok
- Horster Reference - all components ok
- Shortest Path - all components ok
One thing, some add-ons might have some components that work, and some that do not. It would be good to know this as well. For example, while LunchBox loads, some of the components work fine, but the Excel Interop components will not work, due to missing libraries which are compiled for Windows. @archinate might be able to chime in here in case they have plans to provide a solution for this on Mac GH, though I assume such a solution might come when things on the GH for Mac side of things calm down a bit.
I’m pleased to say that Bullant and ggRhinoIFC (openBIM) addons are now available in Grasshopper for Mac. More can be made available on request.
How were you able to install Lunchbox?
If you log into food4Rhino, you might try the LunchBox file titled “2016.3.21 ZIP” for use on the Mac. @fraguada — I’m curious as well… what application do you recommended for installing Windows files (.msi, .exe, etc.) in order to use a plug-in like Weaverbird on a Mac? Wine or CrossOver?
(Maybe I don’t understand this question; sorry if not).
We haven’t fully figured out “installers” for ExplicitHistory components yet (this is still very “WIP”). We need to work on this. It may resemble this. At the moment, we are attempting to load anything in the Libraries folder (from Grasshopper: File > Special Folders > Components), which is:
I believe the explicit history also checks rhino plugin folders (as Grasshopper does on Windows) for gh addins and loads them. At least it did for my testing. I bundled the .gha files into my .macrhi file with the .rhp files as a means of creating an installer. This of course only works in their is an accompanying rhino plugin (which isn’t the case for most gh addons). If I’m incorrect with this, let me know.
This is correct
Also, I should repeat the word attempting …use with caution.
Thank you for your help!! (I was able to install the Grasshopper plugins I wanted)
When I tested lunchbox, I installed it first on windows, then brought the GHA over to osx.
Very excited to move onto the mac. A lot of plugins are working as reported above.
How is scripting support coming along?
I can’t see any C# or Python options at this point.
Script components are a high priority. We don’t see any technical roadblocks. In fact, as of RhinoWIP 5C179w, the Gh.Python component is available. Check it out. At this point, Python script components will execute, but the editor is a way off from being done. The same will likely happen with C# script components: we’ll get the underlying infrastructure in place first, then address the issue of the script editors (which is much harder to get right).
Thanks, Dan. Python scripting is great.
Is there any way to reference external libraries yet, like plankton and kangaroo?
Reference the external library from a python script? Or…? Maybe @piac can help here.
On windows we need the add the GH Libraries folder to the Python search paths using the EditPythonScript editor. As there isnt a script editor on the Mac maybe there is a Python config file somewhere to add to manually?
There is no need for an extra layer, unless you want to add to the Python sys module, too (to control where .py libraries are looked up).
This should work:
import clr clr.AddReferenceToFileAndPath('path/to/mylib.dll') import mylib
However, I know that there is no autocompletion on the Mac, so it might be difficult to get this right.
The easiest way to generate a full path/to/mylib.dll on the Mac is to open a terminal window and drag and drop the file from the finder into the terminal:
If I do this in the python script it looks like this
import clr clr.AddReferenceToFileAndPath("/Users/hiaz/Library/Application\ Support/McNeel/Rhinoceros/MacPlugIns/Grasshopper/Libraries/Plankton.dll") import Plankton clr.AddReferenceToFileAndPath("/Users/hiaz/Library/Application\ Support/McNeel/Rhinoceros/MacPlugIns/Grasshopper/Libraries/Plankton.gha") import PlanktonGh`
but I end up getting this error:
1. Solution exception:file does not exist: /Users/hiaz/Library/Application\ Support/McNeel/Rhinoceros/MacPlugIns/Grasshopper/Libraries/Plankton.dll