RepositoryHTML
TH

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.

121stars
26forks
9issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: cad-viewer

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: dwg

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: dxf-viewer

#1 Repository Của Tháng

🖥️ Xem DWG/DXF 2D ngay trên trình duyệt với @x-viewer/core

Ví dụ thực tế cho SDK @x-viewer/core: render bản vẽ 2D DWG/DXF bằng WebGL/Three.js, không cần backend.

dwg-viewer-example là kho mẫu về cách tích hợp @x-viewer/core (bộ engine xem CAD dựa trên WebGL/Three.js + Vue3) để hiển thị bản vẽ 2D DWG/DXF trực tiếp trong trình duyệt. Dự án mở cửa các tính năng như phân tích tệp, điều khiển lớp, đo đạc, đánh dấu và chụp màn hình.

✨ Điểm nổi bật

  • Viewer2d: engine 2D chuyên xử lý bản vẽ DWG/DXF ngay trên trình duyệt
  • WebGL/Three.js: rendering hiệu năng cao nhờ công nghệ đồ hoạ phần cứng
  • Hỗ trợ đa định dạng: DWG, DXF, glTF, GLB, OBJ, FBX, STL
  • Công cụ đo đạc: khoảng cách, diện tích, góc với osnap
  • Đánh dấu & so sánh: markup, so sánh hai bản vẽ paralell
  • TypeScript: hỗ trợ đầy đủ kiểu dữ liệu
  • Chạy nhanh: npm install && npm start

💡 Vì sao đáng chú ý

Khác với các giải pháp xem CAD truyền thống cần máy chủ chuyển đổi, @x-viewer/core xử lý toàn bộ logic (parse + render) ngay trên trình duyệt nhờ WebGL. Phù hợp cho ứng dụng web muốn tích hợp xem bản vẽ CAD nhanh chóng mà không cần backend.


#DWG #DXF #ThreeJS #WebGL #CADViewer #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
RepositoryRust
HakanSeven12/OpenCADStudio

A CAD application built with Rust — 2D/3D drawing, DWG/DXF support, and GPU-accelerated rendering

3.6k
Oct 27, 2026
RepositoryC++
qcad/qcad

QCAD - The Open Source 2D CAD. QCAD is a cross-platform CAD solution for Windows, macOS and Linux. It supports the DXF format and optionally the DWG format (through a proprietary plugin).

1.9k
Oct 27, 2026
RepositoryPython
wzyn20051216/solidworks-automation-skill

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

1.5k
Oct 26, 2026
RepositoryC#
DomCR/ACadSharp

C# library to read/write cad files like dxf/dwg.

902
Oct 26, 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
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.

50
Jun 26, 2026
Repository
justjavac/free-programming-books-zh_CN

:books: 免费的计算机编程类中文书籍,欢迎投稿

119.4k
Jul 29, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Feb 15, 2026