I need to work a lot with meshes from 3DScanners and found what I believe to be a serious bug in the
ProjectCurveToMesh rhinoscriptsyntax function.
Here, trying to project a curve (a simple line below the XY-plane in the Z+ direction) onto a simple grid mesh with a U-shaped hole gives NO curves at all if the projected line coincides with non-border mesh triangle edges… You will find this test mesh MeshToSplit1.stl (35.4 KB) along with the simple test script producing this error ProjectCurveToMeshBug.py (773 Bytes).
I know this problem is related to lots of other curve/mesh, mesh/mesh intersection problems. Maybe this simple test case can help solve the problem? These core geometric algorithms really needs to be rock-solid if I am to be able to do some reliable production quality work.
Note: Might be related to these posts also:
Please fix tools like SplitMeshWithCurve…it’s been too long now!
MeshSplit Bug Example
RhinoCommon Mesh Line Intersection Problem