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

    [Plugin] Auto Centerpoint

    Scheduled Pinned Locked Moved Plugins
    41 Posts 13 Posters 33.0k Views 13 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

      Jim, this functionality has been on my wishlist as a "standard" for the circle tool for the last two releases of SU.

      Since the script is loaded as an extension, perhaps you could allow holding the Alt-key on the first click to disable the centerpoint or vice versa (allow the centerpoint to be created only with the Alt-key)?

      I do wish there was an option to automatically assign the construction point to a specified layer so that I can easily turn all my "construction" geometry on or off. Better yet, but I don't think its possible, is to have the extension change the way View > Guides and Edit > Delete Guides operates in the first place. My ideal would be

      View Guides:
      ·Guides
      ·Construction Points
      ·Both

      Delete Guides:
      ·Guides
      ·Construciton Points
      ·Both

      At any rate, a big thank you.

      QUESTION: what does the Singleton.rb in the Ruby subdirectory accomplish?

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • JClementsJ Offline
        JClements
        last edited by

        @jim said:

        It's trivial for me to put the construction points on their own layer. What if I used CenterPoints as the layer name?

        Or would you want to select a layer each time the extension is enabled?

        Jim, something like "CircleCenterPoints" as a layer name is fine by me. If I want to rename the layer or move the points to another layer later on that is easy enough to do; at least this way the points can be turned on or off irregardless if they are in nested entities or not.

        John | Illustrator | Beaverton, Oregon

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

          Jim

          You write good scripts, good thought and insight to need and purpose. I am confident that what ever addition and/or change you make will be good. As far as a layer, for guides and/or points, I like it the layer name CenterPoints, that way any center point you add should end up there, maybe.

          Thanks
          Mike

          Don't worry about things you have no control over. Worry is a lack of Faith!

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

            Points now get put on CenterPoints layer

            http://sketchuptips.blogspot.com/2008/03/plugin-auto-centerpoint.html

            Hi

            1 Reply Last reply Reply Quote 0
            • JClementsJ Offline
              JClements
              last edited by

              Jim, are you sure the link downloads the latest version?

              John | Illustrator | Beaverton, Oregon

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

                @jclements said:

                Jim, are you sure the link downloads the latest version?

                Yes, just copy the new files over top of the ones already installed.

                Hi

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

                  @jclements said:

                  Jim,

                  This may be a bug.

                  When finishing a circle with the second mouse click, I can't make an entry the VCB to change the radius.

                  John

                  Seems you're right. Let em look into it.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • JClementsJ Offline
                    JClements
                    last edited by

                    Jim,

                    This may be a bug.

                    When finishing a circle with the second mouse click, I can't make an entry in the VCB to change the radius.

                    John

                    John | Illustrator | Beaverton, Oregon

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      Yup_done
                      last edited by

                      After a brief time away from sketchup, I've decided to give it another shot.
                      Your plugin seems "spot on" and dare I say: something which would be better off included in the actual program itself.
                      Kudos and regards,
                      Chris D, near MTL, canada

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

                        Thanks Chris,

                        I haven't yet had time to see if I can fix the VCB problem. I had a couple projects come up unexpectedly.

                        Hi

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

                          New version is available here:

                          http://sketchuptips.blogspot.com/2008/03/plugin-auto-centerpoint.html

                          Let me know how it works for you.

                          Hi

                          1 Reply Last reply Reply Quote 0
                          • jujuJ Offline
                            juju
                            last edited by

                            😢

                            @unknownuser said:

                            Error Loading File auto_centerpoint.rb
                            No such file to load -- ruby/singleton

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

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

                              @unknownuser said:

                              😢

                              @unknownuser said:

                              Error Loading File auto_centerpoint.rb
                              No such file to load -- ruby/singleton

                              OK, should be fixed. You'll need to download again from the same link and try again. Sorry.

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • O Offline
                                outersketcher
                                last edited by

                                Jim,
                                As a newbie at sketchup, I was excited to find this ruby script.
                                The script seems to have installed ok since I do get the little single button menu.
                                But, how do I use it? I've tried clicking on it first to activate the ruby... but when I use the circle tool... I don't see any center point. And I've tried creating the circle first, and then clicking on the auto center button and then back to the circle again... neither method works. Am I not doing something right?

                                I am running sketchup 6 on an intel-based mac running system 10.5.2.

                                Thanks,
                                outersketcher

                                "I mostly enjoy not being dead.." -Grandpa

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

                                  I just downloaded it and reinstalled it, and it works. You should have the following files and folders in your Plugins folder:acp.jpg

                                  Then, you can toggle the creation using the toolbar button.

                                  One other thing - points aren't created until you switch tools.

                                  Hi

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    outersketcher
                                    last edited by

                                    Well, bummer...still can't get it to work yet.

                                    I've double checked the plugins folder and the two folders and file are there.
                                    The plugin button appears and responds to my mouse by going darker when I click on it... but, nothing else happens when I draw the shape and click to a different tool.

                                    This might be a Mac thing? Are there any other Mac users using this ruby okay?

                                    David

                                    "I mostly enjoy not being dead.." -Grandpa

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

                                      It could be a Mac thing - I don't have a way to test on a Mac. However, it should work on both platforms. Can someone try this on a Mac?

                                      Hi

                                      1 Reply Last reply Reply Quote 0
                                      • david_hD Offline
                                        david_h
                                        last edited by

                                        I am getting the same message. Im on a PC. I however did not get the RUBY file in my Plugins directory that was shown in the little graphic above.

                                        @unknownuser said:

                                        Error Loading File auto_centerpoint.rb
                                        No such file to load -- ruby/singleton

                                        [/quote]

                                        OK, should be fixed. You'll need to download again from the same link and try again. Sorry.[/quote]

                                        If I make it look easy...It is probably easy

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

                                          Make sure when you extract the .zip file, the folder structure is maintained.

                                          Hi

                                          1 Reply Last reply Reply Quote 0
                                          • placidfuryP Offline
                                            placidfury
                                            last edited by

                                            I'm getting the ruby/singleton error as well... have re-downloaded, dir structure is there... any ideas? Thanks!

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

                                            Advertisement