Guide

DWG and DXF: what they are and how to use them for a 3D floor plan

DWG and DXF are the formats CAD programs use to save technical drawings. They are the best starting point for turning a floor plan into 3D, because they contain precise lines, units of measurement and layers. Here is what they are, how to get them and what to check.

Holographic 3D model of a flat floating over a perspective grid

Updated on 14 October 2026 · Loto Studios

DWG, DXF, PDF, image: the differences

FormatNatureUnits and scaleLayersGood for 3D?
DWGNative CAD file, binaryYes, in the fileYesYes, the best starting point
DXFCAD exchange file, textYes, in the fileYesYes, equivalent to DWG for a floor plan
Vector PDFPage with lines and textsNo: scale to calibrateNoUsable with calibration and manual tracing
Scan, JPG, PNGPixelsNo: scale to calibrateNoUsable with more work and less precision

ShotPlan reads DWG and DXF Available; PDF and image recognition is Coming soon.

How to get the DWG or DXF of a floor plan

  • From the designer. The studio that drew the project has the DWG. Ask for the floor plan of the storey you need, with the layers switched on.
  • From your own CAD. Every CAD program saves as DWG or exports to DXF (“Save as” or “Export”). Prefer a recent version of the format, but not necessarily the latest.
  • From a PDF. Some programs convert vector PDFs to DXF: the result keeps the lines but loses units and layer names. It is a fallback, not the ideal path.
  • From a survey. A new survey, even a simple one with a laser meter, drawn in a CAD, is often the fastest way to get a reliable file for an old building.

What to check before importing

  1. Units. Is the drawing in millimetres, centimetres or metres? The file header says so; if it is missing, you will calibrate with a known measurement.
  2. Scale 1:1. In a CAD the drawing should be in real units: a 5 m wall is 5000 mm long. If the file was drawn “to paper scale”, calibrate.
  3. Layers. Walls, openings, furniture and dimensions on separate layers make tracing easier: you can hide what does not help.
  4. Closed lines. Walls drawn as double lines that meet at the corners make snapping and room generation reliable.
  5. One storey per file. If the file contains several storeys or an elevation, isolate the floor plan you need.

From the file to the 3D

Once the file is clean, the path is the one in the 2D to 3D guide: check the scale, trace the walls on the lines with snapping, place the openings, generate the rooms. In ShotPlan the layers of the DWG stay available in a panel, so you can show only the walls while you trace.

Frequently asked questions

DWG or DXF, which is better?

For a floor plan they are equivalent: both contain lines, units and layers. DWG is more compact; DXF is an exchange format readable by almost every program. ShotPlan reads both.

Does the DWG already contain the 3D?

Usually not: a DWG floor plan is a 2D drawing. The 3D is born when walls are given height and thickness and the rooms are closed, as the ShotPlan viewer does.

Can I open a DWG without the CAD program?

Yes. ShotPlan opens DWG and DXF directly in the browser, with the drawing’s layers, without installing a CAD.

Plan · Style · Visualize

Have a DWG and want to see it in 3D?

We open it together in the demo and check units, scale and layers.