Just thought I poste the code of the "point-finder" in case somebody else likes to use it:
Code:
def mouseclick(button):
if button == viz.MOUSEBUTTON_MIDDLE:
print 'middle'
line = viz.screentoworld(viz.mousepos())
begin = line[:3]
end = line[3:]
#viz.startlayer(viz.LINE_LOOP)
#viz.vertex(begin)
#viz.vertex(end)
#line0503 = viz.endlayer()
info = table.intersect(begin,end)
if info.intersected:
print 'p1:',info.intersectPoint