trimesh icon indicating copy to clipboard operation
trimesh copied to clipboard

Exceptions while Parsing JSON

Open talhafarooq20 opened this issue 3 years ago • 2 comments

Trimesh Libaray is not handling some exceptions like keyerror, jsondecodeerror and indexerror while parsing .gltf files

talhafarooq20 avatar Mar 30 '22 07:03 talhafarooq20

error1.txt

talhafarooq20 avatar Mar 30 '22 07:03 talhafarooq20

Hey, if the header isn't valid JSON isn't the GLTF file invalid? I see a few errors where the file doesn't have the nodes keyword. Do other loaders load these files? I usually check trimesh behavior against https://gltf-viewer.donmccurdy.com/

mikedh avatar Jun 08 '22 18:06 mikedh