SHARE
TWEET

Get normal of selected face

MrZak000 Jun 27th, 2015 265 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top