Organize your Rubies?
-
is there a way to organize your rubies? mine are getting out of control... I have like 200 it seems...
can'T I build a folder structure that the drop down menu would recognize?
-
http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1538
http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1539
These might help. They are in the Ruby Depository.
-
@unknownuser said:
is there a way to organize your rubies? mine are getting out of control... I have like 200 it seems...
can'T I build a folder structure that the drop down menu would recognize?
I keep very few in the Plugins menu, prefering to load less frequently used scipts on demand using a scipt loader tool button.
You just gave me an idea...
It would be possible to associate a list of scripts to a model, so after the model is loaded, the associated scripts could be loaded. I need to think more about if there's any value to this.
-
Hi. .. .I am David. . .Long time listener. .. first time caller.
Where does one find taht Toolbar for Load scripts. I can't seem to find it.
[David H]
-
Hi David, welcome to SketchUcation and thanks for posting.
I think the menu you're referring to is actually a ruby script called "script_loader.rb" that loads ruby scripts on demand and not when SU is started, for this to happen you need to keep the scripts (to be loaded, not the script_loader ruby) somewhere else, but not directly in the plugins folder, I put mine in a subfolder to plugins called scripts. When needed I simply go to script_loader and select the ruby script that I'd like to run.
-
@unknownuser said:
Hi. .. .I am David. . .Long time listener. .. first time caller.
Where does one find taht Toolbar for Load scripts. I can't seem to find it. . .
David, you probably can't find it because I'm the only one who has it. It's just something I did for my own convenience.
My Toolbar has 4 items: [ Open Ruby Console | Browse Plugins Folder | Load Ruby Script | Re-Load Last Script ]
You can see it in the screenshot I previously posted. If you or anyone else is interested, I can polish it up and get it posted.
-
I'm wondering, why the Ruby extension programmers do not make use of the Sketchup built-in Extension class, so the users can switch the extension on and off via Window > Preferences ... In every case (with a loader script or built-in support) you need to restart Sketchup when switchung off extensions, because you can't take away menu items. Would be possible to overwrite the methods in the Ruby extension when switching off via loader script, but anyway the extension is loaded.
Also have a look on my approach(!) to organize scripts:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=127&p=7623#p7623azuby
Advertisement