Plugin Database

lunch box, Exoskeleton, 4D Noise, tested and works

I’ve also tested

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.

More details at http://geometrygym.blogspot.com.au/2016/03/geometry-gym-addons-ghformac.html

3 Likes

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: ~/Library/Application Support/McNeel/Rhinoceros/MacPlugIns/Grasshopper/Libraries.

@sdaitzman Much of Lunchbox does work. As @fraguada mentions, the Excel interop components do not. (Remember, this is still very early in development).

Hi Dan,

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.

Cheers,

Jon

1 Like

This is correct

Also, I should repeat the word attemptinguse 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.

Thanks!

1 Like

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?

Hi @mathias_gmachl

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.

Thanks, Giulio.

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:

/Users/hiaz/Library/Application\ Support/McNeel/Rhinoceros/MacPlugIns/Grasshopper/Libraries/Plankton.dll

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

1 Like

Hey Guys,
Do you know where I can get plugin files for FIREFLY? It looks like they have only Windows installer and I can’t extract actual dll files.
Thank you

I was having trouble installing plugins to explicit history (grasshopper). Found solution, may be obvious to many but documenting for people like myself.
Basically works the same as installing on a Windows machine. I had my mac brain in so didn’t think of this initially:

  1. Open “Explicit History” in Rhino WIP

  2. In Grassshopper open: File> Special Folders> Component Folder

  3. Drop in the .gha and.dll files into the folder

2 Likes