sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] VisTools

    Scheduled Pinned Locked Moved Plugins
    69 Posts 21 Posters 54.4k Views 21 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.
    • Dan RathbunD Offline
      Dan Rathbun
      last edited by

      @simon le bon said:

      Page 2:

      @unknownuser said:

      Utilities](http://sketchucation.com/forums/viewtopic.php?f) (renamed VisTools)":2wizqn62]Version 2.x is coming .....
      ... We are then gone back to the first post of this present thread ๐Ÿ˜‰

      Simon,
      I suppose you are asking the question "What happened to FreezeTools v2.0 ?"

      (1) FreezeTools must be thought of as an experimental code fork of the original, that was never released.

      (2) Some organizational ideas for the code were used by Dana in the VisTools v1.1 (or v1.0.1 ?) release.

      I am guessing that I had made the codebase for FreezeTools much too complex, in too many files. Again (guessing,) I think Dana did not have the time to test it, but needed to update the original, and decided to keep the update as simple as possible, still in one file, and include only the most important revisions, which were the name change to VisTools, and wrapping the code within his new IntrepidBear module namespace.

      And probably, that was the correct decision. (I think I got carried away, and broke the code up into far too many files. Also, I likely introduced too many changes all at once. It is better to do changes in smaller increments, for debugging, and just in case that "fork" must be rolled back if it does not work out.)

      But... since VisTools still needed an update to correct the multi-model situation on Mac, I said to myself,
      "Why waste the work I and others did creating the language strings for FreezeTools?"

      I still have all those language hash files, so I used the language strings, but in a slightly different way. (I no longer read the file as a hash literal into a string object, and then eval() it. I just let the interpreter use the language file via the load() method.)

      SO .... this really is where we should be.

      Version %(#000000)[1.2.0] is just a small incremental change that adds multi-model support, and loads localized language strings for the menus, toolbar, and tooltips.

      ๐Ÿค“

      I'm not here much anymore.

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        Issue #15 - Feedback needed:

        Should commands that change entity states (hide, show, isolate, unfreeze & freeze,) touch entities that are already on hidden layers?

        Currently there is no test for this, and commands just change the states without testing if the entity is on a layer that is not displayed.

        Should we:

        (1) avoid changing entity states when the entity is already hidden by virtue of it's layer ?

        or

        (2) provide a toggle (both menu item and toolbar button,) to ignore hidden layers ?

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • Dan RathbunD Offline
          Dan Rathbun
          last edited by

          Issue #13 - Feedback needed:

          The hide_entities() and isolate_entities() commands can unexpectedly cause freezing.

          If the entity is a group or component, and it is already locked, but not hidden, the above commands will cause freezing, by making them both hidden and locked. (Ie, there is no test to determine if the entity is a locked group or component.)

          This may be unexpected by the user. A subsequent show_all command will not then make everything that was hidden become visible again.

          Is this kind of freezing desired ?? ... or should these commands be changed to avoid causing freezing ?

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            Dan Rathbun
            last edited by

            Issue #12 - Feedback needed.

            Should the show_all() command be separated into a show_all_layers() and show_all_groups_and_components() command ??

            Reasoning: The layers are not tested for freezing (because they cannot be locked,) but the groups and components are tested for freezing.

            I'm not here much anymore.

            1 Reply Last reply Reply Quote 0
            • Dan RathbunD Offline
              Dan Rathbun
              last edited by

              Issue #11 - Feedback needed:

              The command methods show_all() and unfreeze_all() only work upon the model level entities collection.

              Should these instead iterate the definitions collection, and their instances collections, in order to act upon groups and components at ANY level, top or nested ??

              I'm not here much anymore.

              1 Reply Last reply Reply Quote 0
              • I Offline
                ishboo
                last edited by

                Dan, you're at it again ๐Ÿ˜‰

                You're correct in guessing that I was daunted by your changes, I appreciate you're understanding and your time.

                As you may have noticed, we've made the decision of closing down ExtendSketchUp and in turn I won't be doing any work on SketchUp plugins in the foreseeable future. Please feel free to use my code in any way you choose and I hope some of it becomes useful. Sorry to be disappearing but I don't use SketchUp much these days and don't feel I can adequately support any plugins at this time.

                Cheers!

                SketchUp plugin marketplace: http://extendsketchup.com/

                1 Reply Last reply Reply Quote 0
                • Dan RathbunD Offline
                  Dan Rathbun
                  last edited by

                  UPDATE v1.3.3

                  Added Asian language support:

                  • Chinese Simplified (zh-CN) language support by Xiao Long (guanjin)

                  • Other Asian language support files (preliminary):

                  • Chinese Traditional (zh-TW)

                  • Japanese (ja)

                  • Korean (ko)

                  THANK YOU to :

                  • Xiao Long (guanjin)

                  Chinese Simplified (zh-CN) language file.

                  Pushed update into a forked GitHub online repository at:
                  https://github.com/DanRathbun/sketchup-vistools

                  ๐Ÿค“

                  Feedback via: https://github.com/DanRathbun/sketchup-vistools/issues

                  I'm not here much anymore.

                  1 Reply Last reply Reply Quote 0
                  • Dan RathbunD Offline
                    Dan Rathbun
                    last edited by

                    UPDATE v1.3.2

                    Pushed update into a forked GitHub online repository at:
                    https://github.com/DanRathbun/sketchup-vistools

                    ๐Ÿค“

                    Feedback via: https://github.com/DanRathbun/sketchup-vistools/issues

                    I'm not here much anymore.

                    1 Reply Last reply Reply Quote 0
                    • Dan RathbunD Offline
                      Dan Rathbun
                      last edited by

                      [Plugin] VisTools v1.2.1 ready for testing

                      I'm not here much anymore.

                      1 Reply Last reply Reply Quote 0
                      • Dan RathbunD Offline
                        Dan Rathbun
                        last edited by

                        [Plugin] VisTools v1.2.0 ready for testing

                        I'm not here much anymore.

                        1 Reply Last reply Reply Quote 0
                        • Dan RathbunD Offline
                          Dan Rathbun
                          last edited by

                          [Plugin] VisTools v1.3.0 ready for testing

                          I'm not here much anymore.

                          1 Reply Last reply Reply Quote 0
                          • Dan RathbunD Offline
                            Dan Rathbun
                            last edited by

                            Issue: Toolbar button ordinal positions

                            ADD: Issue filed for milestone 1.3.1, and fix has been done.

                            I'm not here much anymore.

                            1 Reply Last reply Reply Quote 0
                            • Dan RathbunD Offline
                              Dan Rathbun
                              last edited by

                              UPDATE v1.3.1

                              Pushed update into a forked GitHub online repository at:
                              https://github.com/DanRathbun/sketchup-vistools

                              ๐Ÿค“

                              Feedback via: https://github.com/DanRathbun/sketchup-vistools/issues

                              I'm not here much anymore.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                risoto1978
                                last edited by

                                Hi ishboo, the plugin is great but unfortunately "isolate selected layers", "isolate selected entities" and "freeze" and "unfreeze" does work."Hide selected layers" and "show all layers and entities" work perfectly. I formerly used the hide tool within the SCF selector toolbar but unfortunately this toolbar is not available fro SU 2014. I work with SU 2014. Can you help?

                                1 Reply Last reply Reply Quote 0
                                • Dan RathbunD Offline
                                  Dan Rathbun
                                  last edited by

                                  This has not been tested under SU2013 nor SU2014.

                                  WHAT commands DO NOT work ????

                                  I'm not here much anymore.

                                  1 Reply Last reply Reply Quote 0
                                  • josephkim626J Offline
                                    josephkim626
                                    last edited by

                                    @dan rathbun said:

                                    UPDATE v1.3.3

                                    Added Asian language support:

                                    • Chinese Simplified (zh-CN) language support by Xiao Long (guanjin)

                                    • Other Asian language support files (preliminary):

                                    • Chinese Traditional (zh-TW)

                                    • Japanese (ja)

                                    • Korean (ko)

                                    THANK YOU to :

                                    • Xiao Long (guanjin)

                                    Chinese Simplified (zh-CN) language file.

                                    Pushed update into a forked GitHub online repository at:
                                    https://github.com/DanRathbun/sketchup-vistools

                                    ๐Ÿค“

                                    Feedback via: https://github.com/DanRathbun/sketchup-vistools/issues

                                    what, I didn't know you speak korean Dan. ๐Ÿ˜„
                                    I don't mind helping out the language review, but I want to avoid installing another version of SketchUp in Korean ๐Ÿ˜•

                                    1 Reply Last reply Reply Quote 0
                                    • Dan RathbunD Offline
                                      Dan Rathbun
                                      last edited by

                                      @josephkim626 said:

                                      what, I didn't know you speak korean Dan.

                                      I don't. I used Google Translator and Bing Translator. I have no idea if my translations are cussing a ppl, or not.

                                      @josephkim626 said:

                                      I don't mind helping out the language review, but I want to avoid installing another version of SketchUp in Korean.

                                      You can load the files in a code editor.
                                      I use Notepad++ on Windows.
                                      The files must be saved in UTF-8 encoding.

                                      The Vistools loader ruby in the "Plugins" folder has the descriptions in it, and the korean setting is this:
                                      @@plugin.description = %q{VisTools:(๋น„์ „ ๋„๊ตฌ) ๋ช‡ ๊ฐ€์ง€ ์œ ์šฉํ•œ ์—”ํ„ฐํ‹ฐ๋ฅผ ์ถ”๊ฐ€ ํ•˜ ๊ณ  ํ‘œ์‹œ ๋„๊ตฌ์— Sketchup ์—์„œ ๋ ˆ์ด์–ด: ์ˆจ๊ธฐ๊ธฐ, ํ‘œ์‹œ, ๋™๊ฒฐ ๋ฐ ํ•ด ๋™}

                                      In the plugins' folder is a " VisTools_ko.rb" file with the other UI strings which looks like:

                                      # encoding; UTF-8
                                      #
                                      #  THIS FILE MUST BE SAVED IN ENCODING;  "UTF-8 WITHOUT BOM"
                                      #
                                      module IntrepidBear  # <--<< Dana Woodman's proprietary toplevel namespace
                                      
                                        module VisTools    # <--<< THIS plugin's nested namespace
                                      
                                          #{# MODULE VARIABLE LANGUAGE HASHES
                                          #
                                            # --====  KOREAN  ====-- #
                                      
                                            @@menutext = Hash[
                                              ;plugin_name,      "๋น„์ „ ๋„๊ตฌ",
                                              #
                                              ;hide_layers,      "๋ ˆ์ด์–ด ์ˆจ๊ธฐ๊ธฐ",
                                              ;isolate_layers,   "๋ถ„๋ฆฌ ๋ ˆ์ด์–ด",
                                              ;hide_entities,    "์—”ํ‹ฐํ‹ฐ ์ˆจ๊ธฐ๊ธฐ",
                                              ;isolate_entities, "์—”ํ„ฐํ‹ฐ๋ฅผ ๋ถ„๋ฆฌ",
                                              ;freeze_entities,  "๊ณ ์ • ๊ทธ๋ฃน ๋ฐ ๊ตฌ์„ฑ ์š”์†Œ",
                                              ;unfreeze_all,     "๊ณ ์ • ์ทจ์†Œ ๋ชจ๋‘",
                                              ;show_all,         "๋ชจ๋‘ ํ‘œ์‹œ",
                                              #
                                              ;debug_mode,       "๋””๋ฒ„๊ทธ ๋ชจ๋“œ"
                                            ]
                                      
                                            @@tooltips = Hash[
                                              ;hide_layers,      "์„ ํƒํ•œ ๋ ˆ์ด์–ด ์ˆจ๊ธฐ๊ธฐ",
                                              ;isolate_layers,   "์„ ํƒ ๋œ ๋„๋ฉด์ธต ๋ถ„๋ฆฌ",
                                              ;hide_entities,    "์„ ํƒํ•œ ์—”ํ‹ฐํ‹ฐ ์ˆจ๊ธฐ๊ธฐ",
                                              ;isolate_entities, "์„ ํƒ ๋œ ์—”ํ„ฐํ‹ฐ๊ฐ€ ๋ถ„๋ฆฌ",
                                              ;freeze_entities,  "๊ทธ๋ฃน ๋ฐ ๊ตฌ์„ฑ ์š”์†Œ ๋™๊ฒฐ",
                                              ;unfreeze_all,     "๋ชจ๋‘ ๊ณ ์ • ์ทจ์†Œ",
                                              ;show_all,         "๋ชจ๋“  ๋ ˆ์ด์–ด ๋ฐ ์—”ํ„ฐํ‹ฐ ๋ณด๊ธฐ"
                                            ]
                                          #
                                          #}#
                                      
                                        end # module VisTools
                                      
                                      end # module IntrepidBear
                                      

                                      I'm not here much anymore.

                                      1 Reply Last reply Reply Quote 0
                                      • josephkim626J Offline
                                        josephkim626
                                        last edited by

                                        @@plugin.description = %q{VisTools:(VisTools) ์Šค์ผ€์น˜์—…์— ๋ ˆ์ด์–ด์™€ ๊ฐ์ฒด ์ œ์–ด๋ฅผ ๋•๋Š” ์ˆจ๊ธฐ๊ธฐ, ํ‘œ์‹œ, ๋™๊ฒฐ ๋ฐ ํ•ด๋™ ๋“ฑ์˜ ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€.}

                                        @@menutext = Hash[
                                        :plugin_name, "Vistools",
                                        #
                                        :hide_layers, "๋ ˆ์ด์–ด ์ˆจ๊น€",
                                        :isolate_layers, "๋ ˆ์ด์–ด ๋ถ„๋ฆฌ",
                                        :hide_entities, "๊ฐ์ฒด ์ˆจ๊น€",
                                        :isolate_entities, "๊ฐ์ฒด ๋ถ„๋ฆฌ",
                                        :freeze_entities, "๊ฐ์ฒด ๋™๊ฒฐ",
                                        :unfreeze_all, "๋ชจ๋“  ๋ ˆ์ด์–ด ๋ฐ ๊ฐ์ฒด ํ•ด๋™",
                                        :show_all, "๋ชจ๋“  ๋ ˆ์ด์–ด ๋ฐ ๊ฐ์ฒด ํ‘œ์‹œ",
                                        #
                                        :debug_mode, "๋””๋ฒ„๊ทธ ๋ชจ๋“œ"
                                        ]

                                          @@tooltips = Hash[
                                            :hide_layers,      "์„ ํƒ ๋œ ๋ ˆ์ด์–ด ์ˆจ๊ธฐ๊ธฐ",
                                            :isolate_layers,   "์„ ํƒ ๋œ ๋ ˆ์ด์–ด ๋ถ„๋ฆฌ",
                                            :hide_entities,    "์„ ํƒ ๋œ ๊ฐ์ฒด ์ˆจ๊น€",
                                            :isolate_entities, "์„ ํƒ ๋œ ๊ฐ์ฒด ๋ถ„๋ฆฌ",
                                            :freeze_entities,  "์„ ํƒ ๋œ ๊ฐ์ฒด ๋™๊ฒฐ",
                                            :unfreeze_all,     "๋ชจ๋‘ ๋ ˆ์ด์–ด ๋ฐ ๊ฐ์ฒด ํ•ด๋™",
                                            :show_all,         "๋ชจ๋“  ๋ ˆ์ด์–ด ๋ฐ ๊ฐ์ฒด ํ‘œ์‹œ"
                                          ]
                                        #
                                        #}#
                                        

                                        Above is the parts of the code that you have included perhaps better explains your plugin.
                                        I have short experience in translating programs/documents. I think this would do.

                                        The description of Vistools didn't really mean anything as the sentences were in shuffled order. I've kept the name in English as I am not sure direct translation really gives you any benefit.

                                        Just so you know, you didn't really offend anyone ๐Ÿ˜›

                                        @dan rathbun said:

                                        The Vistools loader ruby in the "Plugins" folder has the descriptions in it, and the korean setting is this:
                                        @@plugin.description = %q{VisTools:(๋น„์ „ ๋„๊ตฌ) ๋ช‡ ๊ฐ€์ง€ ์œ ์šฉํ•œ ์—”ํ„ฐํ‹ฐ๋ฅผ ์ถ”๊ฐ€ ํ•˜ ๊ณ  ํ‘œ์‹œ ๋„๊ตฌ์— Sketchup ์—์„œ ๋ ˆ์ด์–ด: ์ˆจ๊ธฐ๊ธฐ, ํ‘œ์‹œ, ๋™๊ฒฐ ๋ฐ ํ•ด ๋™}

                                        In the plugins' folder is a " VisTools_ko.rb" file with the other UI strings which looks like:

                                        # encoding; UTF-8
                                        > #
                                        > #  THIS FILE MUST BE SAVED IN ENCODING;  "UTF-8 WITHOUT BOM"
                                        > #
                                        > module IntrepidBear  # <--<< Dana Woodman's proprietary toplevel namespace
                                        > 
                                        >   module VisTools    # <--<< THIS plugin's nested namespace
                                        > 
                                        >     #{# MODULE VARIABLE LANGUAGE HASHES
                                        >     #
                                        >       # --====  KOREAN  ====-- #
                                        > 
                                        >       @@menutext = Hash[
                                        >         ;plugin_name,      "๋น„์ „ ๋„๊ตฌ",
                                        >         #
                                        >         ;hide_layers,      "๋ ˆ์ด์–ด ์ˆจ๊ธฐ๊ธฐ",
                                        >         ;isolate_layers,   "๋ถ„๋ฆฌ ๋ ˆ์ด์–ด",
                                        >         ;hide_entities,    "์—”ํ‹ฐํ‹ฐ ์ˆจ๊ธฐ๊ธฐ",
                                        >         ;isolate_entities, "์—”ํ„ฐํ‹ฐ๋ฅผ ๋ถ„๋ฆฌ",
                                        >         ;freeze_entities,  "๊ณ ์ • ๊ทธ๋ฃน ๋ฐ ๊ตฌ์„ฑ ์š”์†Œ",
                                        >         ;unfreeze_all,     "๊ณ ์ • ์ทจ์†Œ ๋ชจ๋‘",
                                        >         ;show_all,         "๋ชจ๋‘ ํ‘œ์‹œ",
                                        >         #
                                        >         ;debug_mode,       "๋””๋ฒ„๊ทธ ๋ชจ๋“œ"
                                        >       ]
                                        > 
                                        >       @@tooltips = Hash[
                                        >         ;hide_layers,      "์„ ํƒํ•œ ๋ ˆ์ด์–ด ์ˆจ๊ธฐ๊ธฐ",
                                        >         ;isolate_layers,   "์„ ํƒ ๋œ ๋„๋ฉด์ธต ๋ถ„๋ฆฌ",
                                        >         ;hide_entities,    "์„ ํƒํ•œ ์—”ํ‹ฐํ‹ฐ ์ˆจ๊ธฐ๊ธฐ",
                                        >         ;isolate_entities, "์„ ํƒ ๋œ ์—”ํ„ฐํ‹ฐ๊ฐ€ ๋ถ„๋ฆฌ",
                                        >         ;freeze_entities,  "๊ทธ๋ฃน ๋ฐ ๊ตฌ์„ฑ ์š”์†Œ ๋™๊ฒฐ",
                                        >         ;unfreeze_all,     "๋ชจ๋‘ ๊ณ ์ • ์ทจ์†Œ",
                                        >         ;show_all,         "๋ชจ๋“  ๋ ˆ์ด์–ด ๋ฐ ์—”ํ„ฐํ‹ฐ ๋ณด๊ธฐ"
                                        >       ]
                                        >     #
                                        >     #}#
                                        > 
                                        >   end # module VisTools
                                        > 
                                        > end # module IntrepidBear
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Dan RathbunD Offline
                                          Dan Rathbun
                                          last edited by

                                          @josephkim626 said:

                                          Above is the parts of the code that you have included perhaps better explains your plugin.
                                          I have short experience in translating programs/documents. I think this would do.

                                          The description of Vistools didn't really mean anything as the sentences were in shuffled order. I've kept the name in English as I am not sure direct translation really gives you any benefit.

                                          Just so you know, you didn't really offend anyone ๐Ÿ˜›

                                          Okay, thank you Joseph. You have been entered in the halls of VisTools fame !

                                          The patch RBZ for your Korean language strings has been posted in the OP of this thread:
                                          http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=49662%26amp;p=446865#p446865
                                          You just install it in the normal manner, and it should overwrite the old "VisTools_ko.rb" file.

                                          You need to restart SketchUp to load the new strings.

                                          I'm not here much anymore.

                                          1 Reply Last reply Reply Quote 0
                                          • josephkim626J Offline
                                            josephkim626
                                            last edited by

                                            Thank Dan,

                                            I prefer English in most cases, but honored to be on the halls of fame!

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

                                            Advertisement