Hi all,
I am starting my first plugin and I have some issues which I don’t know how to approach.
Using these nice tutorials from McNeel I am able to start Grasshopper or Rhino plugin quite easily. What I struggle with is this - in the end I want to have one plugin/.yak package that contains both Rhino (.rhp) and Grasshopper (.gha) assembly. Templates provided in VS allow me to create one or the other.
I can also imagine that I might have some functions/code shared by both Rhino commands and Grasshopper components.
Browsing this forum I found some hints like this or this, that would probably be sufficient to any “proper” programmer, but to me they are unfortunately too general.
How exactly can I achieve VS project setup that will allow me to create plugin targeting both Rhino and GH at once? (Where it would be possible to share code between the two)
Do I have to have two “solutions” in one project folder and then merge them somehow? Can I somehow merge two templates (Rhino/GH) into one solution? Or how exactly should I do it?
Any information, example or directions to an existing resources would be greatly appreciated.
Thank you!