Measure Distances on a Photo Using Google Sketchup
by danjovic in Circuits > Electronics
79323 Views, 12 Favorites, 0 Comments
Measure Distances on a Photo Using Google Sketchup
![placa1.png](/proxy/?url=https://content.instructables.com/F7U/3Y9T/HCJO50WC/F7U3Y9THCJO50WC.png&filename=placa1.png)
Some time ago a friend sent me some pictures of a printer expansion card for a brazilian ZX Spectrum. In order to produce a PCB layout for a clone of such board i needed some tool to make measurements based on a photo, and the choosen one was Google Sketchup.
Importing the Image
![front view.png](/proxy/?url=https://content.instructables.com/FUX/GKSD/HCJO50YF/FUXGKSDHCJO50YF.png&filename=front view.png)
![file-import.png](/proxy/?url=https://content.instructables.com/FI4/SEGJ/HCJO50XC/FI4SEGJHCJO50XC.png&filename=file-import.png)
![import dialog.png](/proxy/?url=https://content.instructables.com/FOY/BEHQ/HCJO50XB/FOYBEHQHCJO50XB.png&filename=import dialog.png)
![move to origin.png](/proxy/?url=https://content.instructables.com/FI2/163Q/HCJO50YK/FI2163QHCJO50YK.png&filename=move to origin.png)
![after second click.png](/proxy/?url=https://content.instructables.com/F6U/KIWL/HCJO50YI/F6UKIWLHCJO50YI.png&filename=after second click.png)
Before importing the image click on the views button to select a front view.
To import an image, go to the chose the FILE->IMPORT menu option. Make sure you check the "Use as image" option. Sketchup can import several types of image, including JPG, BMP and PNG. Most digital cameras and scanners can provide a picture in such formats.
After you click in open, move the corner of the image to the origin and click the left mouse button once
Without moving the mouse, click the left mouse button again. The image will be outlined in blue.
To import an image, go to the chose the FILE->IMPORT menu option. Make sure you check the "Use as image" option. Sketchup can import several types of image, including JPG, BMP and PNG. Most digital cameras and scanners can provide a picture in such formats.
After you click in open, move the corner of the image to the origin and click the left mouse button once
Without moving the mouse, click the left mouse button again. The image will be outlined in blue.
Resising the Image
![tape measure.png](/proxy/?url=https://content.instructables.com/F02/93YU/HCJO510D/F0293YUHCJO510D.png&filename=tape measure.png)
![numbers entered.png](/proxy/?url=https://content.instructables.com/F9W/HXUQ/HCJO510C/F9WHXUQHCJO510C.png&filename=numbers entered.png)
![do you want to resize.png](/proxy/?url=https://content.instructables.com/FMQ/VNY3/HCJO5117/FMQVNY3HCJO5117.png&filename=do you want to resize.png)
Using the "Tape Measure Tool", extend a line along a well known measurement, by clicking once to start the tape measure and a second click ends the extension. Notice that the distance indicated on the bottom of the screen does not correspond to the actual. That's why we need to resize the image.
To resize the image, simply enter the value of the known distance. I mean, just push the numbers on keyboard. You can see the numbers while you type in the same place the original measurement were displayed before you start typing.
In the example, I knew that the board was 70mm wide, but a good reference are the distance of a DIL integrated circuit. Just remember that the larger the reference you use, the better precision you get.
After entering the distance, simply push enter. You will be asked if you want to resize your model. "Click YES".
To resize the image, simply enter the value of the known distance. I mean, just push the numbers on keyboard. You can see the numbers while you type in the same place the original measurement were displayed before you start typing.
In the example, I knew that the board was 70mm wide, but a good reference are the distance of a DIL integrated circuit. Just remember that the larger the reference you use, the better precision you get.
After entering the distance, simply push enter. You will be asked if you want to resize your model. "Click YES".
Measuring
![measure diameter and distance.png](/proxy/?url=https://content.instructables.com/FIB/A1L3/HCJO511L/FIBA1L3HCJO511L.png&filename=measure diameter and distance.png)
After resizing the model, you can use directly the "Tape Measure" or the "Dimension" tool on the board. In the example I have measured the diameter of a hole in the board.
In the photo I have measured the diameter of a hole and the distance from the center of the hole to the edge of the board.
That's it. Simple Like that.
Enjoy!
In the photo I have measured the diameter of a hole and the distance from the center of the hole to the edge of the board.
That's it. Simple Like that.
Enjoy!