Erase Edges that do not complete a face
-
Hi,
Is there a way to automatically delete all edges in a model/selection that do not complete a face?
Secondly, is there a way to automatically draw the faces for edges that already do form a valid face. i.e. instead of drawing over the existing edge to create the face?
Thanks
Alex -
There are several 'Make Face' tools available - search the 'Plugins Index' - I've made one, and I think there's even one in the Utilities Examples Extension shipped with SketchUp...
There are also several tools for 'Erasing Lonely [aka Faceless] Edges'... Perhaps look at ThomThom's CleanUp or his Edge Tools...These one-liners are the essence of such tools - select edges [other kinds of entities are ignored] copy+paste the code into the Ruby Console + <enter>... Erase-Faceless-Edges
m=Sketchup.active_model;m.start_operation('x');m.selection.each{|e|e.erase! if e.is_a?(Sketchup;;Edge) && e.faces.length==0};m.commit_operation
and Face-Edges
m=Sketchup.active_model;m.start_operation('x');m.selection.each{|e|e.find_faces if e.is_a?(Sketchup;;Edge) && e.faces.length<=1};m.commit_operation
They are both one step undo-able...
-
Besides erasing edges,you can also visually follow the result, highlighted in different colors and have a "mistakes" counter with the free version of the SuSolid plugin.
Advertisement