Untitled

 avatar
unknown
plain_text
2 years ago
458 B
6
Indexable
import bpy

# Select the object that you want to work with
obj = bpy.context.active_object

# Enter edit mode
bpy.ops.object.mode_set(mode='EDIT')

# Deselect all faces
bpy.ops.mesh.select_all(action='DESELECT')

# Loop through all faces in the mesh
for face in obj.data.polygons:
    # Check the surface area of the face in UV space
    if face.area_uv > 0.0 and face.area_uv <= 10**-8:
        # Select the face
        face.select = True
Editor is loading...