How to create plugin from python scripts?

Can someone walk me through how this is done in Rhino 8? In the script editor, I’ve created a project, added my Python 3 scripts to Commands/, and I put a toolbar in Shared/. If I try to ‘publish project’, then ‘Build Package’, there is an error that says ‘Failed getting NETFramework reference assemblies’. I don’t know what that means and I don’t see a way to use help to find out (the help in the script editor seems limited to help for scripting, with no information on how to publish.)

I also don’t know if Publish is what I’m looking for, or if I’m going about this entirely incorrectly.

Hi @phcreates

The main problem seems to be a conlifct in Newtonsoft.Json dll that I am aware of and trying to fix.

RH-75990 Publishing fails due to missing Newtonsoft.Json

I’ll update this thread when the fix is out.

Also the project publish will automatically create an .rui toolbar with all your commands so you don’t really have to add that manually.

Great.
What do you mean it will create a toolbar with all of my commands? That would be a huge toolbar.

Is there a roadmap/overview of how this process is intended to work?

1 Like

I will make videos on this soon. Still a few bugs and quirks that are being cleaned up

1 Like

RH-78541 is fixed in Rhino 8 Service Release 5 Release Candidate