0
$\begingroup$

is any way how to display total faces area of selected faces in Blender 2.8? Manually counting isnt possible...I want count 1000 and more faces...

enter image description here

$\endgroup$
2
$\begingroup$

This worked for me in Blender 2.82. Result is shown in System Console window.

import bpy

bpy.context.object.update_from_editmode() 
#applies any pending edits.
#allows script to be run from within edit mode

the_area = 0
for poly in bpy.context.object.data.polygons:
    if poly.select:
        the_area += poly.area

print('final area total')
print(the_area)
| improve this answer | |
$\endgroup$
  • $\begingroup$ Thank you it works excellent for me too ^^...(I tried the the MeasureIt addon, but it doesnt work - it looks like measureIt infinitely counts the area... so my computer almost freeze. Larger area = bigger freezing.) Thank you for this script :) $\endgroup$ – Vincent Decc Mar 4 at 9:11
  • 2
    $\begingroup$ Or area = sum(p.area for p in me.polygons if p.select) Worth noting too that this is local values, eg default cube with subsurf and scaled to 0 will still have face area 6x2x2 $\endgroup$ – batFINGER Mar 4 at 10:17

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.