@dale In Rhino 7 you added Tools - Script Compiler (That calls “_run RhinoScriptCompiler”)
but in Rhino 8 I can not find this link in the toolbar. Is it no longer the way or have you just forgotten to add it to the toolbar?
I find the entire ScriptCompiling and running Yak updates through CMD to be a “proof of concept” way of pushing plugins, so have you considered making a small GUI for this? Or are you keeping it a bit complex to avoid Food4Rhino to be flooded with noise and buggy plugins? (That would make sense to me if that was the case)
Any ways, all I need to know is if “_run RhinoScriptCompiler” is still the way to go for turning my python scripts into plugins, or if that is calling up the obsolete Rhino 7 version or something.
Thank you, I found what I needed there!
And for future reference if someone else stumble upon this thread and since my google search didn’t come up with this, this is what I needed. A great guide!
Trying to dig into this now, but it isn’t very intuitive.
Author info
First off is adding an author, figuring out that I have to fill in the blanks and then hit the (+) to add it before hitting OK for it to update the fields needed me to read up.
Adding command
Then adding a .py as a command and changing it’s name wasn’t intuitive either.
When I work on scripts I use their version numbers and mayor change in the name of the .py file:
(TerrainMesh v1,47 - new expiration.py)
I would like a command name to just be a link to a script. Now we can’t see what script is linked to the command, nor change what script it is pointing to. Or didn’t I get that right?
When I click the “edit selected project item” pen icon all I get is this:
There is no option to link the command to another script. I can right click on the command and edit the script, but I don’t want that since it doesn’t show what file I am working on. And it isnt stored in the project since the file is just 2kb.
I see that if I edit the .rhproj I can see what script is linked to the command, so it should be easy to add a “linked script” option to the “Edit Command” dialog.
Since we have the option to right click a command I would also like to be able to choose “edit project item” from that popup menu.
Project Info
I wanted to use an ID of my existing project and this I needed to manually replace in a texteditor. This should also be possible to edit from the project IMO. With a dual proper warning of course.
@Holo Thank you for the suggestions. I added these Enhancement tickets. They’re going into 9.x currently since I am not adding ‘features’ into 8.x at this point but if any of this is Usability Problems I can fix those in 8.x and get it into your hands to try.
RH-85680 Improve Author editing in Projects RH-85679 Add Replace Script option to project commands RH-85681 Allow editing Project UUID
Not being able to replace a script for a command to the newest version of the script is a big issue for me. Yes, I can manually do this by opening the project in notepad and just replace the string there, but that is just silly IMO. But this also means that when I click on that command I want to be able to edit that file and have it’s filename being shown, not it’s command name. (Because if I can’t see what file it is nor what file is linked to the command, then I can not double check easily from within the project that I have the right versions linked to the commands)
This might be because I use an old fashioned way of storing versions of my scripts, so if there is a better workflow that I should adapt then I am more than eager to learn!