A questions about project()
-
@z3dev
When I useproject()
to try to project the.stl
model onto a 2d plane, the console prompts:
But the 3d model can be displayed normally.This problem does not appear in all
.stl
models, only complex.stl
models will appear in this problem.I debugged and found that the cause of this problem was that
poly3.toPoints()
returned an empty array.
Should the empty array be filtered before calling
poly3.toPoints()
? -
@z3dev
Ok, I have submitted an issue on github.
https://github.com/jscad/OpenJSCAD.org/issues/916 -
@jess-yan this could be a bug, but again many STL meshes are full of holes and incomplete.
It would be best to open a new issue at GitHub. And attach one of those ‘bad’ STL files.