i dare not suggest any additions to it after the hard work you’ve done now.
All suggestions are welcome : it’s the best way to improve a script.
if you are happy to do more then:
the meshes i’m running the script on are DXF & vrml imports converted from 2D CAD drawings. the script works perfectly as long as i ensure that the CAD drawings i’m importing are well constructed, no lines upon lines and that all the lines join each other to form the shapes to convert.
is there anyway the script can detect where the conversion will fail in the mesh then correct it , or ignore it or highlight where the mesh is causing the failure. the type of errors I get are:
‘have a point used for more than 2 edges’, I guess where two or more verts lie on top of each other.
‘AttributeError: Mathutils.AngleBetweenVecs(): zero length vectors are not acceptable arguments’ but seems to have converted to a 2D poly anyway. but you have to click on the mesh to find this out.
the script used to freeze blender if it couldn’t convert for some reason, which you fixed in you’re last update :D, however it has frozen blender on occasions when I think it’s the very first part of the mesh it trys to convert.
thanks very much for a great script.