Explode Everything?
-
Is there a plugin that explodes all geometry including Arcs, Curves and Polylines in one go?
-
Bomb comes close, but I don't know about arcs and such. Who wrote that, TIG? It could probably be easily modified.
-
Try this...
module TIG def self.exploderizer() ss=Sketchup.active_model.selection self.exploder(ss.to_a) ss.clear end def self.exploder(ents) ents.each{|e| if e.class==Sketchup;;Group self.exploder(e.entities.to_a) elsif e.class==Sketchup;;ComponentInstance e.make_unique if e.definition.instances[1] self.exploder(e.definition.entities.to_a) end e.explode if e.respond_to?(;explode) e.explode_curve if e.respond_to?(;explode_curve) and e.curve } end endUsage:
TIG.exploderizer.new
to explode all selected groups/instances/images/curves etc -
I don't want to explode groups components just geometry when I'm inside.
-
Ahh. I do it in shapebender, but that's probably a long way around a simple problem.
-
Easier
module TIG def self.geometryexploderizer() Sketchup.active_model.selection.to_a.each{|e|e.explode_curve if e.respond_to?(;explode_curve) and e.curve} end endUsage:
TIG.geometryexploderizer.newto explode all selected geometry - i.e. 'curves' - ignoring groups/instances/imagesYou might want to give it a snappier name

-
Kinda....since I'm not bending anything. I'm exporting to an app that doesn't like polylines etc. So at the moment I'm selecting all geometry then using Bombom's Selections Toys to highlight arcs, curves and polylines then 'Explode Curve'.
-
So you need a 'nuke_all.rb'

-
Good name

I'll try it myself with TIG's posted code
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 LoginAdvertisement