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

Reading some binary STL Files will fail #44

Open
imikejackson opened this issue Nov 18, 2022 · 0 comments
Open

Reading some binary STL Files will fail #44

imikejackson opened this issue Nov 18, 2022 · 0 comments

Comments

@imikejackson
Copy link

The binary STL specification allows STL files to store up to unit16 bytes worth of information at the end of each triangle. The current code simply ignores that value. While the vast majority of files set that value to zero or incorrectly set it to a non-zero and but don't write anything further to the stream, there are more and more manufacturers that use STL files in the additive manufacturing world (Magics Materialise being one) that do in fact use those 65K bytes to write information about each triangle. The code should take into account how much to move the input stream forward after each triangle.

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