Created
June 2, 2018 06:36
-
-
Save willnode/6cbaddbc48fcaf38533830615d948cc4 to your computer and use it in GitHub Desktop.
Blender vertex statistics breakdown script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| scene = bpy.context.scene | |
| objs = [obj for obj in scene.objects if hasattr(obj.data, 'vertices')] | |
| objs.sort(key=lambda x: len(x.data.vertices), reverse=True) | |
| print("Enumerating...\t verts\t edges\t faces") | |
| for m in objs: | |
| data = m.data | |
| print(data.name, "\t:\t", len(data.vertices), "\t", | |
| len(data.edges), "\t", len(m.data.polygons)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment