Plugin Database

wip
grasshopper

#1

Hi guys, Could we make a pinned thread with a updated list of plugins that work/don’t work?


Add-ons plugin for grasshopper mac!
Grasshopper AddIn component testing
(Luis Fraguada) #2

Might be a good idea. Which add-ons have you tested?


#3

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


(Luis Fraguada) #4

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.


#8

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


#9

How were you able to install Lunchbox?


#10

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?


(Dan Belcher) #11

(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).


How to install Kangaroo?
#12

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


(Steve Baer) #13

This is correct


(Dan Belcher) #14

Also, I should repeat the word attemptinguse with caution.


#15

Thank you for your help!! (I was able to install the Grasshopper plugins I wanted)


(Luis Fraguada) #16

When I tested lunchbox, I installed it first on windows, then brought the GHA over to osx.


#17

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!


(Dan Belcher) #18

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).


#19

Thanks, Dan. Python scripting is great.
Is there any way to reference external libraries yet, like plankton and kangaroo?


(Dan Belcher) #20

Reference the external library from a python script? Or…? Maybe @piac can help here.


#21

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?


(Giulio Piacentino) #22

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.


#24

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