[Plugin] Recursive Explode
-
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=38583How to Use
Simply select something, and then choose the Tools > Explode Recursively menu option.Cheers,
Dave
-
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.
-
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?
-
It's the
Model.start_operation
method that has the argument - it's the seconddisable_ui
argument: http://www.sketchup.com/intl/en/developer/docs/ourdoc/model#start_operationBut 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/
-
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
-
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 -
This plug-in not work in sketchup 2019
-
@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.
Advertisement