Calibrate Reference Image Scale in FreeCAD
Calibrating an imported reference image in FreeCAD ensures that background blueprints or sketches match real-world dimensions for precise 3D modeling. This guide provides a straightforward, step-by-step process to import an image plane, use the calibration tool to define a known distance, and automatically resize the image to a 1:1 scale.
1. Import the Image Plane
- Open your project in FreeCAD.
- In the workbench dropdown menu, select the Image Workbench.
- Click the Create planar image tool (icon showing a picture with a green plus).
- Browse to and select your image file.
- In the pop-up dialog, choose the coordinate plane (XY, XZ, or YZ) that best matches your design intent and click OK.
2. Calibrate the Scale
FreeCAD includes a dedicated calibration feature in the Image Workbench that calculates the correct scale factor automatically.
- Select the imported ImagePlane object in the Tree View.
- Click the Scale an image plane tool (icon depicting a ruler over an image) from the toolbar.
- In the 3D viewport, click on the starting point of a feature with a known real-world dimension (e.g., an overall length dimension or a scale bar).
- Click on the end point of that same feature.
- A dialog box will appear asking for the real-world distance. Enter the exact dimension in millimeters (or your active unit of measurement) and confirm.
FreeCAD will automatically adjust the XSize and
YSize properties of the image plane so the distance between
those two selected points matches the input value.
3. Alternative: Manual Scaling via Properties
If you prefer manual adjustment or need to fine-tune the scale:
- Select the ImagePlane in the Tree View.
- Navigate to the Data tab in the Property View panel at the bottom left.
- Locate the XSize and YSize properties.
- Calculate the scale factor: divide your target dimension by the measured dimension of the image.
- Multiply the existing
XSizeandYSizevalues by that factor and press Enter.
4. Position the Calibrated Image
Once the image is scaled correctly:
- Select the ImagePlane in the Tree View.
- In the Data tab, expand the Placement property.
- Adjust the Position (X, Y, and Z offsets) to align the reference image with your global origin or existing sketches.
- Adjust the Transparency in the View tab if you need to see overlaid sketches clearly while modeling.