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

Possible Invalid STL File #64

Closed
keerl opened this issue Dec 5, 2022 · 7 comments
Closed

Possible Invalid STL File #64

keerl opened this issue Dec 5, 2022 · 7 comments

Comments

@keerl
Copy link

keerl commented Dec 5, 2022

I am trying to import an STL into a program called PyCAM. When I import it I get many errors about invalid triangles:

Skipping invalid triangle: (160.36862182617188, 6.439293542825908e-15, 0.0) / (160.36862182617188, 6.439293542825908e-15, 39.96474075317383) / (158.62548828125, 6.439293542825908e-15, 40.60410690307617)
[many more...]

Inconsistent normal/vertices found in facet definition 21833 of '/pycam/tmptc037vdc.stl'. Please validate the STL file!

The model ends up loading but is missing the edges of the STL. The top mesh seems fine. It seems like data connecting the bottom rectangle data to the top mesh is corrupt possibly?

Screenshot 2022-12-05 at 7 31 25 AM

The STL seems to load fine in other programs so I'm not sure if most programs have built-in validation and PyCAM does not.

Any ideas?

@ChHarding
Copy link
Owner

ChHarding commented Dec 5, 2022 via email

@ChHarding
Copy link
Owner

ChHarding commented Dec 6, 2022 via email

@keerl
Copy link
Author

keerl commented Dec 8, 2022

When I try to enable no_bottom I get this error: 'NoneType' object has no attribute 'get_copy'

@ChHarding
Copy link
Owner

ChHarding commented Dec 8, 2022 via email

@keerl
Copy link
Author

keerl commented Dec 10, 2022

I am unable to recreate the issue now. It was likely caused by something else in my code.

@keerl keerl closed this as completed Dec 10, 2022
@ChHarding
Copy link
Owner

ChHarding commented Dec 12, 2022 via email

@keerl
Copy link
Author

keerl commented Dec 12, 2022

I actually ended up switching to another software (for unrelated reasons) and the problem doesn't exist there.

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