A floor plan is more than pixels: getting DXF exports to preserve meaning
Exporting floor plans to DXF isn’t just about copying pixels; it requires careful handling of scale, units, and geometry relationships. This guide explains how to keep walls, doors, and furniture correctly sized and oriented, and offers a checklist to validate exports.
When a designer draws a wall in a browser, the line may look perfect on screen, but when it’s sent to a CAD program it can appear stretched or shrunk. The root of the problem is that a digital drawing contains more than just visual data—it also carries the meaning of dimensions, units, and spatial relationships. A robust export routine must translate that meaning faithfully, or the floor plan becomes a misleading illustration rather than a usable engineering document.
Three Independent Scales: What to Keep Separate
Every floor‑plan editor works with three distinct scales: the model’s internal coordinate system, the viewport zoom level, and the scale used when printing or exporting. Only the first of these—model coordinates—should influence the geometry that leaves the editor. Panning or zooming the view should never alter the physical length of a wall in the exported file.
FloorDraft, a manual 2‑D floor‑plan tool, stores a millimetres‑per‑pixel calibration alongside each design. When the DXF exporter runs, it divides this calibration by 1, 10, or 1,000 to produce a multiplier for millimetres, centimetres, or metres. That multiplier is applied to every point in the drawing, and the DXF’s unit setting is updated to match. For example, a line that is 320 units long in the editor with a calibration of 12.5 mm per unit represents 4,000 mm. In a millimetre file the line will be 4,000 units long; in a centimetre file it will be 400 units; and in a metre file it will be 4 units.
Simply changing the unit metadata without adjusting the coordinates would break this contract. The same rule applies to text and dimension offsets: a 100 mm annotation height becomes 0.1 units in a metre‑based drawing. If the exporter follows a different conversion path for geometry and annotations, the result can be a drawing where walls are correct but labels are gigantic.
Flipping the Vertical Axis: Geometry vs. Orientation
Most web editors use a coordinate system where the Y‑axis points downward, whereas CAD programs typically use an upward Y‑axis. The exporter solves this by mapping each point to (x × scale, –y × scale, 0). The negative sign flips the vertical coordinate, aligning the editor’s view with the CAD world.
This reflection affects more than just line endpoints. It also changes how rotation angles are interpreted. FloorDraft negates furniture insertion angles and recalculates door arcs using the reflected vertical difference, ensuring the door opens in the intended direction. If an object’s rotation is left unconverted, it may appear in the correct spot but with a wrong orientation—an error that is hard to spot until the drawing is opened in the target application.
Openings, Symbols, and Geometry Integrity
In FloorDraft a door that is linked to a wall removes the corresponding interval from the wall’s geometry during export. A free opening—one that isn’t attached to a wall—is exported as a symbol and triggers a warning. This distinction is useful for editing, but the export must preserve it. If a door appears on the screen but the wall behind it isn’t cut in the DXF, the recipient will be misled into thinking the wall is intact.
Before exporting, the tool performs several checks: it rejects non‑positive or non‑finite calibrations, missing referenced walls, openings that lie outside their wall, and overlapping openings on the same wall. Estimated dimensions and free openings generate warnings rather than silent errors, allowing the designer to decide how much confidence to place in the exported measurements.
Acceptance Checklist: How to Verify a Clean Export
- Distance: Export the same drawing in millimetres, centimetres, and metres. Verify that a known‑length wall has the same physical length in each file.
- Structure: Inspect wall outlines and linked openings rather than just checking for a door symbol.
- Orientation: Confirm the hinge position and the rotation of furniture objects match the source design.
- Readability: Check that text and dimension sizes are consistent with the chosen units.
- Warnings: Ensure any estimated dimensions or free openings are still flagged in the output.
- View Independence: Change the viewport zoom, re‑export, and confirm that the geometry remains unchanged.
These steps are not exhaustive, but they provide a solid baseline for ensuring that the DXF file carries the same meaning as the original design. A parser can confirm numeric values, but opening the file in the recipient’s CAD software is the ultimate test of interoperability.
Communicating the Handoff to Users
Different export formats serve different purposes. A PNG preserves visual appearance; a PDF preserves layout and text; a DXF preserves geometry for further CAD work. The export interface and help text should explain these distinctions so users choose the right format for their workflow.
FloorDraft’s DXF export guide, available in the editor, includes detailed instructions on units, layers, and a sample file that can be opened in common CAD programs. The guide also explains the acceptance checks and how to interpret any warnings.
When reviewing an exporter, ask: what meaning can the file lose while still looking plausible? For floor plans, units, opening relationships, and measurement confidence are the most critical aspects to preserve.
By following these principles and checks, designers can export floor plans that are not only visually accurate but also geometrically faithful, ensuring that the final CAD drawings are reliable and ready for construction or further design work.
Why it matters
Accurate DXF exports prevent costly mistakes on construction sites and ensure that architects, engineers, and builders can rely on the data they receive from digital floor‑plan tools.
Key points
- Keep model coordinates, viewport zoom, and print scale separate when exporting.
- Apply a consistent scale multiplier to geometry and annotations based on chosen units.
- Flip the vertical axis and adjust rotation angles to match CAD conventions.
- Verify openings are correctly represented—linked doors cut walls, free openings stay symbolic.
- Use a structured acceptance checklist to confirm distance, structure, orientation, and readability.
- Communicate clearly which export format serves which purpose to end users.
Frequently asked questions
Why does the wall length change when I zoom in the editor?
Zooming only changes the viewport; the exported geometry is based on the model’s internal coordinates and calibration, so the wall length remains constant.
What happens to a door that isn’t linked to a wall?
It is exported as a symbol and a warning is generated; the wall behind it is not cut, preserving the distinction between a free opening and a cut opening.
How can I confirm the export is correct?
Export the drawing in multiple units, open each file in your CAD software, and compare wall lengths, door positions, and text sizes against the original design.




