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$
1

1 Answer 1

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)
$\endgroup$
2
  • $\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$ Commented Mar 4, 2020 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
    Commented Mar 4, 2020 at 10:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .