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

STLLoader isBinary() check failing #3

Open
gfargo opened this issue Dec 29, 2015 · 0 comments
Open

STLLoader isBinary() check failing #3

gfargo opened this issue Dec 29, 2015 · 0 comments

Comments

@gfargo
Copy link

gfargo commented Dec 29, 2015

Not sure if anyone else has encountered this issue; was working on a project earlier today and noticed that the STLLoader class was failing to accurately determine what type of file my .stl was; binary or ascii.

Testing with STLLoader Example

Just to test, I passed the same URL (object being served from AWS S3 bucket) to the example that is posted in ThreeJS and was able to render the object immediately.

Testing within Meteor

When I reproduce the code within Meteor, the isBinary() check seems to silently fail or think that the object is ascii rather than a binary file so it ends up returning an empty Geometry object.

Seems like there is something within Meteor that is throwing off the automatic type detection at line 90.

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