I'm getting an error when trying this script, I opened it with the python editor and it says this as the following error:
# apply sharp, seam and fgon flags to edges.
add_EDGESPLIT = False
if IMP_FGONS or IMP_SEAMS or IMP_SMOOTHGROUPS:
SHARP = Mesh.EdgeFlags.SHARP
SEAM = Mesh.EdgeFlags.SEAM
FGON = Mesh.EdgeFlags.FGON
seam_keys = 
if ase_me.hasUV: seam_keys = ase_me.ase_uv_channels.seams
for k,ase_ed in ase_me.ase_edges.iteritems():
if ase_ed.sharp or not ase_ed.visible or k in seam_keys:
edi = me.findEdges(k,k)
ed = me.edges[edi]
if ase_me.hasUV and k in seam_keys and IMP_SEAMS: ed.flag |= SEAM
if not ase_ed.visible and IMP_FGONS: ed.flag |= FGON
if ase_ed.sharp and IMP_SMOOTHGROUPS:
ed.flag |= SHARP
add_EDGESPLIT = True <-------------------unindent does not match any outer indentation level
# add EdgeSplit Modiefier when the mesh has sharp edges
# autosmooth is EXPERIMENTAL! because i dont know if this is correct!
if add_EDGESPLIT and OPT_MOD_EDGESPLIT:
mod = ob.modifiers.append(Blender.Modifier.Types.EDGESPLIT)
if not ase_me.autosmooth:
mod[Blender.Modifier.Settings.EDGESPLIT_FROM_ANGLE] = 0
I've no idea how to fix this. I copied and pasted the code from the OP into IDLE and told it to Check Module.
EDIT: Okay I added some spaces to line up with the line above it, and now it doesn't error out. Time to see if it works in Blender now.