Skip to content

Instantly share code, notes, and snippets.

Created February 23, 2015 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/16d4bd514ea74aba5194 to your computer and use it in GitHub Desktop.
Save anonymous/16d4bd514ea74aba5194 to your computer and use it in GitHub Desktop.
test
import bpy
import bmesh
obj = bpy.context.edit_object
me = obj.data
bm = bmesh.from_edit_mesh(me)
# bmesh.ops.recalc_face_normals(bm, faces=bm.faces[:])
bm.normal_update()
for vertex in bm.verts:
print(vertex.normal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment