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

stl-deserializer having issues with some STLs #1333

Open
tsdexter opened this issue Apr 1, 2024 · 5 comments
Open

stl-deserializer having issues with some STLs #1333

tsdexter opened this issue Apr 1, 2024 · 5 comments

Comments

@tsdexter
Copy link
Contributor

tsdexter commented Apr 1, 2024

Expected Behavior

STL should import fine

Actual Behavior

Importing some STLs is resulting in many bad triangle vertice coords/normal logs and error: point XX must be an array of X, Y, Z values

Steps to Reproduce the Problem

  1. visit example with file imports: https://codesandbox.io/p/sandbox/jscad-react-js-demo-forked-hfgxh8
  2. import JSCAD logo (exported from jscad.app) - this imports fine: jscad.zip
  3. import STL from non-working-stl.stl and see errors - STL comes from thingiverse 4inParachuteClip_femaleClip_2.stl non-working-stl.stl.zip

Specifications

  • Version: latest
  • Platform: codesandbox (linux?) / windows / assuming any
  • Environment: browser
@z3dev
Copy link
Member

z3dev commented Apr 2, 2024

@tsdexter thanks for the detailed information.

i tried the STL files (from thingiverse), and both loaded into openjscad.xyz

so there may be some other issue with the loading of the file contents, etc.

@tsdexter
Copy link
Contributor Author

tsdexter commented Apr 2, 2024

@z3dev how do you load files into openjscad.xyz? That could be helpful for me when debugging further

@z3dev
Copy link
Member

z3dev commented Apr 2, 2024

Just drag and drop the STL file to the website.

I'll try a few other examples tomorrow.

@tsdexter
Copy link
Contributor Author

tsdexter commented Apr 3, 2024

@z3dev easy enough... I'll also take a look through the web UI stuff to see what I'm doing differently

@z3dev
Copy link
Member

z3dev commented Nov 10, 2024

@tsdexter the latest release has some fixes for STL binary imports. Please try and let us know if this issue has been resolved.

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

2 participants