sketchucation logo sketchucation
    • 登入
    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!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    [Plugin] Simple Plugin Installer

    已排程 已置頂 已鎖定 已移動 Plugins
    83 貼文 29 Posters 173.0k 瀏覽 29 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • thomthomT 離線
      thomthom
      最後由 thomthom 編輯

      Overview
      SketchUp's "Install Extension" button only allows .RBZ files, and you have to navigate through several clicks to get to the button.

      As someone who often installs plugin I wanted an easier and more flexible method which resulted in this small and simple utility to make it easier to install .RBZ, .ZIP packages. It also let you pick .RB files which will be copied to the Plugins folder. (Note, this feature has not been tested under systems with limited access, so it might fail - where the user will see an error message.)

      Version 1.1.0
      Added guard against VirtualStore under Windows. See this thread for more info on VirtualStore: http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=48399

      [anchor=InstallRBZ goto=InstallRBZ:10udb40n]Installing RBZ File[/anchor:10udb40n]
      WindowPreferences.png
      InstallExtension.png
      SelectFile.png

      For more information on installing plugins: http://www.thomthom.net/thoughts/2012/01/installing-plugins-for-google-sketchup/

      Access
      Plugins > Install

      SimpleInstaller.png

      Features

      • ZIP Package
        Allows for installation of .ZIP files as if they where .RBZ files.
      • RBZ Package
        Does the same as SketchUp's "Install Extension" button.
      • RB File
        Copies selected .rb file to the Plugins folder.
        ( As reported by Sketchup.find_support_file('Plugins') )
      • RBS File 1.0.3
        Copies selected .rbs file to the Plugins folder.
      • Open Extension Manager
        Simply opens the Extension page under SketchUp's Preferences window.

      Requirements

      • SketchUp 8M2 or newer

      Link Preview Image
      SketchUp Plugins | PluginStore | SketchUcation

      SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

      favicon

      (sketchucation.com)

      Footprint

      http://forums.sketchucation.com/download/file.php?id=53762
      <Sketchup>/Plugins/
      +-
      http://forums.sketchucation.com/download/file.php?id=53763
      tt_simple_installer.rb


      http://forums.sketchucation.com/download/file.php?id=53761

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

      1 條回覆 最後回覆 回覆 引用 0
      • mitcorbM 離線
        mitcorb
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • TIGT 離線
          TIG Moderator
          最後由 編輯

          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 條回覆 最後回覆 回覆 引用 0
          • thomthomT 離線
            thomthom
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • thomthomT 離線
                thomthom
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • Dave RD 離線
                  Dave R
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 0
                  • thomthomT 離線
                    thomthom
                    最後由 編輯

                    @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 條回覆 最後回覆 回覆 引用 0
                    • J 離線
                      Jim
                      最後由 編輯

                      @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 條回覆 最後回覆 回覆 引用 0
                      • thomthomT 離線
                        thomthom
                        最後由 編輯

                        @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 條回覆 最後回覆 回覆 引用 0
                        • J 離線
                          Jim
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • thomthomT 離線
                            thomthom
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • thomthomT 離線
                              thomthom
                              最後由 編輯

                              @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 條回覆 最後回覆 回覆 引用 0
                              • john2J 離線
                                john2
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • thomthomT 離線
                                  thomthom
                                  最後由 編輯

                                  @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 條回覆 最後回覆 回覆 引用 0
                                  • john2J 離線
                                    john2
                                    最後由 編輯

                                    @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 條回覆 最後回覆 回覆 引用 0
                                    • thomthomT 離線
                                      thomthom
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • irwanwrI 離線
                                        irwanwr
                                        最後由 編輯

                                        @unknownuser said:

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

                                        oops...

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • john2J 離線
                                          john2
                                          最後由 編輯

                                          @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 條回覆 最後回覆 回覆 引用 0
                                          • Dave RD 離線
                                            Dave R
                                            最後由 編輯

                                            😒

                                            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 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement