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 os | |
import bpy | |
# put the location to the folder where the plys are located here in this fashion | |
path_to_obj_dir = os.path.join('D:\\', 'Workspace\\Data\\scapecomp') | |
# get list of all files in directory | |
file_list = sorted(os.listdir(path_to_obj_dir)) | |
# get a list of files ending in 'ply' |
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 os | |
import bpy | |
# put the location to the folder where the objs are located here in this fashion | |
path_to_obj_dir = os.path.join('D:\\', 'Workspace\\Data\\scapecomp') | |
# get list of all files in directory | |
file_list = sorted(os.listdir(path_to_obj_dir)) | |
# get a list of files ending in 'obj' |