A questions about project()
-
@z3dev
When I useproject()to try to project the.stlmodel onto a 2d plane, the console prompts:

But the 3d model can be displayed normally.This problem does not appear in all
.stlmodels, only complex.stlmodels 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()? -
@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.
-
@z3dev
Ok, I have submitted an issue on github.
https://github.com/jscad/OpenJSCAD.org/issues/916
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login