dxf-to-image
par qrost
Image & Video GenerationRésumé
Convert DXF to PNG, JPG, or SVG for sharing (e.g.
Description
Ce que fait ce skill
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.
Quand l'utiliser
- 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
Exemple de workflow
User asks: Convert this DXF to PNG so I can send it in Telegram.
- 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
PNG image delivered in the chat
Prérequis
- Run `pip install -r requirements.txt` in the skill folder after install (provides ezdxf, matplotlib, and Pillow)
Installation
clawhub install qrost/dxf-to-imageExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.