sketchucation logo sketchucation
    • Login
    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!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Draw Boundingbox

    Scheduled Pinned Locked Moved Plugins
    50 Posts 20 Posters 40.3k Views 20 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.
    • thomthomT
      thomthom
      last edited by

      So, are the faces not what you will be using? But instead just construction points for the boundingbox edges?

      Could easily make it draw the boundingbox with constructions lines and constructions points.

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

      1 Reply Last reply
      Reply Quote 0
      • D
        dedmin
        last edited by

        Both! But option like this is welcome!! ☀ ☀

        1 Reply Last reply
        Reply Quote 0
        • thomthomT
          thomthom
          last edited by Rich O Brien

          Update to 1.1.0

          # CHANGELOG
          # 1.1.0 - 04.07.2010
          #    * Support for 2D instances.
          #    * Option between Faces or Construction geometry.
          #    * Processes all groups / components in selection.
          #    * Changed menu text.
          #    * Fixed namespace name.
          

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

          1 Reply Last reply
          Reply Quote 0
          • Didier BurD
            Didier Bur
            last edited by

            Hi Thomthom,
            I was wondering if it is really useful to store options in the registry (read/write_defaults).
            Adding more and more reg keys will slow down the computer or not ? What do you think ?

            DB

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

              I don't think the overhead of extra registry items is that significant. I'd rather use the registry and the built-in API than to start littering small preference files about and adding extra complexity. Processing many small files also has its overhead.

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

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

                Are there alternatives?

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

                1 Reply Last reply
                Reply Quote 0
                • D
                  dedmin
                  last edited by

                  👍 👍 👍 👍

                  1 Reply Last reply
                  Reply Quote 0
                  • bagateloB
                    bagatelo
                    last edited by

                    Why the boundingbox is not attached with object? Why we cannot make boundingbox with only edges?

                    While the cat's away, the mice will play

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

                      @bagatelo said:

                      Why the boundingbox is not attached with object? Why we cannot make boundingbox with only edges?

                      No one asked... 😉

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

                      1 Reply Last reply
                      Reply Quote 0
                      • D
                        dedmin
                        last edited by

                        @thomthom said:

                        @bagatelo said:

                        Why the boundingbox is not attached with object? Why we cannot make boundingbox with only edges?

                        No one asked... 😉

                        Oh yes, please! 🎉 🎉

                        1 Reply Last reply
                        Reply Quote 0
                        • kenK
                          ken
                          last edited by

                          Thomthom

                          Designing and fabricating large but still truck-able steel equipment, I find your plugin an easy to use method to determine the width, height and length of each section for the trucking company. You have made it easier to determine how to arrange a load on the truck bed to minimize the requirements for oversize load permits.

                          Thanks

                          Ken

                          Fight like your the third monkey on Noah's Ark gangway.

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

                            huh - again the simplest of plugins turns out to be of wider usage than I thought. I figured it was a rather obscure request. 😄

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

                            alexpacio2013A 1 Reply Last reply 🙏
                            Reply Quote 0
                            • A
                              agamemnus
                              last edited by

                              Very useful for my game -- to center models or stretch them appropriately utilizing the length/width/height ratios. Thank you.

                              1 Reply Last reply
                              Reply Quote 0
                              • pilouP
                                pilou
                                last edited by

                                That can be used for packaging too 😉

                                Next step will be optimisation of placement of some objects for minimize the Bounding box 😉

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply
                                Reply Quote 0
                                • kenK
                                  ken
                                  last edited by

                                  @unknownuser said:

                                  That can be used for packaging too 😉

                                  Next step will be optimisation of placement of some objects for minimize the Bounding box 😉

                                  Now, that would be very useful.

                                  Ken

                                  Fight like your the third monkey on Noah's Ark gangway.

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • B
                                    Ben Ritter
                                    last edited by

                                    Thanks for sharing ☀

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • mitcorbM
                                      mitcorb
                                      last edited by

                                      @ThomThom:
                                      Just out of curiosity, is the bounding box you create even distantly related to the method of producing a convex hull--or is this even relevant?

                                      I take the slow, deliberate approach in my aimless wandering.

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

                                        Nope - it just uses the corner of the boundingbox SketchUp provides.

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

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • GaieusG
                                          Gaieus
                                          last edited by

                                          Hi Thom,

                                          Great plugin (again) but blah-blah... you know that.

                                          I have noticed however that it can be launched when only primitive geometry (i.e. no group/component) is selected then I can even tell the plugin to create a bounding box but of course nothing happens.

                                          Of course, I know why this is happening ("not" happening) so not too big problem but maybe some warning dialog would be best so that users do not get confused.

                                          Gai...

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • TIGT
                                            TIG Moderator
                                            last edited by

                                            Couldn't you simply make a temporary group of all selected and then get the bounds of that?

                                            ents=model.active_entities
                                            ss=model.selection
                                            enta=ss.to_a
                                            gp=ents.add_group(enta)
                                            bb=gp.bounds
                                            ### store that data
                                            gp.explode
                                            ### make the bbox
                                            ss.add(enta)
                                            ### OR whatever...
                                            

                                            TIG

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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