create-dxf for Openclaw

A powerful tool to generate manufacturing-ready 2D DXF and SVG files from JSON specifications derived from natural-language design prompts.

ajmwagar
v0.1.1
Feb 1, 2026
1
3.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install create-dxf

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install create-dxf using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is create-dxf?

The create-dxf skill enables engineers and makers to bridge the gap between conceptual design and physical manufacturing. By transforming high-level prompts into a strictly validated JSON specification, this tool generates high-quality 2D CAD files compatible with waterjet, laser, and CNC router workflows. It focuses on deterministic output, ensuring that every bracket, mounting plate, or hole pattern meets strict manufacturing standards.

This utility is a vital addition to any technical workflow involving Openclaw Skills, as it automates the tedious task of manual CAD drawing for simple 2D parts. By emitting both a DXF for production and an SVG for quick visual inspection, it significantly streamlines the design-to-production pipeline.

create-dxf Use Cases

  • Designing custom mounting plates for robotics or electronics projects.
  • Generating gussets and brackets for structural frames.
  • Creating precise hole patterns and slot arrangements for mechanical enclosures.
  • Automating the creation of RFQ-ready CAD files from textual descriptions using Openclaw Skills.

How create-dxf Works

  1. Convert a natural-language design prompt into a validated JSON specification following the provided schema.
  2. Run the validation script to ensure the JSON spec is mathematically and syntactically correct.
  3. Execute the render command to generate the final manufacturing-ready assets using the Openclaw Skills framework.
  4. Review the generated SVG for visual accuracy before sending the DXF to a fabricator.

create-dxf Setup

Ensure you have Python 3 installed and access to the internal scripts. To begin generating files with this component of your Openclaw Skills library, follow these steps:

# Validate your specification
python3 scripts/create_dxf.py validate spec.json

# Render the DXF and SVG files to an output directory
python3 scripts/create_dxf.py render spec.json --outdir out

create-dxf Data Schema & Taxonomy

The skill relies on a strict JSON specification using center-origin coordinates and explicit units. This ensures consistency when used alongside other Openclaw Skills. Output files are organized as follows:

File Extension Description Entities Used
.dxf Production-ready CAD file LWPOLYLINE (outer), CIRCLE (inner)
.svg Visual preview Vector paths

Layer organization is optimized for manufacturing:

  • CUT_OUTER: For the perimeter profile.
  • CUT_INNER: For internal holes and slots.
  • NOTES: For optional manufacturing annotations.

create-dxf Advanced Features

  • Deterministic geometry generation ensuring repeatability across different environments using Openclaw Skills.
  • Support for manufacturing-oriented layers to streamline CNC toolpathing and CAM software import.
  • Automated validation of design specs to prevent manufacturing errors before rendering assets.
  • Lightweight SVG preview generation for rapid iteration without needing specialized CAD software.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*