<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alexander Hofer</title>
    <description>The latest articles on DEV Community by Alexander Hofer (@alex_hofer).</description>
    <link>https://dev.to/alex_hofer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1321007%2Fe0d18828-14a1-49e0-bd70-af9ce0264eaf.jpg</url>
      <title>DEV Community: Alexander Hofer</title>
      <link>https://dev.to/alex_hofer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alex_hofer"/>
    <language>en</language>
    <item>
      <title>How to turn a hand-drawn floor plan into a DXF or DWG file (3 ways, and where each one breaks)</title>
      <dc:creator>Alexander Hofer</dc:creator>
      <pubDate>Thu, 12 Nov 2026 13:22:50 +0000</pubDate>
      <link>https://dev.to/alex_hofer/how-to-turn-a-hand-drawn-floor-plan-into-a-dxf-or-dwg-file-3-ways-and-where-each-one-breaks-3pkh</link>
      <guid>https://dev.to/alex_hofer/how-to-turn-a-hand-drawn-floor-plan-into-a-dxf-or-dwg-file-3-ways-and-where-each-one-breaks-3pkh</guid>
      <description>&lt;p&gt;Most floor plans start as a sketch on paper. CAD programs do not read sketches. A photo of your drawing is a grid of pixels, and AutoCAD, Revit or any laser cutter wants vectors: lines with real coordinates and a scale. There are three ways to get from one to the other. I work on a tool in the third group, so read that part knowing it.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Trace it yourself in CAD
&lt;/h3&gt;

&lt;p&gt;Attach the photo as an underlay, scale it from one wall you measured, then draw the walls on top. In AutoCAD that is IMAGEATTACH, then SCALE with the Reference option. Free programs do the same job: LibreCAD, FreeCAD and the community edition of QCAD.&lt;/p&gt;

&lt;p&gt;This is the most accurate way, because you decide every line. It is also the slowest. Plan on an hour or more for a small house if you are not fluent in CAD.&lt;/p&gt;

&lt;p&gt;Where it breaks: skewed photos. Shoot the sketch straight from above, or every room ends up a trapezoid.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Convert the pixels to vectors
&lt;/h3&gt;

&lt;p&gt;Raster-to-vector tools trace the dark pixels and give you lines. Inkscape does it for free with Trace Bitmap and can save a DXF. Scan2CAD is a paid tool built for this.&lt;/p&gt;

&lt;p&gt;It works well on clean, printed plans. On a hand sketch it gives you what the pen did: wobbly double outlines around every stroke, no wall thickness, no doors or windows as objects, no dimensions. Useful as an underlay to trace over, rarely usable as the drawing.&lt;/p&gt;

&lt;p&gt;Where it breaks: anything drawn by hand, and text. Room labels come out as hundreds of tiny curves.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Let an AI drafter redraw it
&lt;/h3&gt;

&lt;p&gt;This group does not trace. It reads the sketch like a person would and draws a new plan from it: walls with thickness, doors with swings, windows, room names and dimension chains, each on its own layer.&lt;/p&gt;

&lt;p&gt;The one I work on is &lt;a href="https://cad.ai-architectures.com/sketch-to-cad?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;Plan Chat by AI Architectures&lt;/a&gt;. You attach the photo, it draws the plan, you correct it by chat or with CAD tools in the browser, and you download DXF, DWG and a scaled PDF. It is paid, from $12 a month.&lt;/p&gt;

&lt;p&gt;Where it breaks: it interprets. If your sketch says 12 feet and the wall looks like 10, check which one it took. The results are concept plans, not permit or construction documents, and you should verify every dimension before anyone builds from them. Other AI floor plan tools exist too. Before paying for any of them, check that the export is real geometry and not a picture saved inside a DXF.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which one to use
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You know CAD and need it exact: trace it.&lt;/li&gt;
&lt;li&gt;You have a clean printed plan and need an underlay: convert it.&lt;/li&gt;
&lt;li&gt;You have a rough sketch and want an editable plan today: use an AI drafter, then check the dimensions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Check any converted plan before you trust it
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Measure one wall in the file against the real one. If it is off, everything is.&lt;/li&gt;
&lt;li&gt;Check the units. Inches read as millimeters shrink a house to a postage stamp.&lt;/li&gt;
&lt;li&gt;Zoom into the corners. Walls should meet, not overlap or leave gaps.&lt;/li&gt;
&lt;li&gt;Look at the layers. Walls, doors, windows and text on separate layers save hours later.&lt;/li&gt;
&lt;li&gt;Open it in a second program. A file that only opens in one viewer will fail at your builder's office.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you want real DXF floor plans to practice on or compare against, we published 503 of them as plain files: &lt;a href="https://github.com/20vision/house-plans" rel="noopener noreferrer"&gt;github.com/20vision/house-plans&lt;/a&gt;. They were generated with AI and drawn by our drafting code, so treat them as concept plans too.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>cad</category>
      <category>ai</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
