I'm writing a script to make UV lighting maps for unreal... I got my script to spit out all the bmesh edge indexes but I can't figure out the best way to mark these as seams. (this is my first time using bmesh and I'm still having trouble understanding exactly how to use it)


BMesh edges have a seam property.

You can:

import bpy
import bmesh

mesh = bpy.context.object.data

bm = bmesh.new()


bm.edges[0].seam = True

  • $\begingroup$ Amazing! thank you $\endgroup$ – TYLRwithspaces Mar 22 '20 at 18:03
  • $\begingroup$ ^^ I was using an earlier reference that suggested the field use_seam, which I guess got changed??? Thanks for the help $\endgroup$ – Jack Lynch May 25 '20 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.