Advertisement
MrZak000

Get normal of selected face

Jun 27th, 2015
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import bpy  
  2.  
  3. #current object
  4. ob = bpy.context.object
  5. me = ob.data
  6. #get currently selected face
  7. face = me.polygons[me.polygons.active]
  8. print("normal vector of selected face:", face.normal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement