Scene graph to Canvas and WebGL

DXF Rendering

Connect file structure to deterministic visible geometry.

Explore source
Parent systemDxfParser
StatusPreview
Modules1
RepositoryDxfParser/rendering-renderer.js

Document builders, entity adapters, tessellation, text layout, materials, plot styles, layers, blocks, hatches, dimensions, overlays, and retained scene nodes drive Canvas and WebGL-oriented rendering surfaces.

  1. 01

    Retained rendering scene graph

  2. 02

    Canvas and WebGL-oriented surfaces

  3. 03

    Text, hatches, dimensions, blocks, and layers

  4. 04

    SVG and JSON frame regression baselines

From intent
to working system.

01

Build

Parsed sections, tables, blocks, and entities become a normalized rendering document.

02

Scene

Retained nodes carry geometry, styles, text, materials, ordering, and pick metadata.

03

Surface

Canvas or WebGL-oriented adapters draw the resolved scene.

04

Verify

Frame JSON and SVG outputs compare against checked-in baselines.

Adopt this
capability.

Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.

01 · Install
Terminal
git clone https://github.com/wieslawsoltes/DxfParser.git
# Load dist/dxf-rendering.global.js after the parser.
02 · Use · javascript
quick-start.js
const document = DxfRendering.buildDocument(nodes);
const scene = DxfRendering.buildScene(document);
const renderer = new DxfRendering.Renderer(canvas);
renderer.setScene(scene);
renderer.render();

Use one layer.
Compose the rest.

Read the module beside the complete system.

The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.

DxfParser

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…