PYTHON SCRIPT to PACKAGE MANAGER

Hi all,
I have been looking on the forum and the guides provided here (Rhino - Creating a Rhino Plug-In Package) but I can’t figure it out if there is a way to create a plugin package starting from scripts created with python. So far I was sharing those within the team through the .rhi installer, but I’d like to understand if there is a way to push those to the package manager.
Thanks for any help!

yes, you can make yak packages using the built in script compiler (see new in Rhino 7 toolbar).
After that you can use this guide to publish them, so they appear in packagemanager

2 Likes

This is great, it works thank you!
There is still one thing that I am trying to figure it out and it’s how to integrate a toolbar with the same package.
Thanks again for the help.

You need to create your matching toolbar in Rhino then save the .rui with the SAME name as your plugin.

Finally your .yak file is actually a .zip file with a different extension. You can rename the .yak as a .zip, open it and copy in your .rui toolbar file. Then close and rename back to .yak.

Your toolbar will then install with your package.

Cheers

DK

3 Likes

Thank you!