swift icon indicating copy to clipboard operation
swift copied to clipboard

Can't load .glb meshes

Open joao-pm-santos96 opened this issue 1 year ago • 3 comments

Hi!

When I try to load a .glb mesh, Swift does actually load it into the browser but then Swift.py gets stuck here https://github.com/jhavl/swift/blob/efa25fb570aceed6070658b24bfe7526b8644fc8/swift/Swift.py#L361

How can I fix it?

joao-pm-santos96 avatar Jun 22 '23 08:06 joao-pm-santos96

@jhavl can you please give me some insight? Thank you.

joao-pm-santos96 avatar Jun 22 '23 08:06 joao-pm-santos96

I've performed a search on this repo and outside swift/swift/Swift.py, the shape_monted method/attribute is not found anywhere? But, the truth is that if I substitute the .glb by an .stl, the line mentioned previously returns "1"... what am I missing?

joao-pm-santos96 avatar Jun 22 '23 10:06 joao-pm-santos96

The same happens with .obj ... OBJ you do seem to have the code implemented, is there something I can do to help you solve what I am sure is just a bug?

joao-pm-santos96 avatar Jun 29 '23 07:06 joao-pm-santos96