Floor plans and CAD

Export a floor plan to DXF

Exactly what the file the editor downloads contains: six layers, metres, door openings with their swing, floor areas and dimensions. With a sample DXF to open.

The plan does not stay locked in

In the top bar of the plan editor, over on the right, there is a button that says Export DXF. It downloads whichever plan you have open as a CAD file, and from there it opens in AutoCAD, LibreCAD, QCAD, DraftSight, BricsCAD or any other program that reads DXF.

That matters more than it sounds. A plan that only exists inside a web app is a borrowed plan: it works while you are logged in. One that comes out as DXF gets dimensioned, documented, written into a specification and archived with the rest of the project. The export costs no credits.

What follows is exactly what that file contains — layer names, units and limits — so you know what you will find when you open it, and what you will still have to do yourself.

Six layers, everything on its own

A DXF that dumps everything onto layer 0 forces you to separate by hand what was already separate. This one creates six layers with their AutoCAD colours, so you can switch the furniture off, change the wall lineweight or keep the geometry alone without touching anything else.

A two-bedroom apartment plan exported to DXF, with the walls, doors, windows, furniture, text and dimensions layers in different colours
The example file below, read entity by entity and painted in each layer's colour. It is not a recreation: it is the content of the DXF.

One thing worth knowing before you open it: the layer names are in Spanish. They are written into the file by the exporter, so they are what your layer manager will show. Here is what each one is:

Layer in the fileMeaningColourWhat it holds
MUROSWalls7 · whiteThe outer shell and the partitions, with their thickness drawn
PUERTASDoors2 · yellowThe opening cut in the wall, its jambs and the swing arc of the leaf
VENTANASWindows4 · cyanThe line of the opening in the wall
MOBILIARIOFurniture9 · greyThe outline of each piece and its symbol
TEXTOSText3 · greenRoom name, floor area in m² and dimensions
COTASDimensions8 · dark greyOverall width and height, with their end ticks

The units are metres, and nothing in the file says so

The plan exports in metres: a 4.20 m wall measures 4.20 drawing units. That is what the editor works in throughout — there is no imperial export, so if your office draws in feet and inches you will be converting on the way in.

Now the awkward part. The file is written as DXF R12, and R12 does not have the variable where modern versions declare the drawing unit. Which is to say: the file is in metres, but it has no way of stating that inside itself. That is why the filename ends in -metros.dxf and the button repeats it — that is the only place the information fits.

The walls come out as the editor sees them, not as you drew them

Between two adjoining rooms there is one partition, not two stuck together. That may sound obvious, but it is exactly where room-by-room exports fall down: every room drags its own four walls along, and at the party wall you get two parallel lines separated by nothing, impossible to dimension.

Here the outline is computed over the union of all the rooms: one inner face, another offset by 10 centimetres, and the corners resolved. Before exporting, edges that are misaligned by less than 25 centimetres are also merged, on a copy of the plan — the one you have open is not touched. That is what stops a wall drawn three centimetres out of true from coming through as two separate walls.

Doors and windows: what travels and what does not

Doors are not a symbol laid on top of the wall: the opening genuinely cuts the wall, with its jambs, and the leaf is drawn as an arc pivoting on the face of its own room and sweeping ninety degrees inwards. It is the representation anyone opening the file to dimension it expects. Windows travel as the line of the opening, on their own layer.

The limit, which is better known beforehand than after: polygonal rooms export their outline, but without openings. If you have drawn an L-shaped room or one with a cut corner, its walls come out correct and its doors and windows do not. Only rectangular rooms carry their openings into the DXF. It is not an oversight: the editor does not yet place openings per polygon edge with the precision that exporting would require, and a door in the wrong place would be worse than no door at all.

Furniture, areas and dimensions

The furniture does not come out as anonymous rectangles. Each family carries its drawn symbol: pillow and turned-down sheet on beds, back and arms on sofas, four burners on the hob, the bowl of the sink, the pan of the toilet, the front line of wardrobes. A plan where the furniture reads at a glance, which is the whole point of putting it there.

Every room is labelled with its name, its floor area in square metres and its dimensions. The whole plan carries overall width and height dimensions with their end ticks. And yes, the square-metre symbol is legible: the file declares the ANSI_1252 code page and downloads as latin-1 bytes, which is what stops «12.5 m²» from arriving as «12.5 m²».

Compatible is not the same as verified

The exporter writes DXF R12 ASCII. R12 is the oldest dialect of the format and the most widely supported: it was chosen for exactly that reason, because a file that opens everywhere is worth more than one that uses the newest entities and fails in half the programs out there.

What we are not going to tell you is that we have opened it in your program. We have not run that test, and putting the name and version of a CAD package next to the word «verified» without having verified it would be inventing a result. So here is the file: it is the plan in the figure above, generated by the same code and with the same bytes as the editor's download.

example-floor-plan-meters.dxf (15 kB)Two-bedroom apartment, 11.20 × 8.70 m. Open it in your CAD before deciding whether this is any use to you.

If something does not behave the way you expected when you open it, that is a data point we care about far more than any compatibility statement.

Where this fits in a commission

The usual route does not end at the rendering. You draw or correct the plan in the editor, place the camera and generate the images in Floor plan to render; the client approves a layout by looking at images, which is how people approve layouts. And then you need the plan back in your CAD to carry on: dimension it, set out services, put the package together.

That return trip is what the DXF covers. It is not a format for exchanging renderings: it is the geometry, with its layers and its areas, arriving in the tool where the project actually gets finished. And if what you want to take away is the volume rather than the plan, 3D floor plan exports the same plan as GLB — also without spending credits — which is what Blender and web viewers open.

If you are coming from the other side — the plan is already in AutoCAD and what you want is the rendering — the outbound route is in from a CAD PDF to a render.