Simplest F# plug-in? Fully functional


(Nathan 'jesterKing' Letwory) #1

I was testing to see if I could get an F# plug-in for Grasshopper on the Mac working. Throwing the amazing code out there in case someone is interested.

The component provided by the plug-in does nothing more than take whatever is in the input put it in the output. But, as you know, your own imagination is the limit (i.e. mine wasn’t so good when I typed it).

Note that Friday laziness overpowered my sense of duty, so I provide only the F# code. You’ll have to drop it in a F# library project for GH and set all the necessary references…

Have a fun week-end.

p.s. I tested this only on Rhino Mac WIP (secret build on my machine), but I imagine this ought to work on v5 as well.