Aug
24

Using cad files as correctly scaled raster image reference

By

What a long title! I updated this info for Blender 2.59

When building an architectural 3d model, the simplest and fastest way to get my cad-dwg reference into Blender is by inserting it as a raster image mapped to a plane. To make the best of this method, I also want to scale the plane so the drawing is at correct size and then have everything positioned neatly.

buildingsite-crop

To open the dwg file I use Bricscad but I also found a 2d cad free alternative, Draftsight. I can clean up the file a bit, freeze some layers to make it easier to read, then export it as a pdf file.

exporting as pdf

Next I will open the file in Gimp and make an exact crop around the drawing. The idea of the crop is that I can measure in the cad file the area I have cropped, say 10 x 15 meters and when importing it in Blender I can scale the plane to 10×15.I will repeat this for the main elevations and other plans and any data that will make it easier to model the building. If each drawing is cropped around the same elements – eg. the exterior walls or terrace bounds etc – this will allow me to align the edges of the planes in Blender and get everything positioned correctly. All this might look like a bit too much trouble but for a complex project I find it helps along in the work flow, making things much easier once all is in place. For a small project you might just use one floor plan as reference in Blender and get the elevation data from the cad file.

cropped drawings

cropped drawings

The last step is getting the images in Blender. Since Blender 2.5, this is made easier by the Image to Plane addon. You can find and activate it here:

image to plane

After that, Image as Plane will appear in the import menu. If you want to keep it there click “save as default” in the Users preferences window (but remember to do it right after opening Blender as “save as default” actually saves as a start file all that you have at the time in your file, geometry, lights and any other settings). This very nice addon also comes with some options, shown in the left side toolbar but you can leave the default ones for this task.

After getting my images-on-planes in, I will open the Properties panelĀ  (N key) and scale them in the dimensions input section. I find 1 Blender unit = 1m works best for me. After positioning, rotating and aligning the planes my “building site” will look like this:

buildingsite

One more thing: to see the images you have to use textured viewport shading but in this way the object under construction might cover the reference image. So I go to the object panel and set the object’s display mode to wire while I am building the model. The x-ray option in the object display settings can also help.

Categories : Imports, Modeling, Workflow
  • Amena

    hey blendermama . I was wondering if you answer a question. I’ve done all that you’ve mentioned above. A plane shows up but no image on it. I am looking at it in orthographic view as well as presp but it pops up when i hit F12.

    Any suggestions

  • Oana

    Hi! To see the image you must have Viewport shading set as texture. I highlighted the shading setting in the last image, it’s the pink dot on the bottom left. Pleas also read the last paragraph. Also check if you have a light in the scene so your texture shows up.

    When rendering (F12) Blender will always render the active camera view. Check your cameras and the view menu. If you want to render from an ortographic perspective, you’ll find an orthographic option in the camera settings.

    Hope this helps!