• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[Plugin] Plugin Loader for SketchUp

Scheduled Pinned Locked Moved Plugins
14 Posts 11 Posters 16.8k Views 11 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    alexschreyer Extension Creator
    last edited by alexschreyer 10 Mar 2009, 03:58

    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/viewtopic.php?f=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:

    http://www.alexschreyer.net/blog/wp-content/uploads/2009/03/screenshot-3_9_2009-21_46_18-439x235.png

    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/plugin-loader-for-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/plugin-loader-for-sketchup/ read the notes carefully.

    Author of "Architectural Design with SketchUp":
    http://sketchupfordesign.com/

    1 Reply Last reply Reply Quote 0
    • B Offline
      bianhai
      last edited by 10 Mar 2009, 07:26

      Thanks! Very good job! 👍

      1 Reply Last reply Reply Quote 0
      • D Offline
        dylan
        last edited by 10 Mar 2009, 08:26

        Excellent work Alex and extremely useful 👍

        http://dmdarchitecture.co.uk/

        1 Reply Last reply Reply Quote 0
        • P Offline
          pilou
          last edited by 10 Mar 2009, 08:29

          Tested! ☀
          Works like a charm! 👍
          Why with your plug no necessary to restart the prog after loading a new plugin? 😲
          That is black & white magic 💚

          Just why not a "free surf" on any Net's address ❓
          For goto Smustard.com for example? A Plugs famous place 😉

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • M Offline
            MALAISE
            last edited by 10 Mar 2009, 10:44

            I find it very useful and time saver. 👍 👍

            Thanks Alex.
            MALAISE

            La Connaissance n'a de valeur que partagée

            1 Reply Last reply Reply Quote 0
            • B Offline
              Burkhard
              last edited by 10 Mar 2009, 13:46

              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.

              [http://www.ia-plus.de(http://www.ia-plus.de)]

              1 Reply Last reply Reply Quote 0
              • A Offline
                alexschreyer Extension Creator
                last edited by 10 Mar 2009, 14:11

                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.

                Author of "Architectural Design with SketchUp":
                http://sketchupfordesign.com/

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Didier Bur
                  last edited by 10 Mar 2009, 18:20

                  Hi,

                  Hem hem, it seems I must update my site asap... 😒

                  DB

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    alexschreyer Extension Creator
                    last edited by 10 Mar 2009, 19:54

                    Hi Didier, didn't mean to put pressure on you... 😉

                    Cheers, Alex

                    Author of "Architectural Design with SketchUp":
                    http://sketchupfordesign.com/

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jean-Franco
                      last edited by 10 Mar 2009, 20:53

                      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 ?

                      Jean-Franco

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        alexschreyer Extension Creator
                        last edited by 10 Mar 2009, 21:00

                        @jean-franco said:

                        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.

                        Author of "Architectural Design with SketchUp":
                        http://sketchupfordesign.com/

                        1 Reply Last reply Reply Quote 0
                        • renderizaR Offline
                          renderiza
                          last edited by 19 Sept 2012, 23:36

                          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.

                          [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

                          1 Reply Last reply Reply Quote 0
                          • gillesG Offline
                            gilles
                            last edited by 15 Feb 2013, 10:44

                            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. 😞

                            " c'est curieux chez les marins ce besoin de faire des phrases "

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              driven
                              last edited by 15 Feb 2013, 12:19

                              @gilles
                              add self. at line 143, that seems to work here... [ in a quick test at least!!! ]

                                def self.as_require_all(dirname)
                              

                              john

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

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement