@dxf-tools/core
v0.2.4
Published
Parse AutoCAD DXF (ASCII + binary) and tessellate to GPU-oriented RenderScene batches
Maintainers
Readme
@dxf-tools/core
Parse AutoCAD DXF (ASCII + binary) and tessellate entities into a GPU-oriented RenderScene.
Part of dxf-tools. Pair with @dxf-tools/webgl for a canvas viewer.
Install
npm install @dxf-tools/coreUsage
import { parseDxf, buildScene } from "@dxf-tools/core";
const doc = parseDxf(await fetch("/drawing.dxf").then((r) => r.arrayBuffer()));
const scene = buildScene(doc);License
PolyForm Noncommercial 1.0.0 — free for personal / noncommercial use. Commercial use requires a paid license (inquire).
