Page 1 of 1

Crash on defective tiny STL file

Posted: Thu Jun 03, 2021 8:55 pm
by DA523
If STL file has 1 triangle face with duplicated vertices
CC will crash
but if there are at least one good triangle face , CC will not crash

It is some thing not important but may better to find the cause .
It may help to understand CC crashes with bigger file ??

paste this in empty .stl file

solid Mesh
facet normal -1.282563e+06 2.835531e+05 -5.272593e+06
outer loop
vertex 7.941165e+02 -2.488239e+03 -1.332811e+03
vertex 7.941165e+02 -2.488239e+03 -1.332811e+03
vertex -1.702416e+03 -9.230762e+02 -6.413545e+02
endloop
endfacet
endsolid Mesh

Re: Crash on defective tiny STL file

Posted: Sat Jun 05, 2021 8:24 am
by daniel
Good catch. That's an interesting deprecate case ;).

The code is now fixed. Thanks for the feedback.