sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Exploded Arc Centerpoint Finder UPDATE May 23, 2013

    Scheduled Pinned Locked Moved Plugins
    59 Posts 31 Posters 64.5k Views 31 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.
    • RunnerPackR Offline
      RunnerPack
      last edited by

      Hey, EarthMover,

      It was my request on this Google Group post that (partially?) inspired Chris F. to make his plugin. Using his idea from that discussion, I made code to find the center-point of two Edges... which I promply discarded when he made his implementation that didn't look like a train-wreck πŸ˜†

      So, I took his code (without permission; sorry, Chris! 😳) and made my own tool with a different interface (context menu) that I think adds (some of) the functionality you want. Since you probably wouldn't find it otherwise, here is the thread where I attached mine.

      The readme header in the file also explains how other coders can use the new methods for finding the center of a Curve or of any two Edges. I also wanted to add a radius method and the "convert Curve to ArcCurve" function discussed above, but they're still on the todo list. BTW, my plugin also works on Circles and Polygons.

      You might have noticed... I'm a bit of a ferpectionist.

      1 Reply Last reply Reply Quote 0
      • C Offline
        c.plassais
        last edited by

        Hi Chris,
        Arc Centerpoint Finder translated into French and the attached link http://biblio3d.1fr1.net/plug-in-sketchup-f19/plugin-arc-centerpoint-finder-en-francais-retrouver-le-point-central-d-un-arc-t448.htm#3004

        at the next

        Christophe

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          Great, thanks Christophe! I've updated the first post to also include a link to the French version.

          Chris

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

          1 Reply Last reply Reply Quote 0
          • jeff hammondJ Offline
            jeff hammond
            last edited by

            @chris fullmer said:

            Name: Arc Centerpoint Finder
            Version: v1.0

            wow! nice one.
            perfect little timesaver.
            thank you

            dotdotdot

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              There's a wee bug. It adds the CPoint in model.entities instead of model.active_entities - so if you use this inside a group/component it's not added to the correct context.

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

              1 Reply Last reply Reply Quote 0
              • P Offline
                Panga
                last edited by

                Chris, you're a mind reader...I was looking for this function for a long time. Thanks for your help in our sketchup's lives !!

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  @thomthom said:

                  There's a wee bug. It adds the CPoint in model.entities instead of model.active_entities - so if you use this inside a group/component it's not added to the correct context.

                  Oh darn, there was a little while there where I think I forgot about .active_entities and just added everything to the .entities collection. I'll fix it and get it uploaded later today,

                  Chris

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    ok, now updated so that when it is used in group/component edit mode, it will add the construction point inside the group that is being edited. Thanks for pointing that out Thom.

                    So re-download it from the first post in the thread.

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      πŸ‘

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

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        August
                        last edited by

                        Thanks Chris,

                        I found this to be a very readable script for learning a little more Ruby. It's pretty clear from context what it's doing as far as finding a perpendicular direction, creating a temporary "z" from the original two edges, etc. I assume the ".cross" function is the Cross-product from vector algebra, which I vaguely remember, but I'll have to look up what that actually is and why it's called "cross".

                        Thanks again,
                        August

                        β€œAn idea, like a ghost, must be spoken to a little before it will explain itself.”
                        [floatr:v1mcbde2]-- Charles Dickens[/floatr:v1mcbde2]

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kostas_designer
                          last edited by

                          i know it may seem stupid, but why can't i see the context "point at center" menu when i right-click on an arc? 😳

                          1 Reply Last reply Reply Quote 0
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            You have to first enable the sketchup ruby script examples from Window > Preferences > Extensions > Ruyb Script Examples (or might be the one called Utilities tools). Enable them both, then you should get the point at center option.

                            Chris

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              @chris fullmer said:

                              You have to first enable the sketchup ruby script examples from Window > Preferences > Extensions > Ruyb Script Examples (or might be the one called Utilities tools). Enable them both, then you should get the point at center option.

                              Chris

                              ha!
                              i never knew this function came with SU.. i've been using jim f's arc_centerpoint.rb for a couple of years now.
                              β˜€

                              dotdotdot

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                Jim
                                last edited by

                                Hehe, and I wrote that before I realized Point at Center came with SketchUp!

                                Hi

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kostas_designer
                                  last edited by

                                  @unknownuser said:

                                  @chris fullmer said:

                                  You have to first enable the sketchup ruby script examples from Window > Preferences > Extensions > Ruyb Script Examples (or might be the one called Utilities tools). Enable them both, then you should get the point at center option.

                                  Chris

                                  ha!
                                  i never knew this function came with SU.. i've been using jim f's arc_centerpoint.rb for a couple of years now.
                                  β˜€

                                  Me too, seems that the ways of SU are infinite! πŸ˜„

                                  Thanks for the tip, Chris.

                                  1 Reply Last reply Reply Quote 0
                                  • boofredlayB Offline
                                    boofredlay
                                    last edited by

                                    I just wanted to thank you again for this Chris. It is a very useful tool. πŸ‘

                                    http://www.coroflot.com/boofredlay

                                    1 Reply Last reply Reply Quote 0
                                    • Chris FullmerC Offline
                                      Chris Fullmer
                                      last edited by

                                      Oh good, glad its helpful!

                                      Chris

                                      Lately you've been tan, suspicious for the winter.
                                      All my Plugins I've written

                                      1 Reply Last reply Reply Quote 0
                                      • bazB Offline
                                        baz
                                        last edited by

                                        Great tool, thanks Chris.
                                        baz

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          watkins
                                          last edited by

                                          Dear Chris,

                                          I made a request a little time ago for an icon to go with this script. I use your centrepoint finder so often that an icon would be very useful (and yes, TIG, I know I could assign a shortcut...)

                                          Many thanks,

                                          Bob

                                          1 Reply Last reply Reply Quote 0
                                          • jamalitoJ Offline
                                            jamalito
                                            last edited by

                                            hello Chris thank for this Plugin but after I updated my SU8 to SU8m2 it was not work when I run in form plugin menu show to me this window I don't know what is meaning ?
                                            note I removed it and instal it again but same problem 😒


                                            Capture.JPG

                                            Albert Einstein:
                                            ((I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.))

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

                                            Advertisement