I have smooshed a contour gauge into an object so I can model a "cradle" that will hold it in a box.

What is the workflow to transfer the curve from this image into blender?

contour gauge against grid

I deliberately took it at an angle, because even if I took it from straight above there would be camera distortion. I assume there is some software which can use the grid in the image to make the correction easier.


1 Answer 1


To "remove" the perspective in the picture, hugin seems to work. Use the advanced interface to mark the horizontal and vertical lines and change the projection type to rectilinear hugin control points hugin can then output a resampled version of the photo usable in blender. reprojected image

In a fresh blender scene, convert your camera from Perspective to Orthographic, and clear out its rotation (alt-r) and set the position to [0,0,20] (just someplace high on the Z axis will do). camera type and orthographic scale

Set the Background Image of your camera to be the undistorted image. background image settings

You also need to adjust your scene Output Properties resolution x and y to match the image, otherwise the pixels will be rectangular instead of square and your image will be distorted.

If matching the size of the physical object is important (it is to me) then create a cube or plane that matches the size of an object in the scene. Since my photograph includes a grid of 1-inch squares I set my Scene Properties > Units to Imperial Inches and created a 1-inch cube.

I then adjusted the camera's orthographic scale until the 1-inch blender cube matched a 1-inch square in the camera's background image.

At this point you should be ready to create an object to trace the curve. I started by making a Bezier Curve. bezier curve control points

I converted the curve into a mesh and extruded it to create a 3-d printable object I can use to compare against the original object.

enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .