I read all the api about bmesh.ops, but not find and not have idea to get loose edge/vertices , someone knows something about it, I don't even find examples to get
and then delete
with method bmesh.ops.delete(bm, geom, context
)
Equivalent with ops (Slow if have many object) bpy.ops.mesh.delete_loose()
meshes = set(o.data for o in context.selected_objects if o.type == 'MESH')
bm = bmesh.new()
for m in meshes:
bm.from_mesh(m)
####get list of loose vertices/edge?
####delete vertices?
bm.to_mesh(m)
m.update()
bm.clear()