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

Can't load .glb meshes #46

Open
joao-pm-santos96 opened this issue Jun 22, 2023 · 3 comments
Open

Can't load .glb meshes #46

joao-pm-santos96 opened this issue Jun 22, 2023 · 3 comments

Comments

@joao-pm-santos96
Copy link

Hi!

When I try to load a .glb mesh, Swift does actually load it into the browser but then Swift.py gets stuck here

while not int(self._send_socket("shape_mounted", [id, 1])):

How can I fix it?

@joao-pm-santos96
Copy link
Author

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

@joao-pm-santos96
Copy link
Author

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
Copy link
Author

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?

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

1 participant