Created
October 16, 2015 08:02
-
-
Save zeffii/52a84c2a59a90e739491 to your computer and use it in GitHub Desktop.
This file contains 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
# make your selection | |
# return to Object Mode | |
# Run the script | |
import csv | |
import bpy | |
obj = bpy.context.active_object | |
vertIndexes = [v.index for v in obj.data.vertices if v.select] | |
with open("output.csv", "w", newline='') as f: | |
writer = csv.writer(f) | |
writer.writerow(vertIndexes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment