This repository aims to cover all possible ways of running a headless Grasshopper instance in various configurations:
- different Rhino versions
- different .NET runtimes
- different programming languages (coming soon...)
At the time of writing (6 January 2024), the barrier to entry for starting developing Rhino/Grasshopper applications is quite high. The official documentation is not very clear and the examples are not very well documented.
Coming from a TypeScript background, I found that the .NET ecosystem is quite different and the learning curve is quite steep e.g. working with Visual Studio, assembly references, .NET runtimes, etc.
Taking into consideration today's advances in AI (specifically the text-to-shape research), I believe that this sort of effort can serve as a good start for developers and researchers with no prior experience in the .NET ecosystem to start developing their own applications.
This repository is my take on (hopefully) making this process a little bit easier.
- .NET
- net48
- net7.0
- Rhino 8.0 with Rhino.Inside - WIP (as of 2024.01.06)
- Rhino 8.0 with "manually" implemented Rhino.Inside - Recommended (as of 2024.01.06)
- Python
- Coming soon...
- Official
SampleRunGrasshopper
example for Rhino 7: https://github.com/mcneel/rhino-developer-samples/blob/7/rhino.inside/dotnet/SampleRunGrasshopper - Official
SampleRunGrasshopper
example for Rhino 8: https://github.com/mcneel/rhino-developer-samples/blob/8/rhino.inside/dotnet/SampleRunGrasshopper - Official custom
RhinoInside.Resolver
for Rhino 7: https://github.com/mcneel/rhino.inside/blob/will/rhinoinside-v7/DotNet/RhinoInside - Official custom
RhinoInside.Resolver
for Rhino 8: https://github.com/mcneel/compute.rhino3d/blob/8.x/src/compute.geometry/Resolver.cs (thanks to this comment from Steve Baer)