I have a GhPython Script that converts 2D contour levels into a 3D topographic mesh. I want to convert this into a plugin and upload it on foodforrhino. I’ve watched videos on YouTube on how to make a plugin from c# scripts but never found one that used GhPython Script. I would be appreciative if anyone could provide me the steps to achieve the result.
For a pure GhPython, source-visible, script component, the simplest way in Rhino 7, is to manually make a User Object. Use the option in the file menu in Grasshopper, copy the file from the User Object folder, direct your users to download that and copy it into their User Object folder.
It’s possible to write doc strings in a certain format, and have Grasshopper turn that into mouse over help text and type hints too.
If I had the luxury of starting from scratch, I’d use compas-dev’s excellent tool:
2 Likes
Thank you so much. This is my first time making a plugin, hope it turns out well.