sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Simple Plugin Installer

    Scheduled Pinned Locked Moved Plugins
    83 Posts 29 Posters 189.0k Views 29 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.
    • mitcorbM
      mitcorb
      last edited by

      Hi, thomthom:
      This looks good. I hope to try it out as I eventually move to Sketchup8...and I will.

      I take the slow, deliberate approach in my aimless wandering.

      1 Reply Last reply
      Reply Quote 0
      • TIGT
        TIG Moderator
        last edited by

        Thanks thomthom ! This a very good idea. β˜€

        However, if I rename your script with a leading '!', which is so that it loads very early and thereby puts the new submenu item at the start of the Plugins menu list, I find that it fails to load - with an error message at startup.
        This is because the module 'TT' has not [yet] been defined: however, some later installed 'tt_' tools require 'TT_Lib2/core.rb' that will then define it; so it works if it's left with its original name, because it loads after those, BUT of course then it's submenu item is buried in the rest of the Plugins list. πŸ˜’
        This means that your new tool needs 'TT_Lib2' [and it would therefore benefit from a require 'TT_Lib2/core.rb' being added to it] - BUT currently the download page doesn't say this or have a link to get it...
        OR [better I think] you could to redefine the module so it is independent of 'TT' - naming it say ' module TT_SimpleInstaller' ? [I don't think it uses any of the TT_Lib_2's functions anyway ?]

        Currently I've renamed the module this way and added the '!' to the start of the file name and it works well.
        πŸ˜„

        TIG

        1 Reply Last reply
        Reply Quote 0
        • thomthomT
          thomthom
          last edited by

          Ah! 😳 That's a silly bug!

          I'll fix that asap! Done!

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply
          Reply Quote 0
          • thomthomT
            thomthom
            last edited by

            If only the Ruby API wasn't so limited...

            I'd ideally like to be able to select multiple files and/or folders. Also wish the file pattern filter wasn't bugged so one could combine multiple file patterns... 😞

            http://t2.gstatic.com/images?q=tbn;ANd9GcT-Lte9Hn5FR_s2nxrJ2-H9YOb7Nfz6ldyO5GGl1lbyUIIwKATTAw

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply
            Reply Quote 0
            • thomthomT
              thomthom
              last edited by

              Idea... β˜€ ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply
              Reply Quote 0
              • Dave RD
                Dave R
                last edited by

                Thomas, this is a great idea! Is it possible for the plugin to also run load"plugin_name.rb" after copying the file and installing it into the Plugins folder?

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 Reply Last reply
                Reply Quote 0
                • thomthomT
                  thomthom
                  last edited by

                  @dave r said:

                  Thomas, this is a great idea! Is it possible for the plugin to also run load"plugin_name.rb" after copying the file and installing it into the Plugins folder?

                  Capital idea ol' chum!

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply
                  Reply Quote 0
                  • J
                    Jim
                    last edited by

                    @thomthom said:

                    Idea... β˜€ ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!

                    Yep, but it would make a better stand-alone "Drop Pad" plugin that can dispatch various file types to user-configurable plugins.

                    Hi

                    1 Reply Last reply
                    Reply Quote 0
                    • thomthomT
                      thomthom
                      last edited by

                      @jim said:

                      @thomthom said:

                      Idea... β˜€ ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!

                      Yep, but it would make a better stand-alone "Drop Pad" plugin that can dispatch various file types to user-configurable plugins.

                      You mean being able to configure what plugin to handle what fileformat?

                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply
                      Reply Quote 0
                      • J
                        Jim
                        last edited by

                        Yeah, but the downside is that the plugins that handle the file types would likely all need modified to handle the Drop Pad dispatcher.

                        Hi

                        1 Reply Last reply
                        Reply Quote 0
                        • thomthomT
                          thomthom
                          last edited by

                          Well, it won't be doable until IE10 is released anyway... 😞

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply
                          Reply Quote 0
                          • thomthomT
                            thomthom
                            last edited by

                            @jim said:

                            Yeah, but the downside is that the plugins that handle the file types would likely all need modified to handle the Drop Pad dispatcher.

                            hm... you meant for the pad to dispatch to existing plugins...?

                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply
                            Reply Quote 0
                            • john2J
                              john2
                              last edited by

                              any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?

                              Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

                              1 Reply Last reply
                              Reply Quote 0
                              • thomthomT
                                thomthom
                                last edited by

                                @john2 said:

                                any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?

                                Nope! It's too big of a project - I have too many other projects on my hand. But Dana is working such a manager. πŸ˜„

                                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                List of my plugins and link to the CookieWare fund

                                1 Reply Last reply
                                Reply Quote 0
                                • john2J
                                  john2
                                  last edited by

                                  @thomthom said:

                                  @john2 said:

                                  any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?

                                  Nope! It's too big of a project - I have too many other projects on my hand. But Dana is working such a manager. πŸ˜„

                                  where's that plugin any idea ❓

                                  Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • thomthomT
                                    thomthom
                                    last edited by

                                    It is under development - along side with a plugin repository.

                                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • irwanwrI
                                      irwanwr
                                      last edited by

                                      @unknownuser said:

                                      Requirements
                                      SketchUp 8M2 or newer - ( Other versions untested )

                                      oops...

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • john2J
                                        john2
                                        last edited by

                                        @thomthom said:

                                        It is under development - along side with a plugin repository.

                                        no beta version ..link 4 download??

                                        Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • Dave RD
                                          Dave R
                                          last edited by

                                          πŸ˜’

                                          Just relax. It'll be available when it is available.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • thomthomT
                                            thomthom
                                            last edited by

                                            @john2 said:

                                            @thomthom said:

                                            It is under development - along side with a plugin repository.

                                            no beta version ..link 4 download??

                                            Keep an eye on this site: http://www.extendsketchup.com/

                                            As Dave said - it's done when it's done. He's working on it along side his full time job - like I do. Making it very hard to promise a deadline. (It's hard even if it is your full time job any way... 😞 )

                                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                            List of my plugins and link to the CookieWare fund

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement