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

    Point To Center

    已排程 已置頂 已鎖定 已移動 SketchUp Discussions
    sketchup
    22 貼文 5 Posters 2.9k 瀏覽 5 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Dave RD 離線
      Dave R
      最後由 編輯

      Cotty is right it puts center points at everything but arcs and circles. Still, installation is done by going to Preferences>Extensions and clicking on Install Extension. then you select the downloaded extension, click Open, and OK.

      Since 2019 SketchUp can natively mark the centers of arcs and circles. No need for an extension at all.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 條回覆 最後回覆 回覆 引用 0
      • TIGT 線上
        TIG Moderator
        最後由 編輯

        Here's a quick arc/circle/polygon center point tool.
        Put the RB into the Plugins folder and restart SketchUp.
        It adds a new menu item if the selected object is one of those things, and then adds a guide-point at the center...
        ArcContextmenu.rb
        To open your Plugins folder you can copy/paste this snippet in the Ruby Console [PC]...
        UI.openURL("file:///#{Sketchup.find_support_file('Plugins')}")
        For a newer version & MAC you can use...
        system("open #{Sketchup.find_support_file('Plugins').inspect}")

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • Joe WoodJ 離線
          Joe Wood
          最後由 編輯

          Right on Tig, would that be better then the one offered by Chris? I really only need to find center of arcs, can't even remember wanting to find center of a circle.

          Joe Wood
          woodsshop.com/

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 線上
            TIG Moderator
            最後由 編輯

            Chris's tool doesn't actually find the center of an arc unless you have exploded it, then it works backwards to work out the center of a possible arc from two of the [now] separate edges, which could have been before !

            So my version is probably the best for you.
            If you only want to find Arc centers it's fine - with one [arc-curve] selected the context-menu says "Point at Center of Arc".
            If it's a circle then it's actually an arc that loops back on itself in 360° - it then says "...of Circle".
            Because a polygon is really a special kind of circle that doesn't produce smoothed extrusions in that case it says "...of Polygon".

            But if you find yourself with some edges which were once an arc, then using Chris's tool will help...

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • Joe WoodJ 離線
              Joe Wood
              最後由 編輯

              Hhmmm, trying to install that rb, went to SUp 2015 but don't see a Plugins folder, only a ifc plugins, and I don't see any other rb files in there?

              also I went to Preferences>Extensions and clicked on Install Extension, browsed to th Downloads folder but only see the other rb I downloaded yesterday. I dragged it out of downloads to my desktop but can't see it there either?


              1PlugIns.png

              Joe Wood
              woodsshop.com/

              1 條回覆 最後回覆 回覆 引用 0
              • Joe WoodJ 離線
                Joe Wood
                最後由 編輯

                I see other rb in the Tools folder?


                2.png

                Joe Wood
                woodsshop.com/

                1 條回覆 最後回覆 回覆 引用 0
                • TIGT 線上
                  TIG Moderator
                  最後由 編輯

                  You can only install RBZ files using the Extension Manager dialog.
                  These go into your user's Plugins folder...
                  For such a simple RB you just put it directly into your Plugins folder.
                  Your user's Plugins folder [in all newer SketchUp versions] is now 'hidden', and it's in your AppData tree.
                  So that's why I gave you [what I thought were] clear instructions on how to open the Plugins folder using the Ruby Console...
                  To reiterate... In SketchUp open the menu item Window > Ruby Console and paste the text in and press <enter>
                  UI.openURL("file:///#{Sketchup.find_support_file('Plugins')}")
                  Your Plugins folder will open and you then simply drop the RB into it...
                  Restart SketchUp to auto-load the new RB file...

                  TIG

                  1 條回覆 最後回覆 回覆 引用 0
                  • TIGT 線上
                    TIG Moderator
                    最後由 編輯

                    Sorry if I was a bit terse - the unseasonal gales are blowing half my garden away !
                    Here's an RBZ equivalent to the previous RB file - I simply zipped the .rb file and changed its .zip to .rbz
                    Download this RBZ, then use the built-in Extension Manager's dialog's red-button to auto-install it...
                    ArcContextmenu.rbz

                    TIG

                    1 條回覆 最後回覆 回覆 引用 0
                    • Joe WoodJ 離線
                      Joe Wood
                      最後由 編輯

                      No terseness detected Tig!

                      we're almost there I think. I found the Preferences>Extensions, but don't see a red button??

                      Joe Wood
                      woodsshop.com/

                      1 條回覆 最後回覆 回覆 引用 0
                      • TIGT 線上
                        TIG Moderator
                        最後由 編輯

                        Sorry, I'm keep forgetting your version of SketchUp predates Noah !

                        In the older SketchUp versions you install extensions' RBZ files using Window > Preferences [it opens a dialog] > Extensions [open that tab] > Install Extension... [a button - default-gray color]
                        Then you find the RBZ, OK... and it installs.

                        In newer SketchUp versions it's pretty much the same tool, but now it is accessed from Window > Extension-Manager [opens a dialog] and that dialog has a button saying 'Install Extension...' [and in that case it is colored red !]

                        TIG

                        1 條回覆 最後回覆 回覆 引用 0
                        • Joe WoodJ 離線
                          Joe Wood
                          最後由 編輯

                          I have the ArcContextmenu.rb,

                          do I need to rename it to rbz?

                          Joe Wood
                          woodsshop.com/

                          1 條回覆 最後回覆 回覆 引用 0
                          • TIGT 線上
                            TIG Moderator
                            最後由 編輯

                            Luckily I have the patience of Job !

                            An RB file cannot just be renamed as an RBZ file.
                            I already gave you an RBZ version that was properly prepared [via zipping].
                            Have you downloaded that RBZ ?

                            Install that RBZ using the native 'install' button... as I've recently explained...

                            The RB version can only be installed using the alternative methods I initially outlined a day or two ago...
                            BUT for simplicity's sake I then gave you an RBZ version, and instructions on getting the 'install' button opened etc...

                            TIG

                            1 條回覆 最後回覆 回覆 引用 0
                            • jujuJ 離線
                              juju
                              最後由 編輯

                              @tig said:

                              Sorry, I'm keep forgetting your version of SketchUp predates Noah !

                              That's very funny (Joe Wood's on SU2015) considering Pilou insists people downsave files to SU6 for them to get help...

                              Save the Earth, it's the only planet with chocolate.

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

                              Advertisement