[Plugin] Plugin Loader for SketchUp

[Plugin] Plugin Loader for SketchUp

Postby alexschreyer » Tue Mar 10, 2009 4:58 am

11/5/2010: I just updated this to version 1.2!

I finally got around to finishing this plugin. Everything should be working fine - let me know if you run into any problems.

This little tool came out of a need for having plugins available in a “locked down” computer lab setting (see http://www.sketchucation.com/forums/scf ... 15&t=16029). It also provides an easy way to browse some of the web plugin repositories and then to load any plugin into SketchUp - from any location. Because I had a recurring need for keeping some developer references handy, I decided to include several reference web links as well. The image below shows the menu:



This is not a perfect "plugin management" solution. I'll leave that up to Google (or you!). It works pretty well for my needs, though. Try it out. Here's the download link:
http://www.alexschreyer.net/projects/pl ... -sketchup/

Thanks to Jim for helping me with some code! Let me know if I should add some more web links to the menu.

Cheers,
Alex

edit by remus: new version available here: http://www.alexschreyer.net/projects/pl ... -sketchup/ read the notes carefully.
0
Last edited by alexschreyer on Fri Nov 05, 2010 6:27 pm, edited 1 time in total.
Author of "Architectural Design with SketchUp":
http://sketchupfordesign.com/
User avatar
alexschreyer 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Plugin Loader for SketchUp

Postby bianhai » Tue Mar 10, 2009 8:26 am

Thanks! Very good job! :thumb:
0

bianhai 
Banned
 

Re: [Plugin] Plugin Loader for SketchUp

Postby pilou » Tue Mar 10, 2009 9:19 am

Tested! :enlight:
Works like a charm! :thumb:
Why with your plug no necessary to restart the prog after loading a new plugin? :shock:
That is black & white magic :mrgreen:

Just why not a "free surf" on any Net's address :?:
For goto Smustard.com for example? A Plugs famous place ;)
0
Last edited by pilou on Tue Mar 10, 2009 9:29 am, edited 3 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Plugin Loader for SketchUp

Postby dylan » Tue Mar 10, 2009 9:26 am

Excellent work Alex and extremely useful :thumb:
0

dylan 
 

Re: [Plugin] Plugin Loader for SketchUp

Postby MALAISE » Tue Mar 10, 2009 11:44 am

I find it very useful and time saver. :thumb: :thumb:

Thanks Alex.
MALAISE
0
La Connaissance n'a de valeur que partagée
User avatar
MALAISE 
 

Re: [Plugin] Plugin Loader for SketchUp

Postby Burkhard » Tue Mar 10, 2009 2:46 pm

Nice one.
@Pilou there is a script from the first ruby days, called script loader. Works in the same way.Not magical ;) You can find it at Didiers site.
0
User avatar
Burkhard 
Premium Member
Premium Member
 

Re: [Plugin] Plugin Loader for SketchUp

Postby alexschreyer » Tue Mar 10, 2009 3:11 pm

Thanks for the comments. I actually didn't know about the script_loader plugin. But you're right - the underlying load function is very simple, nothing fancy here. I like calling it "Plugin loader" though because the menu is the Plugin menu and I wanted to make it easily understandable even for the novice user.

@Pilou: I didn't include Smustard because the Sketchucation index seems to index their plugins and I wanted to keep the menu as concise as possible.

Two questions for everyone:
* Is there a way to turn on the navigation buttons in the web dialog? Apparently these are off in Windows by default.
* Does this work on the mac? I haven't tested it yet.
0
Author of "Architectural Design with SketchUp":
http://sketchupfordesign.com/
User avatar
alexschreyer 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Plugin Loader for SketchUp

Postby Didier Bur » Tue Mar 10, 2009 7:20 pm

Hi,

Hem hem, it seems I must update my site asap... :roll:
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Plugin Loader for SketchUp

Postby alexschreyer » Tue Mar 10, 2009 8:54 pm

Hi Didier, didn't mean to put pressure on you... ;-)

Cheers, Alex
0
Author of "Architectural Design with SketchUp":
http://sketchupfordesign.com/
User avatar
alexschreyer 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Plugin Loader for SketchUp

Postby Jean-Franco » Tue Mar 10, 2009 9:53 pm

Dear Alex, thank you for this very helpful plugin.
I've copied all my plugin folder on my USB key.
I've no problem with the single scripts. But if I want to load JPP plugin I've a bugslat !
The message box ask me to install progressbar.rb. But it already exists in my plugin folder.
Any idea on what could happen ?
0
Jean-Franco
User avatar
Jean-Franco 
 

Re: [Plugin] Plugin Loader for SketchUp

Postby alexschreyer » Tue Mar 10, 2009 10:00 pm

Jean-Franco wrote:The message box ask me to install progressbar.rb. But it already exists in my plugin folder.


This is a case where my loader might not work. Some (especially the more complex) plugins have dependencies that are "hardwired". It might help to have the progressbar.rb script in both locations. Dito for other standard scripts.
0
Author of "Architectural Design with SketchUp":
http://sketchupfordesign.com/
User avatar
alexschreyer 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Plugin Loader for SketchUp

Postby renderiza » Thu Sep 20, 2012 12:36 am

Thank you very much!

Before this plugin I had to close & reopen my skecthup to review the changes I made to my ruby script but now I can just reload it right inside the program.
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Plugin Loader for SketchUp

Postby gilles » Fri Feb 15, 2013 11:44 am

I'm trying to manage my plugin collection, your plugin seems to be a good way doing it.

Halas, when I choose "load plugins from folder" select any plugin in the folder, I have this report in ruby console:


> load"/Volumes/USB/as_pluginloader.rb"
true
Error: #<NoMethodError: undefined method `as_require_all' for AS_plugin_loader:Module>
/Volumes/USB/as_pluginloader.rb:164:in `load_plugin_folder'
/Volumes/USB/as_pluginloader.rb:229

No plugin loaded. :(
0
" c'est curieux chez les marins ce besoin de faire des phrases "
User avatar
gilles 
Top SketchUcator
 

Re: [Plugin] Plugin Loader for SketchUp

Postby driven » Fri Feb 15, 2013 1:19 pm

@gilles
add self. at line 143, that seems to work here... [ in a quick test at least!!! ]
Code: Select all
  def self.as_require_all(dirname)


john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: adrmike, NAGGA, pedrinalex, Pho Lam and 6 guests

Visit our sponsors: