-
Notifications
You must be signed in to change notification settings - Fork 38
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
Error python gltf2usd.py #185
Comments
Cheers ZeroSOFAD. This is likely due to Python versions, I suppose. |
Hey felipe-dap, could you please help me with this issue. I am having the same exact problem but I'm on Ubuntu 20.04 and Python version is 3.8.5. |
Hey, rohitmorph! from _gltf2usd.gltf2.Skin import Skin gtflLoader.py usdMaterial.py ---- BESIDES THAT, you will have to change another few things: Class Skin from gtfl2 gltf2usd.py Have a look at issues 191 and let me know if you need more help on this. |
Hey felipe-dap, I really have no clue how to thank you for this. You are amazing my friend. Wish I could buy you a beer! Followed your suggestion and it worked perfectly well. I had one other similar error. I'm mentioning it here just in case other people have the same issue. Class GLTFImage from gtfl2 Thank you very very much felipe-dap! Cheers & have a great day! |
Good! Glad it worked! |
I tried to make these changes as well, but I am now getting this error: Not sure what I did wrong? |
Hello @methot-ilya-3ds |
@felipe-dap Hi Felipe, I actually ended up completely re-copying the project and starting from scratch and somewhere along the line I figured it out. There are a couple of lines in the repo that are not updated for the latest USD package, such as animation support, but otherwise I was able to get the conversion working! |
@methot-ilya-3ds Good! Happy coding! Cheers. |
I get an error
------ERROR-----
C:\OpenServer\domains\3d\gltf2usd-master\Source>python gltf2usd.py -h
Traceback (most recent call last):
File "gltf2usd.py", line 21, in
from _gltf2usd.gltf2loader import GLTF2Loader, PrimitiveMode, TextureWrap, MinFilter, MagFilter
File "C:\OpenServer\domains\3d\gltf2usd-master\Source_gltf2usd\gltf2loader.py", line 9, in
import gltf2usdUtils
ModuleNotFoundError: No module named 'gltf2usdUtils'
------ERROR-----
And the same error when
C:\OpenServer\domains\3d\gltf2usd-master\Source>python gltf2usd.py -g c:\OpenServer\domains\3d\scale_box.gltf -o c:\OpenServer\domains\3d\scale_box.usda
The text was updated successfully, but these errors were encountered: