• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[Plugin] Recursive Explode

Scheduled Pinned Locked Moved Plugins
8 Posts 5 Posters 9.6k Views 5 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.
  • M Offline
    monkeybanjo
    last edited by monkeybanjo 28 Feb 2013, 10:43

    Description
    A simple plugin, that takes the current selection and recursively explodes all the groups so you're just left with edges and faces.

    Installation
    Standard .rbz installation procedure http://support.google.com/sketchup/bin/answer.py?hl=en&answer=38583

    How to Use
    Simply select something, and then choose the Tools > Explode Recursively menu option.

    Cheers,
    Dave


    RecursiveExploder.rbz

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 28 Feb 2013, 12:53

      If you make use of the second argument in model.explode - setting it to true - things normally run faster as the SU UI isn't updated until you commit again.

      Also, if you rename the ZIP to RBZ then people can use the Install Extension feature in SU - leaving for less mistakes, which often happens.

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

      1 Reply Last reply Reply Quote 0
      • M Offline
        monkeybanjo
        last edited by 28 Feb 2013, 13:24

        Thx for the advice Thom 😄

        I renamed the file as you suggested. I didn't actually realize that you can install extension like that, so glad to have learned something new.

        About the other tip with the explode arguments - the arguments don't seem to be documented in the Sketchup Ruby API docs. Is there somewhere I can see more complete documentation?

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 28 Feb 2013, 13:35

          It's the Model.start_operation method that has the argument - it's the second disable_ui argument: http://www.sketchup.com/intl/en/developer/docs/ourdoc/model#start_operation

          But yea, the API docs are very lacking. Some times it uses really base examples, such as .typename which is a horribly slow way to check entity type.

          I've tried to write up things as I come across them and post them on my blog. For instance, I encourage new developers to take a look at this article: http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/

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

          1 Reply Last reply Reply Quote 0
          • M Offline
            monkeybanjo
            last edited by 28 Feb 2013, 14:41

            Thanks again Thom - I made that change 😄 Nice to have such helpful people on the forum.

            Although now that i've read your blog it seem like I have some more changes to make 😄

            1 Reply Last reply Reply Quote 0
            • E Offline
              erkan
              last edited by 10 Apr 2013, 14:01

              Hey thanks for making this script and sharing. It looks like it goes deeper than the bomb script.

              I have experienced a number of "Your recent operation has caused visible geometry to merge with existing geometry on a hidden layer" notifications while the script is running. It requires a bit maintenance to wait in the large and nested models and OK the message box. I thought you might consider handling this in the future versions.

              cheers,
              erkan

              1 Reply Last reply Reply Quote 0
              • S Offline
                stylirrx
                last edited by 15 Aug 2019, 15:01

                This plug-in not work in sketchup 2019

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Dave R
                  last edited by 15 Aug 2019, 19:24

                  @stylirrx said:

                  This plug-in not work in sketchup 2019

                  I just installed it in SU2019 to test it and it works fine here. What does it do when you try to use it?

                  By the way, your profile says you are using SU8. Please update your profile since that information can be useful in helping you.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                  Advertisement