Miscellaneous Leaks

[Guide] Ripping models from Sketchfab

Submitted by HDR, , Thread ID: 152601

Thread Closed

RE: [Guide] Ripping models from Sketchfab

23-05-2020, 12:28 AM
#55
For those who don't understand the steps., this is the detail steps for importing the sketchfab model into blender.


1. Installing Python (***most important step)

Firstly download the python 64bit version here ->> https://www.python.org/ftp/python/2.6/py....amd64.msi
Don't install the python you get from the link of this guide*****
(cause it is 32bit version and it will not work on your 64bit windows and
you will got the problem when importing osgjs file)
(you can use it if your windows is 32bit version)




2. Setting Environment Variables (this is for windows 10 and you can do similar in other windows too)

To set the environment variables->
-click WindowsKey + PauseBreakKey on your keyboard , you will see system properties.
-There you will see advanced system settings in the left side, click that.
- In the next dialog box, click the advanced tab, you will see Environmet Variables button there. Click it.
- In the next dialog box, you will see two tables. The table we are using is second one which is System variables.
- Click the button named "New" below the system variables table.
- You will see two textboxes, Type in variablename ->> "PythonPath"
in variable values ->> " C:\Python26; C:\Python26\DLLs; C:\Python26\Lib; C:\Python26\Lib\lib-tk"
And click ok to close the dialog.
And click ok again to close the environment variables dialog.
And again to close the Advanced system properties dialog.



3. Downloading the sketchfeb 3d model data

-Firstly install Mozilla Firefox (You can use any version of firefox) (not need to install the firefox in the link they posted)
-Go to the webpage of the 3d model you want.
- Press F12 key and you will see the inspector menu. Go to the network tab and after that, press F5 key.
There, look for 3 files,i,e.. "file.osgjs.gz", "model_file.bin.gz" and "model_file_wireframe.bin.gz"
-To download the files, Right click on the file you want to download and click "Copy Link Location", and paste that link in Internet Download Manager IDM. (You need to install IDM first ).

-After all the 3 files are downloaded, unzip these files with winrar and, you will get >> " file.osgjs ", "model_file.bin", "model_file_wireframe.bin" (make sure their extensions are not ended with .gz)
(******important)->>>>>Put these 3 files into the same folder in which you can easily access (eg. create new folder in D:\\ and put there).



4. Display model in the blender and export to 3d object

-As in this post, after you downloaded the files used in the guide from here -->>(https://mega.nz/#!oCpVWAxA!5KDQvtDZinRy9...0wwtsf4Avg)
-after unzipping that , you will see the folder named blender 2.49. Open that and look for "Blender249.blend".
- When you see that, drag and drop that onto the blender.exe. Then, blender will open up with python scripts at the left side.
- Press Alt + P from the keyboard, the python script from the left side will turn into an object import dialog box.
- Navigate to the location in which the sketchfab files are unzipped and put together ( i mentioned above is D:\\ because it is easy to navigate ).
- And look for "file.osgjs" and select, and then click import.
- Wait a few moment and you will see your sketchfab model.
-Click on the file menu at the top, and click export > obj.
Wait for some time and you will get your obj file which you can use in your 3d applications. ( you can export into any other formats too )


Smile Let me know if this comment useful or not. Tongue Tongue Smile

Users browsing this thread: 6 Guest(s)