Delete holes (a lot of them)
All  1  2-3

Previous
Next
 From:  Michael Gibson
6603.2 In reply to 6603.1 
Hi DesuDeus, well once you have selected and deleted the "side wall" surfaces, the remaining edges that you want to delete will be naked edges so the select naked edge script could grab all those:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6051.2

Also here is a variant which may be useful - this one will target just the naked edges of any inner boundaries leaving edges on the outside boundary of the face unselected even if they are naked edges. To use this one start with the full object selected first:

script: /* switch selection to naked edges of inner loops */ var gd = moi.geometryDatabase; var breps = gd.getSelectedObjects().getBReps(); gd.deselectAll(); for ( var i = 0; i < breps.length; ++i ) { var brep = breps.item(i); var faces = brep.getFaces(); for ( var j = 0; j < faces.length; ++j ) { var face = faces.item(j); var loops = face.getLoops(); for ( var jj = 1; jj < loops.length; ++jj ) { var edges = loops.item(jj); for ( var k = 0; k < edges.length; ++k ) { var edge = edges.item(k); if ( edge.getFacesOfEdge().length == 1 ) { edge.selected = true; } } } } }

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Samuel Zeller
6603.3 
Thanks Michael,
Again you're saving me a lot of time :)

I've spent the last two days cleaning that damn model. It's so huge but it's gonna be nice!
--
shapenoid.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1  2-3