Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import #159

Open
Mustaphabyd133 opened this issue Nov 28, 2024 · 4 comments
Open

import #159

Mustaphabyd133 opened this issue Nov 28, 2024 · 4 comments

Comments

@Mustaphabyd133
Copy link

i can not import 3d model from sketchfab to blender

@Schonn
Copy link

Schonn commented Nov 30, 2024

Hello, recreated this by installing Blender 4.3.0 and then installing the sketchfab 1.6.1 addon. Looks like the sketchfab addon goes to detect the renderer by looking for the enum BLENDER_EEVEE. This enum exists in older blender versions, but Blender 4.3.0 now has EEVEE Next and uses the BLENDER_EEVEE_NEXT enum. Doing a 'replace all' in the init.py for the addon to swap out all appearances of 'BLENDER_EEVEE' with 'BLENDER_EEVEE_NEXT' seems to get things running again.

@zum25
Copy link

zum25 commented Dec 15, 2024

i dont understand.. so ill just updating blender to 4.3.0?...

@Schonn
Copy link

Schonn commented Dec 15, 2024

i dont understand.. so ill just updating blender to 4.3.0?...

That is a good idea to try, the difficulty is that the sketchfab plugin may not work for any version of Blender which uses the 'Eevee Next renderer'. I think that includes blender 4.3.0.

One way to fix the problem is:
Download the sketchfab blender plugin from github
Extract the plugin zip file
Open the __ init __.py from the extracted zip file with a text editor of your choice
Perform a 'find and replace' to replace any appearance of the string 'BLENDER_EEVEE' with the string 'BLENDER_EEVEE_NEXT'
Save your edited version of the __ init __.py file
Compress the whole folder containing the __ init __.py file into a .zip
Remove any existing version of the sketchfab blender plugin you have in your blender
Install your edited version of the sketchfab blender plugin using the new .zip file you created

@Mrj005
Copy link

Mrj005 commented Dec 18, 2024

i dont understand.. so ill just updating blender to 4.3.0?...

That is a good idea to try, the difficulty is that the sketchfab plugin may not work for any version of Blender which uses the 'Eevee Next renderer'. I think that includes blender 4.3.0.

One way to fix the problem is: Download the sketchfab blender plugin from github Extract the plugin zip file Open the __ init __.py from the extracted zip file with a text editor of your choice Perform a 'find and replace' to replace any appearance of the string 'BLENDER_EEVEE' with the string 'BLENDER_EEVEE_NEXT' Save your edited version of the __ init __.py file Compress the whole folder containing the __ init __.py file into a .zip Remove any existing version of the sketchfab blender plugin you have in your blender Install your edited version of the sketchfab blender plugin using the new .zip file you created

this method works very well for me . thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants