diff --git a/asset/kenney_train-kit/kenney_train-kit.blend b/asset/kenney_train-kit/kenney_train-kit.blend new file mode 100644 index 0000000..b1b6c45 Binary files /dev/null and b/asset/kenney_train-kit/kenney_train-kit.blend differ diff --git a/asset/kenney_train-kit/kenney_trainkit.blend b/asset/kenney_train-kit/kenney_trainkit.blend deleted file mode 100644 index 0e0115c..0000000 Binary files a/asset/kenney_train-kit/kenney_trainkit.blend and /dev/null differ diff --git a/asset/kenney_train-kit/kenney_trainkit.blend1 b/asset/kenney_train-kit/kenney_trainkit.blend1 deleted file mode 100644 index 3028158..0000000 Binary files a/asset/kenney_train-kit/kenney_trainkit.blend1 and /dev/null differ diff --git a/asset/kenney_train-kit/script_import_multiple_files.py b/asset/kenney_train-kit/script_import_multiple_files.py index 8f18166..a476c13 100644 --- a/asset/kenney_train-kit/script_import_multiple_files.py +++ b/asset/kenney_train-kit/script_import_multiple_files.py @@ -2,13 +2,13 @@ import os import bpy # put the location to the folder where the objs are located here in this fashion # this line will only work on windows ie C:\objects -path_to_obj_dir = os.path.join('/home/phroy/Bureau/seriousgames/blender-edutech/git/climway2/asset/kenney_modular-buildings/Models/') +path_to_obj_dir = os.path.join('/home/phroy/Bureau/seriousgames/blender-edutech/git/climway2-carte/asset/kenney_train-kit/Models/OBJ format') # get list of all files in directory file_list = sorted(os.listdir(path_to_obj_dir)) print (file_list) -# get a list of files ending in 'dae' +# get a list of files ending in 'obj' obj_list = [item for item in file_list if item.endswith('.obj')] # loop through the strings in obj_list and add the files to the scene for item in obj_list: