{"library":"dxf-viewer","type":"library","category":null,"description":"dxf-viewer is a high-performance 2D DXF viewer for JavaScript/TypeScript, leveraging WebGL via three.js for rendering large CAD files. Current stable version is 1.0.47. It uses geometry batching and instanced rendering to minimize draw calls, and supports lazy-loading of multiple TTF fonts for text. Key differentiators include web-worker support for offloading heavy processing and efficient handling of block instances. It has limited support for features like MTEXT formatting, line patterns, and hatches, and is primarily maintained by a single developer with periodic updates. No stream parser yet, so large files (>1GB) may hit JS engine string limits.","language":"javascript","status":"active","version":"1.0.47","tags":["javascript","dxf","viewer","webgl","html5","cad","typescript"],"last_verified":"Sat May 09","install":[{"cmd":"npm install dxf-viewer","imports":["import { DxfViewer } from 'dxf-viewer'","import { DxfViewerConfig } from 'dxf-viewer'","import { ProgressCallback } from 'dxf-viewer'"]},{"cmd":"yarn add dxf-viewer","imports":[]},{"cmd":"pnpm add dxf-viewer","imports":[]}],"homepage":"https://michalzaq.github.io/dxf-viewer","github":"https://github.com/vagran/dxf-viewer","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dxf-viewer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}