Macro Image Scaling/en

Description
Macro for easy scaling of drawings, graphics, diagrams, blueprints and similar 2D images in the Image workbench. It works for images imported as planar images in the 3D space.

Note: For photos of objects, or images involving objects lying at different distances from the viewpoint, the effect of Parallax (distortion due to "difference in the apparent position of an object viewed along two different lines of sight") must be kept in mind. In the following diagram the 2 blue objects are co-planar with the plane being perpendicular to the user viewpoint and scaling can be used:



In the second diagram, the red and green objects are not co-planar with the 2 blue objects and scaling can not be used. Additionally the fact that the red object is co-planar with 1 blue object can not be determined from the single diagram based on the user viewpoint:



Use

 * run the Macro - a dialogue pops up
 * click on the two points in the image that you know the true distance between
 * Select the Image Plane in the tree view
 * Enter the true distance in mm between the points in the text field of the dialogue and click OK
 * The image is scaled and the dialogue closes.

Script
Macro_Image_Scaling.FCMacro

Links

 * [Forum discussion]
 * [Download zip]
 * [Movie created by microelly2]