Getting a real size location of the rendered image
Posted: Thu Mar 27, 2025 9:48 am
Hi everyone, let me start with a short praise of this software, it is amazing!
And now to the point. I often export images from CloudCompare, which I then insert into CAD software for further work (I use the "Render to File" tool for this). All the export dialog settings are very useful, thanks for those. However, I quite miss the information about the position of the image.
When I import an image into CAD software (for example to create a floor plan), the program asks me for the coordinates of one of the corners, the scale of the image and the rotation. I don't know this information, so I use the default settings and manually enlarge the image according to the graphic scale in the bottom right corner of the image (you must check "Render overlay items" during export for the scale to be displayed).
After some time I found out how to get the exact "real size" dimensions of the image (scale). It's the "image width [px]" (file property) multiplied by "pixel size" (Adjust Zoom dialog) divided by "zoom" (Render to File dialog). If I divide this value by the "image width" and multiply it by the DPI (file property) and divide by 0.0254 (inches to meters conversion), I get a number that will enlarge the image to a real size when imported into CAD software. (I hope I wrote this correctly...)
The orientation (rotation) of the image can somehow be obtained from the "Camera Settings" dialog (but I haven't found the exact workflow and formulas there yet)
And now my biggest (and only) question: Can I somehow get the position of the image (for example, the coordinates of one of the image corners)?
Thanks!
And now to the point. I often export images from CloudCompare, which I then insert into CAD software for further work (I use the "Render to File" tool for this). All the export dialog settings are very useful, thanks for those. However, I quite miss the information about the position of the image.
When I import an image into CAD software (for example to create a floor plan), the program asks me for the coordinates of one of the corners, the scale of the image and the rotation. I don't know this information, so I use the default settings and manually enlarge the image according to the graphic scale in the bottom right corner of the image (you must check "Render overlay items" during export for the scale to be displayed).
After some time I found out how to get the exact "real size" dimensions of the image (scale). It's the "image width [px]" (file property) multiplied by "pixel size" (Adjust Zoom dialog) divided by "zoom" (Render to File dialog). If I divide this value by the "image width" and multiply it by the DPI (file property) and divide by 0.0254 (inches to meters conversion), I get a number that will enlarge the image to a real size when imported into CAD software. (I hope I wrote this correctly...)
The orientation (rotation) of the image can somehow be obtained from the "Camera Settings" dialog (but I haven't found the exact workflow and formulas there yet)
And now my biggest (and only) question: Can I somehow get the position of the image (for example, the coordinates of one of the image corners)?
Thanks!