Quay lại kỹ năng
dxf-to-image
bởi qrost
Image & Video Generation—Chưa có đánh giá
Đánh giá của bạn
Tóm tắt
Convert DXF to PNG, JPG, or SVG for sharing (e.g.
Mô tả
Kỹ năng này làm 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.
Khi nào nên dùng
- 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
Quy trình ví dụ
ĐẦU VÀO
User asks: Convert this DXF to PNG so I can send it in Telegram.
AGENT
- 1
Identify the DXF file path from the user's message
- 2
Run convert_dxf.py with the input path and output set to /tmp/out.png
- 3
Send the generated PNG to the user via the OpenClaw media tool
ĐẦU RA
PNG image delivered in the chat
Yêu cầu
- Run `pip install -r requirements.txt` in the skill folder after install (provides ezdxf, matplotlib, and Pillow)
Cài đặt
clawhub install qrost/dxf-to-imageChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.