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

    [Plugin] Toggle Units

    Scheduled Pinned Locked Moved Plugins
    159 Posts 47 Posters 116.4k Views 47 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.
    • P Offline
      Pete
      last edited by

      Matt666, thank you for the very handy plugin. I use this all the time and was wondering if I could make one request...

      Could you add a favorites toggle? What I mean by this is allow the user to set favorite units / precision combinations they could toggle between with one click. In my case I need to toggle CM with 0.0 precision and Inches with 1/16 precision constantly. If I could set these two as favorites and have one button that would switch between only those two I would owe you!!

      1 Reply Last reply Reply Quote 0
      • M Offline
        Matt666
        last edited by

        Hi Pete! Thank you for your kind words..

        i don't use SU and Ruby anymore, my new job as musician doesn't need for these kind of software! ๐Ÿ˜„
        But I love programming so I will try to do something for you..

        I just have to reinstall SU!

        Frenglish at its best !
        My scripts

        1 Reply Last reply Reply Quote 0
        • D Offline
          design54
          last edited by

          i have a question please;
          can i use the plugin toggle units in commercial use; i mean i will not sell it, i want to use it in my design, i am interior designer and i use sketchup pro 8, to designs designs for clients so is it allowed to me to use it or no?

          thank you
          waiting your feedback

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

            @design54 said:

            i have a question please;
            can i use the plugin toggle units in commercial use; i mean i will not sell it, i want to use it in my design, i am interior designer and i use sketchup pro 8, to designs designs for clients so is it allowed to me to use it or no?
            thank you
            waiting your feedback
            Obviously you can't 'sell' someone else's creation, but the use of most of the forum's 'free' tools in your 'business' is acceptable, unless there is something specifically in a tool's 'notices' saying you can't... In this case it's 'All Rights Reserved... Free License...' etc but with no other limitations that I can see...
            Having said that it would be nice to offer an author a modest PayPal donation - after all if you are making money from a tool then sharing some of it would only seem fair... "What goes around comes around..."
            Matt666 doesn't have a donation button on the 'SketchUcation Plugin Store', but this doesn't prevent you sending him a Private Message and asking the question... If he declines you are no worse off, if he accepts you might feel better in your heart...

            TIG

            1 Reply Last reply Reply Quote 0
            • atelierpaarA Offline
              atelierpaar
              last edited by

              Hello there,
              I just installed SU 2014,
              After downloading Matts Toggle_Units.rb using the sketchucation download-Manager I get the following Error message:

              Fehler beim Laden der Datei Matt_Toggle_Units.rb
              Error: #<SyntaxError: C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units.rb:62: syntax error, unexpected ',', expecting ')'
              Sketchup.register_extension (ext,true)
              ^>
              Any Idea how to fix this ?
              thank`s for your comments,
              Uli

              1 Reply Last reply Reply Quote 0
              • H Offline
                hygicell
                last edited by

                same problem here ! ๐Ÿ˜ข
                could someone please make this wonderful plugin available for sketchup 2014 ?
                thanks
                Frank

                Error Loading File Matt_Toggle_Units.rb
                Error: #<SyntaxError: C:/Users/Frank/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units.rb:62: syntax error, unexpected ',', expecting ')'
                Sketchup.register_extension (ext,true)
                ^>

                1 Reply Last reply Reply Quote 0
                • jiminy-billy-bobJ Offline
                  jiminy-billy-bob
                  last edited by

                  You should try to contact Matt by email or something, so that he can fix it.

                  In the meantime, open the file
                  C:\Users\USERNAME\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins\Matt_Toggle_Units.rb
                  in notepad.

                  Change the last line from
                  Sketchup.register_extension (ext,true)
                  to
                  Sketchup.register_extension ext, true

                  Then it should work fine.

                  BTW, even if we can't get in touch with him, we cannot redistribute a fixed version of his plugin, as he states in his files "All Rights Reserved".

                  EDIT : It seems he visited the forum on Feb 27, so he should be around somewhere ๐Ÿ˜‰

                  25% off Skatter for SketchUcation Premium Members

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Matt666
                    last edited by

                    Hi all, I edited 1st post with a correction of the bug. Thank you.

                    Frenglish at its best !
                    My scripts

                    1 Reply Last reply Reply Quote 0
                    • atelierpaarA Offline
                      atelierpaar
                      last edited by

                      your right,
                      after changing the last line, everything works fine.
                      thanks for your help jiminy-billy-bob

                      Uli

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dtrarch
                        last edited by

                        Hi all
                        I needed to add extensions.rb to plugins and edit
                        toolbar_manager.html
                        tustrings.en
                        to correct english(engeniery) to Engineering (.en)

                        Now works and spells OK ๐Ÿ‘Ž ๐Ÿ‘Ž

                        Thank you Matt and what do you play ?

                        dtr


                        OS34005.JPG

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dtrarch
                          last edited by

                          Error

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            hygicell
                            last edited by

                            it works ! ๐Ÿ˜

                            many, many thanks jimini-billy-bob !

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              Matt666
                              last edited by

                              What do I play?

                              Frenglish at its best !
                              My scripts

                              1 Reply Last reply Reply Quote 0
                              • BoxB Offline
                                Box
                                last edited by

                                I believe he is referring to this

                                @matt666 said:

                                Hi Pete! Thank you for your kind words..

                                i don't use SU and Ruby anymore, my new job as musician doesn't need for these kind of software! ๐Ÿ˜„
                                But I love programming so I will try to do something for you..

                                I just have to reinstall SU!

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Matt666
                                  last edited by

                                  Aaaah! ^^ I am a drummer!

                                  Frenglish at its best !
                                  My scripts

                                  1 Reply Last reply Reply Quote 0
                                  • CadFatherC Offline
                                    CadFather
                                    last edited by

                                    @matt666 said:

                                    Aaaah! ^^ I am a drummer!

                                    yeah, we know the types...bad dudes! ๐Ÿ˜†

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

                                      There was a single method (arguments) error in the extension 'loader' .rb.
                                      I've corrected it to method(arguments) so it is now v2014 compliant.
                                      I updated it for the PluginStore entry [v3.000]...
                                      http://sketchucation.com/pluginstore?pln=Matt_Toggle_Units

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        brendanherri
                                        last edited by

                                        Hello all,

                                        I still have some troubles with this very usefull extension.
                                        It also seems to be related to a UTF8 issue as you can see the error message below.
                                        I have Win7 64bit pro. Any idea ?

                                        Erreur de chargement du fichier C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units/Toggle_Units.rb
                                        Error: #<ArgumentError: invalid byte sequence in UTF-8>
                                        C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units/Toggle_Units.rb:16:in split' C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units/Toggle_Units.rb:16:in block in module:Toggle_Units'
                                        C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units/Toggle_Units.rb:15:in each' C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units/Toggle_Units.rb:15:in module:Toggle_Units'
                                        C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units/Toggle_Units.rb:5:in <module:Matt_Tools>' C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units/Toggle_Units.rb:4:in <top (required)>'
                                        C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load'
                                        C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units.rb:62:in register_extension' C:/Users/dell/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Matt_Toggle_Units.rb:62:in <top (required)>'

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          driven
                                          last edited by

                                          The language string files haven't been encoded as UFT8 and have a silly extensions [.en, .fr]...

                                          it would be simpler to use .txt so people can edit their own copies.

                                          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
                                          • TIGT Offline
                                            TIG Moderator
                                            last edited by

                                            Dam' - missed it - I'll look & update asap...

                                            TIG

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

                                            Advertisement