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.
    • JClementsJ Offline
      JClements
      last edited by

      Hey Matt:

      Could the new values created when the accuracy buttons are clicked, be displayed somewhere such as in the Task Bar or better yet when the mouse is put over the top of button?

      John

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • BurkhardB Offline
        Burkhard
        last edited by

        Same happens on my Mac . Just the last three buttons worked as expected. 😞

        [http://www.ia-plus.de(http://www.ia-plus.de)]

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

          Amigo!!! se que no vas a entender esto... pero si lo traduces quizas si...

          TU ERES MI IDOLO!!!!!!

          es la herramienta mas util que necesitaba par trabajar... te lo agradezco toda la vida...

          Matias desde Corrientes, Argentina

          1 Reply Last reply Reply Quote 0
          • chrisglasierC Offline
            chrisglasier
            last edited by

            Much better - thanks Matt ...
            SquareFoot Calcs4.jpg

            With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

            1 Reply Last reply Reply Quote 0
            • Bob JamesB Offline
              Bob James
              last edited by

              Only the 10th and 11th icon work on my Mac version. Also, as mentioned previously, the buttons stay depressed even when you press a different one.
              Also, there is not much difference in the gray color between pressed and not pressed for the "Dec" button (when it is in its "not-pressed" condition it is already grayed out, but not quite as much as when it is pressed). See Attachment.

              When I get it working it will be of significant value since I often work with both decimal inches and feet/inches.


              !["Dec" not pressed](/uploads/imported_attachments/zvhk_Picture16.png ""Dec" not pressed")

              i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

              1 Reply Last reply Reply Quote 0
              • kenK Offline
                ken
                last edited by

                Is there anyone else that is having trouble with this plugin with Sketchup 7.1.6860. It will change the precision but not the units.

                Thanks in advance.

                Ken

                Fight like your the third monkey on Noah's Ark gangway.

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

                  try with these: toggle_units.zip

                  1 Reply Last reply Reply Quote 0
                  • EdsonE Offline
                    Edson
                    last edited by

                    max, what problems is this new version supposed to solve? the copy I have installed works fine but for one thing: the buttons stay depressed even when you press a different one. by the way, I am on mac running the latest snow leopard.

                    edson mahfuz, architect| porto alegre • brasil
                    http://www.mahfuz.arq.br

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

                      EDIT: if using SU 7.1, install the 2 files inside the zip (thanks to Jim)
                      toggle_units.zip

                      Matt, Thank you for this! 😄

                      one question.. how can i assign a keyboard shortcut to one of them? or is it not possible?

                      also, the units redraw only when i click on the screen or (press the esc key) - is that to do with screen refresh? if so is there any way to make it refresh automatically?

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

                        unfortunately i have no knowledge of macs so i'm not able to test - on my pc once the 'dec' is enabled the icons stray pressed when selected..

                        1 Reply Last reply Reply Quote 0
                        • kenK Offline
                          ken
                          last edited by

                          @cadfather said:

                          try with these: [attachment=0:xryojohw]<!-- ia0 -->toggle_units.zip<!-- ia0 -->[/attachment:xryojohw]

                          CadFather

                          Somehow I missed this post. So today I tried this post. I now have a toolbar with no icons showing. It seems the icon should now be in another directory. I haven't moved the icons until I know this is what is at fault.

                          Also, after selecting Fract in the plugin menu, the plugin stop working until I select to top selection.

                          So was the attachment you had posted, was that for my problem or a MAC issue.

                          And what happen to Matt666?

                          Would like some help, I find this a very valuable plugin.

                          Thanks in advance.

                          Ken

                          Fight like your the third monkey on Noah's Ark gangway.

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

                            Hi all.
                            Sorry for the problems, and I don't have any time to search a solution... My work takes me a lot of time.
                            I will try to see what does not work with this new SU update.
                            Be patient please...

                            Frenglish at its best !
                            My scripts

                            1 Reply Last reply Reply Quote 0
                            • simon le bonS Offline
                              simon le bon
                              last edited by

                              Dear Matt,

                              So glad to see you back on the block 👍 👍 😉

                              *s

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

                                @unknownuser said:

                                Is there anyone else that is having trouble with this plugin with Sketchup 7.1.6860. It will change the precision but not the units.

                                Thanks in advance.

                                Ken

                                Here's the working version. 👍
                                SketchUp Pro 7.1.6860
                                OS Windows 7 PC


                                toggle_units.zip

                                1 Reply Last reply Reply Quote 0
                                • kenK Offline
                                  ken
                                  last edited by

                                  @matt666 said:

                                  Hi all.
                                  Sorry for the problems, and I don't have any time to search a solution... My work takes me a lot of time.
                                  I will try to see what does not work with this new SU update.
                                  Be patient please...

                                  Matt

                                  I know work. Was busy until recently. So now I was presented with some down time and in the process of trying to take care of some problems I had let slip. Food and shelter is always first on my list. So Matt666, let me thanks you for the script again.

                                  blajnov, thank you for the updated. Not sure why I couldn't find this update on the site, but I couldn't. The scrip now works just like it did before. Not my plugin or my site, but maybe this update should go to the front of the topic. Anyway, again, thanks to all that helped.

                                  Now lets hope the new cap works and work can start again.

                                  Ken

                                  Fight like your the third monkey on Noah's Ark gangway.

                                  1 Reply Last reply Reply Quote 0
                                  • Z Offline
                                    Zante
                                    last edited by

                                    Please make your original post clearer (if editing is allowed on this forum).

                                    2 files, same file name, no version control = confusion

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

                                      @matt666 said:

                                      Here is the script.
                                      Toolbar to change drawing units quickly.

                                      Hi -- I may not be understanding what this tool does, or how units work in Sketchup; I am frustrated because I can't do what seems to me a simple thing.

                                      Here is the deal. I am working on a model in non-metric units (feet and inches). But I have paper sketches from a colleague in Norway who has annotated his drawings in decimal meters. I'd like to reproduce his hand drawing directly into my model by copying it exactly, so I'd like to work on a set of components in meters or mm. To my surprise I could find nothing in Preferences for toggling from metric to inch and back. So I thought that Toggle Units plugin might enable me to switch the whole model from inch to mm or cm.

                                      I installed it. But it seems to toggle units only between different representations of inches (the first 4 buttons); the other buttons (mm, cm, mt) are grayed out and inactive. I really want to toggle between metric and inch -- is there no way to do this? it seems such an obvious thing to want to do 😄 argh. would rather not have to use a unit converter and manually convert all the dims on my colleague's drawing!

                                      btw I am aware that I can draw in any units I like, i.e. enter dimensions in notation like "3.0m". what I cannot do is use the Ruler tool to verify those dimensions after drawing, because the ruler is apparently hard-wired to inch units. if I could just toggle the Ruler between inch and metric that would be great!

                                      any ideas would be gratefully received as this has got me bogged down right at the start of the project.

                                      Nothing is 'mere'. -- Richard Feynman

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

                                        @rootlessagrarian said:

                                        @matt666 said:

                                        Here is the script.
                                        Toolbar to change drawing units quickly.

                                        Hi -- I may not be understanding what this tool does, or how units work in Sketchup; I am frustrated because I can't do what seems to me a simple thing.

                                        I read backwards in this thread and found that others have had some trouble with Leopard (OSX) and this plugin. I grabbed a more recent version edited by Jim Foltz Oct 2009 and installed that.

                                        The Foltz version works except that the icons do not display: this I thought was because the icon paths were all set to CD_ICONS/TWEAK, but I substituted the correct path "toggle_units_icons" and I still get no icons in the toolbar. So I have to memorise the button sequence or wait for the balloon help to pop up 😄 but the tool now does exactly what I was hoping for: my ruler can be toggled to work in inches or meters, hooray.

                                        If anyone can tell me why these lines of code

                                        cmd.small_icon = "toggle_units_icons/tudec16.png"
                                        cmd.large_icon = "toggle_units_icons/tudec24.png"
                                        

                                        do not correctly association the png files with the button, I'd like to know (I don't speak Ruby obviously). meanwhile I'll happily use the version with anonymous blank buttons -- project no longer stalled!

                                        Nothing is 'mere'. -- Richard Feynman

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

                                          the lines make sense if you have the corresponding folder (toggle_units_icons) in the plugins menu..

                                          1 Reply Last reply Reply Quote 0
                                          • CAntonisC Offline
                                            CAntonis
                                            last edited by

                                            Matt this is great!!!
                                            Very nice plugin!

                                            ThankU
                                            CAntonis

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

                                            Advertisement