roymina/dsh-cad0

dsh-cad-plugin

DeepSeek Harness 插件,提供用于检查、提取和预览 CAD 文件(DWG/DXF)的工具。

AI 分析

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

包名
dsh-cad-plugin
版本
0.1.0
许可证
MIT
最近更新
2026年8月22日

安装

$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.