跳到正文
TakoAPI
返回技能列表

dxf-to-image

由 qrost 提供

Image & Video Generation
—暂无评分
你的评分

简介

Convert DXF to PNG, JPG, or SVG for sharing (e.g.

描述

该技能的功能

Converts DXF files from CAD tools like Rhino or map-grabber to PNG, JPG, or SVG. Supports custom output dimensions, DPI, and margin settings. Output files can be sent in chat or used for further editing.

Converts DXF files directly in the OpenClaw conversation without switching to a CAD application or online converter.

何时使用

  • Sharing a Rhino CAD drawing as a PNG in chat
  • Converting a map-grabber DXF export to a raster image
  • Exporting a site plan as SVG for vector editing
  • Generating a fixed-width PNG from a DXF for a report
  • Sending a DXF floor plan as JPG to a client

示例工作流

输入

User asks: Convert this DXF to PNG so I can send it in Telegram.

智能体
  1. 1

    Identify the DXF file path from the user's message

  2. 2

    Run convert_dxf.py with the input path and output set to /tmp/out.png

  3. 3

    Send the generated PNG to the user via the OpenClaw media tool

输出

PNG image delivered in the chat

前置要求

  • Run `pip install -r requirements.txt` in the skill folder after install (provides ezdxf, matplotlib, and Pillow)

安装

clawhub install qrost/dxf-to-image

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接