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!
    πŸ”Œ Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Draw Boundingbox

    Scheduled Pinned Locked Moved Plugins
    43 Posts 20 Posters 32.6k 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.
    • panixiaP Online
      panixia @FlorinAp
      last edited by panixia

      @FlorinAp
      You can probably modify that using Claude.ai which is pretty capable of editing ruby scripts for Sketchup, as long as you are accurate enough in the description of the changes that you need in the code.
      That said, I recommend to be really careful when you mess with plugin logic.

      Looking at the example in the image above, the shape clearly looks created using SubD.

      • If you create the construction geometry inside the group, it will be destroyed (regardless that you put in another layer or not) whenever you toggle the subdivisions.
      • If you create the construction geometry it in a nested group, subdivision will not work anymore, due to the nested instances "illegal" condition.
      • The cleanest (and the only working) solution would be creating a father group with 2 subgroups inside (one for the subdivision geometry and one for the construction geometry), but then you need to open the father group whenever you need to edit the subdivisions.

      It's something that probably is better managed grouping the construction geometry manually depending on what you are trying to achieve in a given situation rather than having it hardcoded all the times.

      If you hardcode it in the plugin, probably it could be handy in some situations, but will be more cumbersome in other situations.

      Please notice that in order to achieve the same result you could look into Fredosketch plugin or Axyz plugin.
      Both of them share an inbuilt logic for bounding box snapping.
      Each of them has its advantages in therms of usability.

      • Fredosketch can be quickly launched pressing "M" key shortcut twice in order to replace the Sketchup native move tool when needed.
      • Axyz allows moving with a gizmo, and also has an option to enable/disable the bounding box preview.

      Both of them can do a lot more.
      I recommend taking a look at both before messing with code on this one.

      F 1 Reply Last reply Reply Quote 0
      • alexpacio2013A Offline
        alexpacio2013 @thomthom
        last edited by

        @thomthom Congratulations, I use it often and it is very useful. I only ask you for a small change. It would be nice if once the box is created you group it. Thanks

        1 Reply Last reply Reply Quote 0
        • F Offline
          FlorinAp @panixia
          last edited by

          @panixia Everything you wrote is much too much for me.!
          I usually don't do things that i don't fully understand, and right now i have personal reasons for which I can't afford to explore unknowns.!

          Bounding Box doesn't need to be inside, but I've seen that Anchor Points do it this way.......
          But grouping it and putting it in a separate tag would be very nice.

          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