Help - Ruby to delete all faces w/o affecting edges?
-
Hi everybody,
I realize how annoying it can be to answer "noob" questions, but I have been searching for a Ruby Script, and I also didn't find anything in a search of this forum.
Basically, is there a ruby that can delete all faces, but leave all edges intact? (Simply making it a wire-frame model.) I have an incredibly complex model, and after wasting the last few hours manually deleting faces (pretty desperate, right?), I give up... There must be an easier way.
None of my faces have any materials applied... I use a plug-in rendering engine to apply all materials. The closest script I could find deleted all faces that had materials applied in SU.
Although I've been using Sketchup for two years, I've only recently dabbled in ruby scripts.
I would greatly appreciate any help. Thanks!
Adam
-
Don't think you need a ruby to do it.
Just turn off the edges (View-Edge Style-Display Edges), then select all the faces and delete them. Then display the edges again and you should be left with the wireframe only.
-
Hi !
@johnsenior1973 said:
Just turn off the edges (View-Edge Style-Display Edges), then select all the faces and delete them. Then display the edges again and you should be left with the wireframe only.
Your method works only if model is in just one level. But faces can also be inside components or groups (complex entities).
Here is a script that deletes all faces in the model.
-
This may be a silly question, but why would you want to delete all the faces? Could you not just turn the model to wireframe mode? I'm curious about the application for such a ruby. Thanks for posting it Matt.
Wyatt -
Take a look at Didiers side. There are scripts, deleting edges or faces. I' m not in the office so I can`t take a search for it.
Advertisement