GetPointOnMesh workes just from one side


Hello everyone,
I encountered an unexpected limitation of the Rhinoscript GetPointOnMesh method. It seems to work just from one side of the mesh. Flipping the direction doesn’t make any difference.
Is there a way to change this behavior?

thx, Tobias


Hi @tobias,

i cannot repeat this here with RhinoScript (vb) and python. Can you test if this works with a simple mesh, eg a sphere with some points deleted ?

@dale, the code example in the RhinoScript (vb) helpfile needs some love:

If Rhino.IsCurve(strObject) Then

should be this instead i guess:

If Rhino.IsMesh(strObject) Then

found this in V5 and the current WIP helpfile for RhinoScript.



Hi Clement,
Thanks for answering! Unfortunatly I can’t reproduce the problem with an example file, and I can’t post the original here. Seems I’m out of luck.

If I ever encounter it again in another situation I’ll post it here.