For my current project, I need to grab the mesh data from a randomly generated cylinder. I would like to get the xyz location of all the vertices, see pics below to get a general idea of what I want to do.
Another very important thing is I would also like to grab the camera metadata as well. Eg FOV, location etc. I can then save the data to a text file for later use. Basically, the goal is if I reverse the process and read the metadata stored in that text file I should be able to recreate the same cylinder in the same perspective with the same camera angle! I am not new to python but I am a newbie to Blender's api.
TLDR: Grab all vertice coordinates from the cylinder and corresponding basic camera info as well.
Edited: The dots are just random doodles to get my point across.