I assume the grid you are using is always going to be flat. You can try this. 
Gather all the edge info for the grid and form an array of line segment per 
edge. 
You should then use the inner line curve to form an extruded polygon strip 
(extended in both direction perpendicular to the grid). Now perform line 
segment/polygon face intersection test to using each line segment against all 
the polygon faces. You should then be able to find the red points by using 
barycentric coordinates then.
Hope this help. :)

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/5258ab06-9c0c-4250-9e41-c237bfc496c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to