A way to save/export a plane as an image

Hi, i want to save a plane, or at least 2d projection as an image, is there a way?

Save as in what? It’s not clear what you want to save and how? We need more information, so for now I can just guess:

Do you want to write the coordinates to an image as in the export UV layout script?

Do you want to render the plane from your script? This is fairly straightforward using bpy.ops.render.render(). See the docs for more info: https://docs.blender.org/api/blender_python_api_current/bpy.ops.render.html :wink: