| Trending Topics |
|---|
| https://youtu.be/whBtH9AnKRo Join Legends of Modding! If you're already a member please log in to your account to access all of our features: |
| [Solved] Unmirror Tool Tutorial, Script Error - Help Needed | |
|---|---|
| Topic Started: Dec 15 2017, 11:37 AM (188 Views) | |
| GamerNafZ | Dec 15 2017, 11:37 AM Post #1 |
|
PPSSPP Modder
|
So I was following Vinay1 bro's unmirror tool tutorial (HERE), but stuck in script portion. i created a folder in C drive called Objects. Then put the @02.yobj folder Inside. Posted Image Then in Blender copied and Pasted the script, but its showing error in line 16 Posted Image . . I am using the latest blender, OS: Windows 10 64 Bit |
![]() |
|
| Vinay1 | Dec 15 2017, 11:56 AM Post #2 |
![]()
|
The script i pasted was with error and i thought of correcting it but I forgot thanks ofr reminding me import os import bpy #put the location folder where the obj's are located here in this fashion #this line will only work on windows ie C:\Objects path_to_obj_dir = os.path.join('C:\\Objects\\@02.yobj') #get list of all files in directory file_list = sorted(os.listdir(path_to_obj_dir)) #get a list of all 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: path_to_file = os.path.join(path_to_obj_dir, item) bpy.ops.import_scene.obj(filepath = path_to_file) Use this fixed it There is also another way to do without script Just by importing single obj its time taking but useful if you want sculpting you don't have to import thise obj again |
![]() |
|
| GamerNafZ | Dec 15 2017, 12:09 PM Post #3 |
|
PPSSPP Modder
|
still showing the same error in line 16, what blender version you use? |
![]() |
|
| GamerNafZ | Dec 15 2017, 12:21 PM Post #4 |
|
PPSSPP Modder
|
oh now i got it, its not the script problem, its copy paste problem..... the final two lines must have some spaces before, but when copy pasted in forum it deletes those spaces.... thanks for the help
Edited by GamerNafZ, Dec 15 2017, 12:33 PM.
|
![]() |
|
| WWE MODDER | Mar 31 2018, 04:09 PM Post #5 |
|
I CANT UNDERSTAND ! CAN YOU GIVE A SCREENSHOT HERE. PLEASE |
![]() |
|
| GamerNafZ | Mar 31 2018, 06:43 PM Post #6 |
|
PPSSPP Modder
|
here it is, it should work |
![]() |
|
| _P1307_ | Mar 31 2018, 07:51 PM Post #7 |
![]()
|
can you plz stop using caps |
![]() ![]() | |
![]() |
|
| People's Champ | Apr 6 2018, 01:40 PM Post #8 |
|
People's Champ
|
thanx vinay1 and gamernafz it worked |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · PSP Help & Support · Next Topic » |
| Track Topic · E-mail Topic |
7:49 PM Jul 11
|






code.txt (593 Bytes)


7:49 PM Jul 11