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!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] jf_get_dimensions.rb

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

      Because this particular short code 'sorts' the three dimensions then the 'thickness' is always the least of them and the 'length' always the greatest and the 'width' is what's left over.
      Be aware that it does not return the X/Y/Z dimensions - these would be dims[1], dims[0] and dims[2] respectively IF dims.sort! were to be omitted... 🤓

      TIG

      1 條回覆 最後回覆 回覆 引用 0
      • Dave RD 離線
        Dave R
        最後由 編輯

        For my use I'm not so worried about which is X, Y or Z. Thickness is generally the lowest value and length is usually (although not always) the longest dimension.

        This new version puts a menu entry in the Tools menu but does not display dimensions anywhere for my selected component. Doesn't work on groups either.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 條回覆 最後回覆 回覆 引用 0
        • N 離線
          newsposting
          最後由 編輯

          Thank dedmin, that upload changed plugin. I looked at the comments in the forum and would immediately respond.

          1. I did not change the algorithm for determining the length, width and height, and left it in its original form, only changed the location of information display.

          2. Call plugin from the menu is not convenient, since after a mouse movement information is lost. But it is very convenient to assign a hot key, such as (W), and using the command Select, selected element, press W, and the information appears at the bottom, select the next element, and then press W again appear at the bottom of the data about the object. As for me it is very convenient. In this Select command is not disabled, which is also very convenient.

          1 條回覆 最後回覆 回覆 引用 0
          • D 離線
            dedmin
            最後由 編輯

            Sorry, I didn't check it by myself - there were no SketchUP installed. This version works by a shortcut - You assign a shortcut to this plugin and when select group or component press the shortcut - You see the dimensions in the status bar - as soon as You move the mouse they are gone. Pretty useful actually.

            1 條回覆 最後回覆 回覆 引用 0
            • Dave RD 離線
              Dave R
              最後由 編輯

              There's a big difference. Thank you for the explanation.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 條回覆 最後回覆 回覆 引用 0
              • N 離線
                newsposting
                最後由 編輯

                Hi, all.

                This, I modified the plugin Get Dimensions. If you have any questions I can answer.

                1 條回覆 最後回覆 回覆 引用 0
                • N 離線
                  newsposting
                  最後由 編輯

                  I upgraded the plugin, and now SketchUp automatically show the dimensions, without click menu item and hotkey, and this feature can be disabled if it interferes.

                  Download link:
                  Dimensions Tool

                  Menu:
                  Tools > Dimensions Tool > Get Dimensions - old functional
                  Tools > Dimensions Tool > Auto Display Dimensions - checked menu item, which switch auto get dimensions functionality after select object.

                  P.S. Let me know if you need to modify the algorithm and move plugin to another menu for the convenience.

                  1 條回覆 最後回覆 回覆 引用 0
                  • D 離線
                    dedmin
                    最後由 編輯

                    1 條回覆 最後回覆 回覆 引用 0
                    • thomthomT 離線
                      thomthom
                      最後由 編輯

                      @newsposting said:

                      I upgraded the plugin, and now SketchUp automatically show the dimensions, without click menu item and hotkey, and this feature can be disabled if it interferes.

                      Could you post this as a new separate post? It makes it easier to find the plugins. When they are hidden in the middle of a thread it's very hard to find.

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

                      1 條回覆 最後回覆 回覆 引用 0
                      • D 離線
                        dedmin
                        最後由 編輯

                        @newsposting said:

                        I upgraded the plugin, and now SketchUp automatically show the dimensions, without click menu item and hotkey, and this feature can be disabled if it interferes.

                        Download link:
                        [attachment=0:er7emh3n]<!-- ia0 -->DimensionsTool.zip<!-- ia0 -->[/attachment:er7emh3n]

                        Menu:
                        Tools > Dimensions Tool > Get Dimensions - old functional
                        Tools > Dimensions Tool > Auto Display Dimensions - checked menu item, which switch auto get dimensions functionality after select object.

                        P.S. Let me know if you need to modify the algorithm and move plugin to another menu for the convenience.

                        I noticed that this version doesn't display correct dimensions when component/group is not aligned with the world axes - can You fix this?
                        Thanks.

                        1 條回覆 最後回覆 回覆 引用 0
                        • HumpmetwiceH 離線
                          Humpmetwice
                          最後由 編輯

                          New computer and new sketchup8 with all maintenance updates installed but Get dimension, trim & keep no longer work for groups only components. Two of my favorites. Please help

                          1 條回覆 最後回覆 回覆 引用 0
                          • J 離線
                            Jim
                            最後由 編輯

                            I made a minor update to version 1.1 for SketchUp 2014, but didn't really see why it didn't work. See 1st post.

                            Hi

                            1 條回覆 最後回覆 回覆 引用 0
                            • Dave RD 離線
                              Dave R
                              最後由 編輯

                              Hi Kurt, as you know I don't use groups but I just made a couple and tested Get Dimension and it works just fine on them. According to the description for Trim and Keep, the thing that gets trimmed must be a component. The idea for that plugin was to have a tool similar to the Solid Tools Trim tool which didn't result in components being converted to groups. For me that conversion of components to groups is a big down side to using the Solid Tools. I'd love to see Jim create new versions of the other Solid tools that keep the components like Trim and Keep does.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 條回覆 最後回覆 回覆 引用 0
                              • Z 離線
                                Zacchia
                                最後由 編輯

                                Hi
                                Is there in the newest Version not a small Icon for that plugin? I have to go to Plugins/get dimensions?

                                1 條回覆 最後回覆 回覆 引用 0
                                • Dave RD 離線
                                  Dave R
                                  最後由 編輯

                                  No. There is no toolbar for this and it isn't needed. Just assign it a keyboard shortcut.

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • Z 離線
                                    Zacchia
                                    最後由 編輯

                                    Thanks for Feedback. Previous Version had a Icon and i liked it but... Btw. many thanks for it!!

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Dave RD 離線
                                      Dave R
                                      最後由 編輯

                                      I tested the plugin before it was released. Don't remember it having a toolbar. Have always had a keyboard shortcut set up for it. Jim's original post from 2010 doesn't mention a toolbar button.

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • Z 離線
                                        Zacchia
                                        最後由 編輯

                                        @dave r said:

                                        Have always had a keyboard shortcut set up for it. Jim's original post from 2010 doesn't mention a toolbar button.

                                        It had before... How do I set a keyvboard shortcut? Sorry for not knowing 😳

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • Dave RD 離線
                                          Dave R
                                          最後由 編輯

                                          Go to Preferences>Shortcuts. Search for Plugins/Get Dimensions. Add the keyboard shortcut and click on the +.

                                          Please complete your profile.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • Z 離線
                                            Zacchia
                                            最後由 編輯

                                            Many thanks!!

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement