RepositoryTypeScriptRURussia
arbaev

arbaev/dxf-kit

Parse and render AutoCAD DXF files in the browser — framework-agnostic engine (dxf-render) with drop-in Vue, React and Web Components viewers. Three.js + TypeScript.

50stars
7forks
0issues
0views

🧩 dxf-kit: Parse & render DXF trong trình duyệt, không cần máy chủ

Engine độc lập, hỗ trợ Vue, React, Web Component — chỉ cần browser là đủ.

dxf-kit là một monorepo TypeScript chứa engine parse + render DXF tùy chỉnh dựa trên Three.js. Hỗ trợ 22 kiểu thực thể DXF, vector text, hatch patterns. Các gói wrapper cho Vue 3, React 18+, và Web Component (Lit) giúp tích hợp nhanh vào bất kỳ dự án nào.

✨ Điểm nổi bật

  • Engine độc lập (dxf-render): Parser tùy chỉnh + Three.js renderer, hỗ trợ cả Node.js (parser-only).
  • Hỗ trợ 22 kiểu thực thể DXF: Bao gồm LINE, POLYLINE, CIRCLE, ARC, TEXT, HATCH...
  • Vector text & hatch patterns: Render chữ và tô màu chính xác theo chuẩn DXF.
  • Vue 3 (dxf-vuer): Component <DXFViewer> + composables.
  • React 18+ (dxf-react): Component <DXFViewer> + hooks.
  • Web Component (dxf-lit): Thẻ <dxf-viewer> dùng được ở đâu cũng chạy.
  • Tính năng tương tác: Zoom, pan, orbit, picking, layer panel, rulers.
  • Xuất PDF: Hỗ trợ ví dụ chuyển DXF sang PDF.

💡 Vì sao đáng chú ý

dxf-kit khác với các thư viện khác ở chỗ tách biệt rõ engine và UI: bạn có thể dùng dxf-render trực tiếp với Three.js thuần, hoặc dùng wrapper tương ứng với framework. Tất cả đều chạy hoàn toàn trong trình duyệt — không cần upload, không cần backend. Phù hợp cho các ứng dụng CAD web, viewer bản vẽ kỹ thuật, hoặc công cụ xem file DXF nhanh trên browser.


#DXF #AutoCAD #ThreeJS #TypeScript #Vue #React #WebComponents #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
mlightcad/cad-viewer

The world’s first fully web-based DXF/DWG viewer and editor that runs entirely in the browser — no backend server required.

1.2k
Oct 27, 2026
RepositoryTypeScript
dotoritos-kim/dxf-json

perfect dxf parser

132
Sep 10, 2026
RepositoryPython
wzyn20051216/solidworks-automation-skill

Reliable AI Skill + MCP toolkit for agent-driven desktop CAD automation.

1.5k
Oct 26, 2026
RepositoryC#
haplokuon/netDxf

.net dxf Reader-Writer

1.1k
Oct 11, 2023
RepositoryHTML
thingraph/dwg-viewer-example

Examples for the x-viewer SDK, which is a WebGL-based 2D and 3D viewer built on Three.js and Vue3. It is used to view DWG/DXF/PDF files.

121
Jun 8, 2026
RepositoryGo
unitedrhino/go-cad

纯 Go 实现的 DWG/DXF 解析、渲染与写出库。支持 R9~R2018 读取、六代 DWG 容器写出、DXF/JSON 转换、中文 PNG/SVG 渲染、智能拆图与标题栏识别。37 张真实图纸与 LibreDWG 金标准值级对齐 100%。零 cgo,Apache-2.0。

61
Oct 24, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

208.8k
Oct 27, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

194.3k
Oct 25, 2026
RepositoryTypeScript
vuejs/vue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

212.6k
Oct 10, 2024