roymina/dsh-cad0

dsh-cad-plugin

DeepSeek Harness tools for inspecting, extracting and previewing CAD files.

AI Analysis

核心用途是免编辑的 CAD 图纸只读解析。适合需要提取 DWG/DXF 元数据、图层、文本或导出图像的 CAD 数据处理与分析任务。

Package
dsh-cad-plugin
Version
0.1.0
License
MIT
Last updated
Aug 22, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:roymina/dsh-cad

dsh-cad-plugin

DeepSeek Harness tools for read-only DWG/DXF inspection, information extraction, image export, and DWG-to-DXF conversion.

The first implementation targets DWG and DXF files through @node-projects/acad-ts. It never edits the input drawing.

From this package directory, install into a Harness profile with:

dsh plugin --profile dshcadtest add .
dsh --profile dshcadtest --dump-config

Outputs are written below the configured outputDir (default ./cad-output).

The plugin registers three native tools:

  • cad_inspect — drawing metadata, bounds, layers, blocks, and entity counts.
  • cad_extract — texts, layers, blocks, or entities; optional JSON/CSV report.
  • cad_export — simple SVG/PNG preview or DXF conversion.

The preview renderer focuses on common 2D lines, polylines, circles, and text. It preserves the source drawing and reports parser warnings for unsupported or malformed CAD objects.