π‘ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Automagically group faces?
-
So I have a specific need... I have an imported CAD drawing that is just lines, no faces. I used the MakeFaces plugin to search the model and make faces out of all my closed geometry and it worked great. Now, I want to automatically make a group from each face without having to do it manually, does anyone know of a plugin that could do this? I search around and didn't see anything....
-
Select all of the faces that you want to become groups [you don't need to be too careful as any edges etc will be ignored anyway]
Copy&Paste this one-liner into the Ruby Console + <enter>n='Face#1';m=Sketchup.active_model;s=m.selection;s.to_a.each{|e|next if e.class!=Sketchup;;Face;g=m.active_entities.add_group(e);g.name=n;n.next!};s.clear
-
http://forums.sketchucation.com/viewtopic.php?t=31892
I haven't used it but it seems to do what you want.
-
That worked brilliantly! Thanks so much!!
Advertisement