Latest converter update is confusing and has weird issues...
See original GitHub issueI’m wondering what’s the best way to install the Python module. In the past, I simply copy paste all the files in the source into the folder where the gltf asset is, and then run the Python tool:
But in the latest update the tools have grown and when I tested a conversion using the tests asset, I keep getting weird error:
TATATs-MacBook-Pro:Start_Walking jimmyg$ python gltf2usd.py -g Start_Walking.gltf -o Start_Walking.usdz
converted usd file extension from .usdz to .usdc: Start_Walking.usdc
Traceback (most recent call last):
File "gltf2usd.py", line 726, in <module>
convert_to_usd(args.gltf_file, args.usd_file, args.fps, args.scale, args.arkit, args.verbose, args.use_euler_rotation)
File "gltf2usd.py", line 679, in convert_to_usd
usd = GLTF2USD(gltf_file=gltf_file, usd_file=usd_file, fps=fps, scale=scale, verbose=verbose, use_euler_rotation=use_euler_rotation)
File "gltf2usd.py", line 68, in __init__
self.convert()
File "gltf2usd.py", line 655, in convert
self._convert_images_to_usd()
File "gltf2usd.py", line 414, in _convert_images_to_usd
shutil.copyfile(image_path, image_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 69, in copyfile
raise Error("`%s` and `%s` are the same file" % (src, dst))
shutil.Error: `Boss_diffuse.png` and `/Users/jimmyg/Documents/PROJECT20180922/Madain_Saleh/anim3/tests/assets/Start_Walking/Boss_diffuse.png` are the same file
UPDATE: Regarding me being dumb copy pasting the script into the folder, I just realized I can keep the original Tool, then open terminal inside the source tool folder and then drag and drop the GLTF file to be converted and then simply just output the result inside any folder. I am still getting familiar with commands and terminal.
For example:
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
iOS 16 Update Issues Checklist with Quick Fixes [2021] - iMobie
This guide will list all iOS 16 Update issues and respectively possible solutions. Follow to find the iOS16 issues with fixes.
Read more >16 Common Apple Music Problems and How to Fix Them
Here're the most reported & latest Apple Music problems including Apple Music not playing, not downloading, glitching, etc.
Read more >6 Signs of a Failing Torque Converter | Ralph's Transmission
A failing torque converter is one of the most common transmission problems we see, and when it fails it usually leads to other...
Read more >Signs of a Failing Torque Converter [and How to Fix it!]
The confusion stems from the symptoms of a failing transmission, and a failing torque converter is very similar and linked.
Read more >RV Power Converter Troubleshooting - RV Repair Club
In Dave's case, he has removed the refrigerator from its cavity to check for power at connection points and in the wiring. If...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, this model is the issue I have been chasing down for a few weeks. I think your simpler model may help with troubleshooting as the walking animation is quite complex to analyze.
@enzyme69 I did some reorganization of the project in the lastest merge, so now you just need
gltf2usd.py
,__init__.py
, and the_usdz
folder. Hopefully that makes things easier to move around.