Created
May 11, 2019 15:52
-
-
Save Santaro255/3ab8d2bc4d47317814fe604d568fb732 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
import bpy | |
csv_file="c:\\tmp\\out.csv" | |
f=open(csv_file, 'w') | |
for item in bpy.data.objects: | |
f.writelines(str(item.name)+', ' | |
+str(item.location[0])+', ' | |
+str(item.location[1])+', ' | |
+str(item.location[2])+';') | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment