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.
    • B Offline
      Baker518
      last edited by

      Jim,

      I don't care what anyone else says, I like it. It seems like you wanted to do more but ran out of gas. Here's what I hope you ultimately wanted to do with this:

      The guide can easily be deleted, simply by clicking "Delete Guides".

      It only shows up on the original single surface, it doesn't expand as an object is Push/Pulled, and it doesn't set a guide at the end of say, a cylinder when p/p, nor does it connect the two guides as a center line would. If you were ever to consider modifying it, this is something I would like to see.

      Regardless, I will still use it, thank you very much

      Mike

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

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

        Dear John

        If you go to:

        404 Not Found

        favicon

        (www.crai.archi.fr)

        you will find two scripts. One deletes construction lines only, and the other construction points only.

        Regards,
        Bob

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

          I find myself often deleting the guides and lines, only to replace them at a later time. I think rather than delete them, just make them go to a layer of their own instead. That notion has just dawned on me, remembering that I had asked for the same delete options only to find it already existed in the two scripts mentioned.

          Another thought comes to mind, TIG has written a new script that moves hidden to layer, this may be something to expand on for the guides, but I dont know.

          @tig said:

          See: http://www.sketchucation.com/forums/scf/viewtopic.php?p=47582#p47582 for v1.1...

          This script Hidden2Layer.rb moves hidden active entities onto a layer called HIDN...

          Usage: Put this file into the Plugins Folder.
          Pick "Hidden to Layer" off Plugins Menu...
          Any Hidden Active Entities are moved onto Layer HIDN
          This means that any Hidden Model-based Geometry is moved,
          BUT if you want to do Hidden Entities that are inside of
          Groups or Component Definitions then you need to Edit them
          so their Entities are then 'Active' and then on running
          this tool they will be moved to HIDN...

          It's main use is that when you want to export to DWG or DXF for use in CAD packags the SUp based hidden geometry is on a special layer - HIDN - and can be frozen or switched-off so it's not visible...

          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

            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?

            Hi

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

              @baker518 said:

              Jim,

              I don't care what anyone else says, I like it. It seems like you wanted to do more but ran out of gas.

              Thanks Mike, it does exactly what I meant it to do - no more, no less 😄 I didn't write it for anyone in particular but myself, however i did expect a few more comments.

              @unknownuser said:

              Here's what I hope you ultimately wanted to do with this:

              The guide can easily be deleted, simply by clicking "Delete Guides".

              It only shows up on the original single surface, it doesn't expand as an object is Push/Pulled, and it doesn't set a guide at the end of say, a cylinder when p/p, nor does it connect the two guides as a center line would. If you were ever to consider modifying it, this is something I would like to see.

              Regardless, I will still use it, thank you very much

              Mike

              These are good ideas. I think I can make it add another point after a pushpull on a cylinder.

              Hi

              1 Reply Last reply Reply Quote 0
              • 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
                                            • 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