send mesh data from Panda to another program?

Hello, is there any way to stream mesh data (vertices, faces and their colors) from Panda3D to another program? How can that be done?