• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[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.
  • D Offline
    Dan Rathbun
    last edited by 25 Aug 2011, 02:22


    Version 2.x is coming .....


    Language translators, and proofreaders needed.

    I did the German (de) and Spanish (es) files, and they need proofing. (It's been 35 years since I took Spanish in high school, and I only 'dabble' in German when doing genealogy research.)

    The files need to be Unix line endings (EOL) and UTF-8 encoded. They are named "basic_utf8_XX.hash" and "debug_utf8_XX.hash", where XX is replaced by the lowercase language code. (ie: 'en', 'es', 'pl', 'fr', etc...)

    The plugin will "auto" find these files, or the user can choose a specific lang from those that are present. (In 'en' mode, the hash files are not actually loaded... as the Ruby code knows what the English strings are.)

    <----<<<< PM me if you'd like to do a certain Language translation, or proofread/correct the 'de' or 'es' files.

    If a debug hash file is not available for a certain language (but the UI strings in a basic hash file are present,) then the UI will be in that local language, and console output will be in English (if the user has turned it ON.)
    So... the priority is on the 'basic' hash files, in order to show the UI elements in the local language.

    replaceable parameters
    %s will be replaced by a number, like: 34
    '%s' will be replaced by an entity flag, like: '#<Sketchup::Face:0x624452c>'

    The helper file for pasting into Google Translate.. or whatever
    NOTE! The above file, and the hash file in the next post, will be used with ver 2.x,... they do NOT work with ver 1.0 (if that's why y'all are downloading, but not volunteering to translate.)
    Translator links: Google Translate : MicroSoft Translator

    I'm not here much anymore.

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 25 Aug 2011, 06:29

      You can try the translaters I used: http://www.thomthom.net/software/vertex_tools/translations

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

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dan Rathbun
        last edited by 25 Aug 2011, 17:24

        Thanks go out to Defisto for proofing and editing the Spanish 'es' files !!!

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dan Rathbun
          last edited by 25 Aug 2011, 17:27

          OK.. here's the basic hash template file:

          The 'XX' in the name needs to be replaced with a 2 char. language code.
          Within the file, change the "XX" hash values to the local translation.

          Please use parenthesis ( ) as I have, and punctuation periods, or '...' where I have, in the translations.
          Also repeat the use of capitalized words, as they are in the English keys.

          The %s params can be moved in the translated strings, to where they are more appropriate for the particular language.

          basic_utf8_XX.hash.txt


          Here is the template file for the debug strings.

          The technical terms should match those in the localized editions of Sketchup.

          debug_utf8_XX.hash.txt

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dan Rathbun
            last edited by 25 Aug 2011, 17:35

            Added the "debug" string template file in the post above...
            see: http://forums.sketchucation.com/viewtopic.php?f=323&t=36465&p=350210#p350210

            I'm not here much anymore.

            1 Reply Last reply Reply Quote 0
            • I Offline
              ishboo
              last edited by 25 Aug 2011, 17:49

              Great to see all this activity!

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

              1 Reply Last reply Reply Quote 0
              • P Offline
                pilou
                last edited by 25 Aug 2011, 19:55

                I am on the road for the French language! 😉

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

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Gaieus
                  last edited by 25 Aug 2011, 20:29

                  I can do some Hungarian - need to install the plugin and see what it exactly does so that I understand why the expressions are what they are.

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    ishboo
                    last edited by 25 Aug 2011, 20:33

                    @unknownuser said:

                    I am on the road for the French language! 😉

                    Excellent!

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

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pilou
                      last edited by 25 Aug 2011, 20:42

                      @unknownuser said:

                      limit=%s

                      I have translated the word "limit" by "limite" in French : must or not ? (I suppose yes 😄

                      Not yet tested 😳
                      you must rename them ...utf8_fr.hash.txt I suppose?


                      basic_utf8_XX.hash.txt


                      debug_utf8_XX.hash.txt

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

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Dan Rathbun
                        last edited by 26 Aug 2011, 00:27

                        Looks good... Thank you.

                        But... we need the Plugin Description in Francais, Si vous plaît:

                        "Adds some useful tools within SketchUp, like Hide / Show entities and layers, Freeze / Unfreeze for components, and Show / Unfreeze all."

                        Combination of Google & Microsoft Translators:

                        %(#8000BF)["Ajoute quelques outils utiles dans SketchUp, comme Cacher / Montrer des entités et des calques, Gel / Dégel pour des composants, et de Montrer / Dégeler tous."]

                        Sound OK ??

                        I'm not here much anymore.

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pilou
                          last edited by 26 Aug 2011, 01:18

                          Quasi perfect 😉
                          "Ajoute quelques outils utiles dans SketchUp, comme Cacher / Montrer des entités et des calques, Geler / Dégeler pour des composants, et Montrer / Dégeler tous."

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

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            Dan Rathbun
                            last edited by 26 Aug 2011, 03:14

                            OK.. thanks Pilou ... got and updated the file.

                            FEI (For Everyone's Information): I finally quit "fiddling" and sent Dana the "FreezeTools" ver 2.0.0 package, so he can have a first look. He'll likely put the package up on Github, until we are satisfied, that there are no major issues. Then he or I, will put the package on the EXTENDSketchup site.

                            Known "to do":

                            1. Reformat and expand the Help html file.
                            2. Tweak the "All" commands so they are correctly walking the nested groups / components, and performing their tasks the way they should.
                            3. Make sure if possible we do not have strange behavour during Undo and Redo operations.

                            I'm not here much anymore.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Dan Rathbun
                              last edited by 26 Aug 2011, 19:07

                              Note: Dana will be away till late next week (Thursday or so,) and will not be able to begin reviewing the new version til then.
                              Your patience is appreciated.

                              I'm not here much anymore.

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                ishboo
                                last edited by 26 Aug 2011, 20:54

                                Actually, I'll be back around the 5th of September 😕

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

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  bimboombang
                                  last edited by 15 May 2012, 21:27

                                  THE ISOLATE LAYER DOESN'T WORK. i'M RUNNING SKETCHUP 8 PRO.

                                  Here's the ruby console errors.

                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:241
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:45:in `call'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:45

                                  Is there a fix or version 2.0 for skecthup 8 pro?

                                  Thanks. 😞

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Dan Rathbun
                                    last edited by 15 May 2012, 23:39

                                    First of all, the Active Layer cannot be hidden, so if you expected that, it will not happen.

                                    Isolate Layer seems to work OK in my v2.0.0 ...

                                    I had sent it to Dana for his approval, but he had just started a new job, and was heavily working on the ExtendSketchup plugin... so nothing has happened.

                                    Dana.. how about if we have TIG and/or ThomThom take a look ??

                                    I'm not here much anymore.

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by 16 May 2012, 09:35

                                      If you have v1... zip downloaded from the direct link, then it doesn't contain the begin..rescue..end protection of the newer version that you can download manually from the site that is linked to 😕
                                      However, as even this could also jump out of the layer manipulation loop prematurely you can fix the tool's code thus...

                                      Edit the Utilities.rb file in the SU_Utils subfolder, using Notepad or a similar plain text editor like Notepad++...
                                      Use its 'Find and Replace' tool to change the two lines of code that say
                                      l.visible = false
                                      with this
                                      l.visible = false **unless l == @model.active_layer**
                                      This will stop you trying to make the active layer invisible which is disallowed...
                                      Save it and restart Sketchup.
                                      Now the two layer tools that try to switch layers 'off' should work without errors...

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        ishboo
                                        last edited by 16 May 2012, 21:40

                                        Thanks Dan/TIG for replying! You guys rock.

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

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          dbehrens9000
                                          last edited by 26 Sept 2012, 21:27

                                          Ishboo,

                                          I use this utility alot with large projects and it no longer works with sketchup 8.0.15158. Could you please check why it does not load? Was there a change in the sdk that conflicts with your ruby scrpit?

                                          Many thanks,

                                          David

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

                                          Advertisement