TechDraw AI

io.github.MeltFlexDevs由 GitHub 账号 MeltFlexDevs 发布v0.4.0更新于 Oct 24, 2026

Photo or text to technical drawing, DXF and DWG, printable STL, 3D models and product renders.

发布方自己的服务:draw.io

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

将照片或文字描述转换为带尺寸的工程图、CAD 文件(DXF/DWG)、可打印 STL、3D 模型和产品渲染图。

可以做什么
TechDraw AI 提供将照片或文字描述转换为工程输出的工具。generate_technical_drawing 与 text_to_technical_drawing 生成带尺寸、符合标准的二维工程图;image_to_dxf 将图像描摹为真实 CAD 轮廓,输出 DXF 或 DWG;image_to_stl 将平面图形拉伸为可打印 STL;render_product 生成照片级产品渲染图;photo_to_3d 与 drawing_to_3d 重建带纹理的 3D 网格,支持 GLB、FBX、OBJ、USDZ、STL。identify_product 识别照片中的物体,check_credits 查询余额与各操作费用。结果写入磁盘并返回文件路径。
适用场景
适合需要把实物零件照片转为工程文档或 CAD 几何的场景,例如为激光切割机准备 DXF 或生成可打印 STL。适用于逆向工程、制图和产品可视化流程,且提供一个真实测量值可锚定比例。
运行要求
通过 npm 包 techdrawai-mcp 作为本地 stdio 进程运行(npx -y techdrawai-mcp)。需要有效的 Studio 订阅计划,并通过 TECHDRAWAI_API_KEY 环境变量提供 TechDraw AI API 密钥;也可使用浏览器登录流程生成密钥。仅支持桌面端,需要访问 TechDraw AI API 的网络连接。
安装前请注意
每次生成都会从用户账户积分中扣费:generate_technical_drawing、text_to_technical_drawing 和 render_product 各消耗 5 积分,photo_to_3d 和 drawing_to_3d 各消耗 80 积分。TECHDRAWAI_API_KEY 密钥仅在创建时显示一次,且只存储其哈希值。工具会将输出文件写入 ./techdrawai-output/ 或指定的 output_path,图像会发送至第三方 TechDraw AI API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 TechDraw AI,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

TechDraw AI Skills

[License: MIT] [Version] [Skills] [npm] [Website]

AI agent skills for turning a photograph of a physical part into engineering documentation with TechDraw AI. Draft a dimensioned 2D technical drawing, trace it into CAD-ready DXF and DWG, reconstruct the part as a 3D mesh, or render it as a finished product shot. Works with Claude Code, Claude Desktop, Cursor, Codex, VS Code, Windsurf and anything else that loads Markdown skills or speaks MCP.

Each user authenticates with their own TechDraw AI API key, and every generation is billed to their account credits. The skills call the public TechDraw AI API directly, so there is nothing extra to install and no CAD kernel to build.

[Photograph of an industrial brass ball valve] [Dimensioned technical drawing of the same valve] [Shaded 3D CAD model of the same valve]

One photograph, three outputs: a dimensioned drawing, CAD geometry, and a 3D model.

Install

Pick one. Each method sets the skills up for your agent.

npx skills (recommended, cross-agent)

bash
npx skills add MeltFlexDevs/techdrawai-skills

GitHub CLI (v2.90+)

bash
gh skill install MeltFlexDevs/techdrawai-skills

Claude Code marketplace

Inside Claude Code:

/plugin marketplace add MeltFlexDevs/techdrawai-skills/plugin install techdrawai@techdrawai

MCP server only

If you want the tools without the skills, add the MCP server directly:

bash
claude mcp add techdrawai -- npx -y techdrawai-mcp

Configuration for Cursor, Claude Desktop, Codex, VS Code and Windsurf is on the MCP page.

Setup script

Universal fallback:

bash
git clone --depth 1 https://github.com/MeltFlexDevs/techdrawai-skills.gitcd techdrawai-skills./setup

More options in INSTALL.md. Agent-driven install, to paste into your agent: INSTALL_FOR_AGENTS.md.

Authenticate

Programmatic access is part of the Studio plan. Once you are subscribed, the simplest way to sign in is the browser flow, which mints a key from your session and hands it back over loopback so you never copy or paste a secret:

bash
npx -y techdrawai-mcp auth login

Or create one by hand at techdrawai.com/app → Settings → API keys and export it:

bash
export TECHDRAWAI_API_KEY="tda_sk_..."

The key is shown exactly once at creation. Only its SHA-256 is stored, so nobody can recover it afterwards, including us. An account may hold five live keys and revoking one takes effect on the next request.

Skills

SkillInvokeWhat it covers
techdrawai-drafting/techdrawai:draftingPhoto or written description to dimensioned technical drawing. Drafting standard, sheet size, projection angle, drawing type, views, and the measurements that anchor the scale.
techdrawai-cad/techdrawai:cadEverything downstream of the drawing: DXF and DWG at true size, printable STL, 3D reconstruction from a photo or a drawing, and product renders.

Tools

ToolWhat it doesCost
generate_technical_drawingPhoto to a dimensioned, standards-compliant technical drawing5 credits
text_to_technical_drawingA written description with sizes to a dimensioned technical drawing, no photo5 credits
image_to_dxfAny image to real CAD contours as DXF, optionally DWGFree
image_to_stlFlat artwork (logo, stencil, line drawing) extruded into a printable STLFree
render_productTechnical drawing to a photorealistic product render5 credits
photo_to_3dPhoto to a textured 3D mesh, GLB plus FBX, OBJ, USDZ, STL80 credits
drawing_to_3dTechnical drawing to a textured 3D mesh, one call and one charge80 credits
identify_productName the object in a photoFree
check_creditsBalance, plan, and what each operation costsFree

Failed generations are refunded automatically, so an agent that retries a bad prompt does not quietly drain the balance.

Every tool writes its result to disk (./techdrawai-output/ unless you pass output_path) and returns the path rather than the bytes. A technical drawing is a megabyte-scale image, and pushing that through the protocol would burn the agent's context on something it usually just hands to the next tool.

What it looks like in practice

You: Here is a bracket, ~/photos/bracket.jpg. It is 120 mm across. I need a DXF for the laser cutter.

[identify_product]  → "steel wall bracket"
[generate_technical_drawing]  product_name: "steel wall bracket"  measurements: [{ value: "120", unit: "mm", position: "overall width" }]  standard: ISO · paper_size: A3 · drawing_type: working→ ./techdrawai-output/drawing-2026-07-27_15-04-11.png   5 credits
[image_to_dxf]  width_mm: 120→ ./techdrawai-output/drawing-2026-07-27_15-04-11.dxf   34 contours, free

The DXF arrives at true size, so it goes straight to the cutter without rescaling. More patterns in COOKBOOK.md.

One measurement changes everything

Without a real measurement the dimensions are the model's best estimate and are marked nominal. With even one, every other feature is scaled proportionally from it and the whole drawing becomes internally consistent and manufacturable. If a user has not given one, ask for it. It is the single biggest quality lever in the whole workflow.

The CLI

The same package is a command-line tool when you run it with arguments instead of letting an agent speak MCP to it:

bash
techdrawai draw -i bracket.jpg --measure 120:"overall width" --paper A3techdrawai dxf  -i drawing.png --width-mm 120 --dwgtechdrawai model3d -i bracket.jpg --detail high

Full reference at techdrawai.com/cli.

Documentation

Licence

MIT. See LICENSE.

来源:README.md,提交 37e5a53

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.4.0最新Oct 13, 2026
  2. v0.1.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Draw 集成