Regroup is my new SketchUp extension and in this video, I explain what it is in more detail.
I also compare it with a similar extension named Axis Tool by Thomthom and explain the difference between each other. Enjoy!
I plan to develop more SketchUp extensions in the future!
Hi Rafael (@indie3d ), at the end of your video you ask for feedback.
Iâll always look for ways to do things with SketchUpâs basic tools and operations first. Exploding is one that I try to avoid.
Extentions are great for repetitive operations or with (for instance) more advanced math involved, no doubt. Like selecting more than one group to instantly reposition the local axes and local origin for all.
I do have one major issue with your extention though. At 4:48 to 4:52 you say that the group will be exploded and regrouped. That introduces the problem of default basic geometry inside the groupâs container inheriting tags and materials applied to the container of that group (I canât check your extention right now, no PC at hand).
Maybe there is a way to change the local axes when being inside a group to match the current drawing axes just outside the container. Iterating through all the groups in the selection. More or less like doing it manually. That would avoid tags and materials issues.
I donât know much about Ruby and programming but users should be aware of these âexplodingâ issues.
I know about how SketcUp handles âExplodeâ now but my warning was for those who forgot or donât know at all. @dezmo, is this only for tags or also for materials?
I need to correct this misstatement. Tags (formerly Layers) are not geometric collections, so cannot âholdâ entities, nor can entities be in or on a tag/layer.
Tags (formerly Layers) are shared display property sets. An Entity has a property that is assigned to point at a tag. The tag properties tell the SketchUp rendering engine how to and whether or not to display the entities assigned to use them.
Weirdly, âUntaggedâ is actually a modelâs default tag. (Formerly a layer named âLayer0â.)
I learned the hard way about what âexplodingâ does by watching random stuff turn on and off like a twinkle-light Christmas tree while toggling tag visibility. I spent hours figuring it out. Itâs ironic that the SketchUp online user manual specifically mentions that users should refrain from assigning tags to loose geometry, yet the program goes right ahead and does exactly that without any warning at all.
Just a simple popup warning would have been very helpful.
Thanks, good to know⌠I usually resort to âCleanup3â extension for that capability⌠but would be nice to have an extension that both exploded and put everything on âuntaggedâ in one shortcut key⌠âxâ in my case!
PS just added the âCleanup3â Geometry to Layer0 function to a shortcut âAlt-xâ so at least that is on quick call too! almost as good a a single keystroke
Hi @Wo3Dan, you are absolutely right about issues with exploding groups. At first, I was not considering the negative effects of exploding groups & components.
One developer offered me an example code where the local axis can be fixed without the need of exploding by using transformation instead. And, it fixes both the position & orientation. Again thanks for the valuable feedback!
I was also not expecting that a TAG assigned to SketchUp Group would transfer the TAG value to the loose geometry when exploding that Group. Seems forced to me and I agree that a Yes or No UI Message Box for choosing whether to transfer TAG to the result of an explosion can mitigate people getting surprised by this automatic action.
This is useful but seems SketchUpâs default explode feature can be changed to avoid confusion about TAG value Transfering without people knowing.
Thanks for the info!
This is a good example of what can go wrong when transferring TAG value to resulting lose entities of that explosion.
That is a nice idea. I was thinking of developing a tool called âNuclearâ, âThe Bombâ or something along does lines that would explode everything and assign it to âuntaggedâ. This will include exploding groups inside of groups, inside of groups, etc.
Also, it would be nice to have a UI HTML dialog for selecting various destructing options. For example, removing all materials, scenes/pages, tags, etc.
Of course, before activating the tool it would need to make a dramatic WARNING message explaining the severity of the toolâs action.