DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk6 min

Browser CAD Editor: Turning DWG Linework Into an AI-Editable Building Model

A browser CAD editor needs more than a drawing canvas: Arif Dogan’s project reconstructs building semantics from DWG linework and lets an AI act through validated, undoable tools.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Arif Dogan’s browser CAD project does more than display a DWG: it converts the drawing into a structured building model, lets people edit that model in 2D and 3D, and gives an AI assistant validated tools to inspect or change it. The hard part is not putting a chat panel beside a drawing. It is inferring what the geometry means, keeping edits safe, and making the same model consistent across import, editing, export, and undo.

What the browser CAD editor does

In his account published July 2, 2026, Arif Dogan describes a workflow that starts with an uploaded AutoCAD DWG floor plan and ends with a model an editor and an AI agent can both work on. The application converts the DWG to DXF, reconstructs building elements from its geometry, stores those elements as structured records, and presents them in a browser editor and 3D viewer.

As an Amazon Associate I earn from qualifying purchases.

The model includes walls, openings, rooms, dimensions, and labels. Dogan also describes quantity take-offs and export back to DWG. In the chat panel, Claude can ask questions about the model or make changes through application tools. Those changes appear in the editors and can be undone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The key design decision is a shared semantic model: import, human editing, AI changes, and export all operate on structured building data rather than treating the drawing as an undifferentiated image or a pile of lines.

#1 Best Overall
Wacom Intuos Small, Wired Graphic Drawing Tablet with Pen + Software | Battery-free pen, 4 ExpressKeys for shortcuts, works with Mac, Windows & Chromebook; Ideal for creators, students & teachers
  • Wacom Intuos Small Graphics Drawing Tablet: Enjoy industry leading tablet performance in superior control and precision with Wacom's EMR, battery free technology that feels like pen on paper
  • Works With All Software: Wacom Intuos tablet can be used in any software program to explore new facets of digital creativity; draw, paint, edit photos/videos, create designs, and mark up documents
  • What the Professionals Use: Wacom's industry leading pen technology and pen to paper feeling makes it the preferred drawing tablet of professional graphic designers
  • Software and Training Included: Only Wacom gives you software with every purchase. Register your Intuos tablet and gain access to some of the best creative software and Wacom's online training
  • Wacom is the Global Leader in Drawing Tablet and Displays: For over 40 years in pen display and tablet market, you can trust that Wacom to help you bring your vision, ideas and creativity to life

Why importing a DWG is not the same as understanding a floor plan

A CAD drawing may depict a wall using several ordinary line segments rather than an explicit object labeled “wall.” As Dogan puts it, “a dwg file does not contain walls. it contains lines.” Turning those lines into useful building elements requires interpretation. The resulting wall type, opening, room boundary, or unit may be inferred by the application rather than explicitly stored in the original file.

Conversion and recovery

Dogan’s pipeline runs LibreDWG as a subprocess to convert DWG to DXF, then processes the DXF with ezdxf and custom parsing. Isolating the converter means a crash in that process need not bring down the main application. For damaged files that the normal recovery path cannot parse, he describes a fallback raw-DXF tag scanner.

Reconstructing semantic objects

After conversion, the importer explodes blocks, samples arcs, and splits polylines into geometry it can classify. It uses layer-name hints in multiple languages, then groups wall-like fragments by approximate direction and offset. Projected line intervals are merged, with some gaps retained as possible openings. Door and window segments are projected onto nearby walls.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When layer names do not help identify walls, the system falls back to geometric classification and warns that the reconstruction is approximate. Storey height, door height, and window sill height can also be defaults rather than facts contained in the drawing; Dogan says these assumptions are recorded with warnings. That distinction matters when the model is used for counts or quantities: an inferred value should not quietly become indistinguishable from source-file data.

Rank #2
Sale
XPPen Artist 13.3 Pro V2 Drawing Tablet with Screen, 16K, Full-Laminated
  • PLEASE NOTE:XPPen Artist13.3 Pro drawing tablet Need to connect with computer,you need to use it with your computer or laptop, the 3 in 1 cable is included
  • Drawing Tablet with Screen: Tilt Function- XPPen Artist 13.3 Pro supports up to 60 degrees of tilt function, so now you don't need to adjust the brush direction in the software again and again. Simply tilt to add shading to your creation and enjoy smoother and more natural transitions between lines and strokes
  • Graphics Tablets: High Color Gamut- The 13.3 inch fully-laminated FHD Display pairs a superb color accuracy of 88% NTSC (Adobe RGB≧91%,sRGB≧123%) with a 178-degree viewing angle and delivers rich colors, vivid images, and dazzling details in a wider view. Your creative world is now as powerful as it is colorful
  • Drawing Pad: One is enough- The sleek Red Dial on the display is expertly designed with creators in mind, its strategic placement allows for natural drawing postures. With just one wheel, you can effortlessly zoom in and out, adjust brush sizes, and flip the canvas—all tailored to suit the habits of everyday artists. The 8 customizable shortcut keys allow you to personalize your setup, streamlining your workflow and enhancing creative efficiency
  • Universal Compatibility & Software Support:supports Windows 7 (or later), Mac OS X 10.10 (or later), Chrome OS 88 (or later), and Linux systems. Fully compatible with major creative software including Photoshop, Illustrator, SAI, and Blender 3D. Register your device to access additional programs like ArtRage 5 and openCanvas for expanded creative possibilities.

Units, rooms, and ambiguity

The importer does not blindly trust the DXF $INSUNITS header. Dogan says it estimates units from the drawing’s geometric extent because that header may be wrong. This is a useful validation signal, not proof that the chosen unit is correct: users still need to check whether the resulting dimensions make sense for the plan.

Rooms are derived from wall centerlines. The system splits segments at intersections, builds a half-edge walk, traces bounded faces, discards the exterior, and assigns labels using point-in-polygon tests. Dogan recounts that an L-shaped plan exposed a flaw in a bounding-box heuristic; he changed the rule to discard the largest face. This illustrates why plausible-looking geometry alone is not enough to guarantee that a room boundary was interpreted correctly.

How the editor keeps drawing work responsive

Dogan organizes the canvas into layers that change at different rates. The split helps avoid redrawing stable content whenever the cursor moves.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Canvas layer What it contains Why it is separated
Base Grid and original linework Provides the drawing backdrop without requiring every overlay to be rebuilt during interaction.
Cached model Walls and annotations Can be reused while the user moves the pointer or previews an edit.
Overlay Cursor and drag previews Updates frequently without forcing a redraw of the more stable layers.

He also describes batched drawing paths and spatial indexes to limit work during pointer movement. Snapping candidates are prioritized in this order: endpoints, intersections, midpoints, perpendicular or on-line candidates, then grid. Undo is based on whole-model snapshots, with edits committed as transactions.

Rank #3
Sale
XPPen Deco 01 V3 10x6 Drawing Tablet, 16K Battery-Free Stylus, 8 Keys
  • Word-first 16K Pressure Levels: The upgraded stylus features 16,384 levels of pressure sensitivity and supports up to 60 degrees of tilt, delivering smoother lines and shading for a natural drawing experience. With no battery or charging needed, it operates like a real pen, making it easy for beginners to create effortlessly. This functionality helps novice artists develop their skills and explore their creativity without the intimidation of complex tools
  • Designed for Beginners: This drawing pad desinged with 8 customizable shortcuts for both right and left-hand users, express keys create a highly ergonomic and convenient work platform
  • Perfectly Adapted for Android: The XPPen Deco 01 V3 art tablet supports connections with Android devices running version 10.0 and above. It is recommended to download the XPPen Tools Android application, which adapts to your smartphone's screen aspect ratio, ensuring accurate mapping. It also supports mapping on Android screens with different aspect ratios in portrait mode
  • Large Drawing Space, Bigger Bold Inspiration: This expansive drawing pad has10 x 6.25-inch helps you break through the limit between shortcut keys and drawing area
  • Easy Connectivity for Beginners: The Deco 01 V3 offers USB-C to USB-C connectivity, plus adapters for USB C. This ensures easy connection to various devices, allowing beginner artists to set up quickly and focus on their creativity without compatibility concerns. Whether using a laptop, tablet, or desktop, the Deco 01 V3 provides a seamless experience, making it an ideal choice for those just starting their digital art journey

Reported performance figures

The figures below are Dogan’s project measurements, reported in his July 2, 2026 account. They are not independent benchmarks, and the software-rasterizer timings should not be read as a general measure of browser CAD performance.

Measurement What Dogan reported Qualification
Frame time before redraw optimization 1,154 ms per frame Dogan’s measurement of his editor before the optimization.
Frame time after optimization 82 ms per frame Reported under a software rasterizer.
GPU experience Comfortable 60 fps Dogan’s description of the optimized editor running on a real GPU; no benchmark setup is specified in the account.
Real-DWG smoke tests 231 files, 0 crashes Dogan says the corpus covered architectural, structural, mechanical, and electrical drawings across versions r1.4 through 2025.
Editor autosave 900 ms debounce The delay Dogan reports for his application’s autosave behavior.

The smoke-test result describes crash behavior in Dogan’s corpus; it does not establish that every file imported with correct walls, openings, units, or rooms. Stability and semantic accuracy are different questions.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How the LLM can inspect and edit the model

Dogan says he exposed thirteen application tools to Claude: three read operations and ten write operations. The read tools return a model summary, list elements, and calculate a quantity take-off. The write tools cover walls, openings, rooms, annotations, storey data, naming, and deletion. A user might ask, “how many doors and windows are there?” In Dogan’s example, the assistant gives counts and flags a 300 mm opening as a likely mis-detected door. That is useful review assistance, but the answer depends on how well the importer reconstructed the model.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The broader technical stack Dogan names includes Claude Opus 4.8 through Azure AI Foundry, the Anthropic Python SDK, FastAPI, DBOS, SQLModel, SQLite, React, Vite, TypeScript, Three.js, raw Canvas 2D, and rbush. Those are the versions and components he reported; the account does not establish that model names, SDK versions, or capabilities remain current.

Rank #4
Sale
HUION Inspiroy H1060P Graphics Drawing Tablet, 10 x 6.25 in, 12+16 Hot Keys
  • Working Area Configuration - HUION art tablet equips with a 10 x 6.25 inches working area, providing the user with the most comfortable size to work; the 10mm slim structure and minimalist design of appearance make the drawing tablet more attractive.
  • Tilt Function Battery-free Stylus: This computer graphics tablet come with a battery-free stylus PW100, no need to charge, allowing for constant uninterrupted drawing. ±60° tilt support enables imitation of lines input with diverse drawing gestures, with accuracy ensured.
  • Press Keys:12 programmable press keys plus 16 programmable soft keys, you can set shortcut keys on drawing tablet's driver based on your preferences, such as erase, zoom in/out, scroll up and down, and so on.
  • Compatibility: HUION graphics tablet supports Windows 7 or later/ macOS 10.12 or later/ Android 6.0 or later/ Linux (Ubuntu). A USB adapter is required to connect to a Mac computer. H1060P supports various mainstream design and drawing software, including PS, SAI, AI, CDR, etc. (Please note: The H1060P is compatible with Ubuntu, but it requires the use of the Xorg display server. Wayland is not supported.)
  • NOTE: You can easily connect your phone to the art tablet via the OTG connector; while iPhone and iPad are NOT at the moment. The cursor will not show up in the SAMSUNG Galaxy S series at present. If you are not sure whether the product is compatible with your Phone or any help, please contact us.

One validated write path

AI writes go through the same backend save path as editor changes. Rather than trusting a model-generated action because it came from a tool call, the application validates the mutation against its schema and enforces domain rules in tool code. Dogan lists opening-fit checks, default sizes, automatically assigned marks, and cascade deletes among the relevant behaviors. If a tool call fails validation, the error can be returned so the model can correct and retry.

Schema validation alone is not enough. Dogan says fuzz testing uncovered a negative-width opening that passed a fit check, prompting explicit range validation. The lesson is practical: tool definitions describe the inputs an agent should send, but server-side invariants must still reject values that violate the model’s rules.

Keeping the editor and agent in sync

Before an agent turn, the frontend flushes pending saves so the agent does not work from an older server model while the user has unsaved edits in the browser. After tool changes, the frontend fetches the updated model and commits the result as one undo transaction. This makes a multi-tool AI edit reversible as a single user action rather than scattering it through the human editor’s undo history.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Dogan’s concise principle is: “an ai copilot without undo is a liability. with undo it is just a very fast colleague.” In this design, undo is not just a convenience; it is part of how an AI edit remains accountable to the person using the drawing.

Best Value
Sale
HUION Inspiroy H640P 6x4 inch Drawing Tablet 8192 Pen Pressure
  • Customize Your Workflow: The 6 customizable press keys on Huion H640P drawing tablet for pc let you assign your most-used commands—like undo, zoom, brush switch, or save—so you can keep your hands on the tablet and your mind on the art. Whether you're a digital painter switching brushes, or a comic artist zooming in and out, these keys keep your workflow smooth and uninterrupted. Plus, the Huion driver lets you save different shortcut profiles for different apps, so you never have to reconfigure when switching software.
  • Professional Pen Performance: Huion H640P drawing pad for computer comes with the battery-free PW100 stylus that's always ready when inspiration strikes. With 8192 levels of pressure sensitivity, every light sketch, or bold stroke responds naturally to your hand—just like a real pen. The 5080 LPI resolution and 233 PPS report rate deliver lag-free, precise strokes, so you can draw confidently without second-guessing your cursor. The pen side buttons help you switch between pen and eraser instantly.
  • Compact and Portable: Huion H640P computer graphics tablet features a compact, ultra-portable design at just 0.3 inches thin and 0.61 lbs light, so it slides easily into your backpack—perfect for sketching in coffee shops, taking notes in class, or editing on the go between home and studio. The 6x4 inch active area offers enough room for natural pen movements while fitting comfortably on crowded desks, or lecture hall seats.
  • Stable Compatibility: Huion H640P graphic drawing tablet works seamlessly with Mac, Windows, Linux PCs, and Android smartphones/tablets (OS version 6.0 or later). Left-handed friendly, and you just need to flip the tablet and adjust the settings in the driver. Please note: H640P does NOT support iPhone/iPad.
  • Move Beyond the Mouse: Huion Inspiroy H640P is a pen tablet that replaces your mouse for more natural, precise control. Freehand draw, take notes, or even play OSU—everything you do with a mouse, you can do better with a pen. The precise tip makes it ideal for detailed photo editing, graphic design, or signing PDF. Meanwhile, the ergonomic pen grip helps you avoid the strain that comes from hours of using a mouse.

What this project demonstrates—and what it does not

Dogan estimates that “90% of the time” went into extraction, geometry, and the editor. That retrospective estimate fits the project’s central engineering challenge: natural-language interaction is only one layer. The harder foundation is a model whose geometry has been interpreted, whose assumptions are visible, and whose mutations are checked consistently.

He also reports that commercial browser CAD SDKs he considered either lacked actual DWG editing or started around $7,500 a year for a general-DWG scope he did not need. That is his 2026 market observation, not a current price survey or a comprehensive comparison of vendors. The account does not establish a broader product recommendation.

The project is best understood as a specific implementation, not an independently audited CAD product or a general proof that an LLM can reliably edit arbitrary DWG files. Its reported test corpus, timings, and design choices belong to Dogan’s application. The transferable ideas are narrower: treat imported geometry as uncertain until classified, expose domain-specific operations rather than raw drawing internals, validate every write on the server, coordinate saves with agent turns, and make the resulting changes undoable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.