Page MenuHome

Selects the non manifold edges in a mesh (edges with 1 or more than 2 neighbouring faces)
Closed, ArchivedPublicPATCH

Description

Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.56
Category: Mesh
Python: 3.1
Homepage: http://yorik.uncreated.net/guestblog.php?2011=29
Script name: Select non-manifold edges
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Modeling/Select_nonmanifold_edges
Author(s): Yorik van Havre
Status: Closed

Features:
Simply run the script, and non-manifold edges, if any, will be selected, so you can easily find and fix them. Basically this script's main use if to see if a mesh can be converted to a solid when imported in a program able to do so.

Setup:
Via the standard "add new addon" procedure in the preferences screen

Manual:
The script is found in the Mesh menu in Edit mode, inside the Edges submenu.

Event Timeline

Works fairly well. Although at larger vert counts this takes forever. I tried it on Suzanne, subdivided once (that's only 3700 edges) and it took nearly a minute. I wonder if there is any way to speed up the script.

Thanks for testing! I was unaware of that speed issue, I'll have a look at it, maybe I can optimize something...

A question and a suggestion:
- What does this script offer, that blender's built-in command doesn't do (ctrl+alt+shift+m)?
- Currently you're iterating over all faces for each individual edge, which gets very slow for large meshes. Perhaps it's a better idea to iterate over all faces once, and create a dictionary with for each edge the number of faces it's in. That way you get the same result with only one iteration over the faces, instead of 'total-amount-of-edges' iterations.

Good luck,
Bart

Bart you got me... I'm very ashamed to confess that until today I didn't know that built-in command (it's even written inside the menu, what a shame :) )
I guess my script has become instantly obsolete, which is good, much better to have a built-in command.
I think the best thing to do is to close this topic? I think I cannot do it myself, some of you would be kind enough to do it? Thanks!
Yorik

I had not realized there was a command in Blender either.. oh well, you learn something new every day! It was a good script, although the built-in one is much faster ;) Hopefully you'll be able to come up with some other good ones.

I've closed this for now.

Jonathan Smith (jaydez) changed the task status from Unknown Status to Unknown Status.Feb 7 2011, 12:11 PM