All projects

DXF inspection and rendering workbench

DxfParser

Open the DXF structure, inspect every code, compare drawings, and render the geometry.

StatusMaintained
TierMaintained
DomainTools
Repositorywieslawsoltes/DxfParser

A browser-native DXF parser, tree inspector, comparison workspace, diagnostics engine, renderer, and lightweight editor for detailed AutoCAD drawing analysis.

DxfParser treats a DXF drawing as both structured data and visible geometry. It parses group-code pairs into a stable hierarchical tree, preserves malformed-container diagnostics, compares documents, builds a render scene, and supports inspection, editing, and round-trip export in a browser-native workbench.

01

Hierarchical DXF tag and entity tree

02

Canvas and WebGL rendering

03

Drawing comparison and diagnostics

04

Round-trip editing and DXF export

Where it fits.

  • CAD and DXF implementers validating file structure
  • Engineering teams comparing or diagnosing drawings
  • Developers needing a browser-native DXF inspection and rendering reference
Runtime

Modern browser / JavaScript

DXF 2018

Broad, actively tracked coverage

Canvas / WebGL

Rendering paths

NuGet

Not applicable

Real output,
not a mockup.

DxfParser rendered complex DXF model baseline
A deterministic frame generated from the complex DXF regression fixture.
DxfParser advanced geometry rendering baseline
Advanced geometry exercises the parser, scene builder, and rendering surface together.

Clear layers.
Replaceable seams.

01

Parse

Group-code and value pairs become typed tags, entities, containers, handles, and a stable hierarchical tree.

02

Inspect

Virtualized tree grids, statistics, handle navigation, diagnostics, filters, and document comparison expose the drawing structure.

03

Render

A document builder and retained scene graph feed Canvas and WebGL-oriented surfaces with text, layers, styles, and overlays.

04

Edit + export

The editor adapter mutates scene state and serializes the drawing back into DXF text.

O(n)iterative tag and tree parsing
2 surfacesCanvas and WebGL rendering
7 baselinesdrawing regression fixtures
LiveGitHub metadata

One repository.
Multiple serious systems.

Explore the focused capabilities, their package boundaries, architecture, installation, and smallest useful example.

From package
to first frame.

Choose the package workflow used by your repository, then start from the smallest working example. Replace VERSION with the current stable or prerelease version shown on NuGet.

01 · Install
Terminal
git clone https://github.com/wieslawsoltes/DxfParser.git
cd DxfParser
# Serve this directory with any static web server.
02 · Use · javascript
quick-start.js
const parser = new DxfParser();
const document = parser.parse(dxfText);
const serialized = parser.serializeTree(document);

Start focused.
Compose as needed.

The repository is the source of truth.

Use the current documentation and samples, inspect changes, report issues, or support continued open-source maintenance.

ProEdit

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…