create-dxf✓ تایید شده

Create RFQ-ready 2D DXF (and optional SVG preview) files from a strict, validated JSON spec derived from a natural-language design prompt. Use for sheet/plate parts (waterjet/laser/router) like mounting plates, gussets, brackets, hole patterns, and slots.

۱.۰k
★ ستاره
۱۰
↓ دانلود
۱۱۸
◉ بازدید

// نصب مهارت

نصب مهارت

مهارت‌ها کدهای شخص ثالث از مخازن عمومی GitHub هستند. SkillHub الگوهای مخرب شناخته‌شده را اسکن می‌کند اما نمی‌تواند امنیت را تضمین کند. قبل از نصب، کد منبع را بررسی کنید.

نصب سراسری (سطح کاربر):

npx skillhub install openclaw/skills/create-dxf

نصب در پروژه فعلی:

npx skillhub install openclaw/skills/create-dxf --project

skill.install.customTargetHelp

npx skillhub install openclaw/skills/create-dxf --target-dir /path/to/skills

مسیر پیشنهادی: ~/.claude/skills/create-dxf/

محتوای SKILL.md

---
name: create-dxf
description: Create RFQ-ready 2D DXF (and optional SVG preview) files from a strict, validated JSON spec derived from a natural-language design prompt. Use for sheet/plate parts (waterjet/laser/router) like mounting plates, gussets, brackets, hole patterns, and slots.
---

# create-dxf

Deterministically generate a **manufacturing-friendly DXF** from a small JSON spec (center-origin, explicit units). Also emits an SVG preview.

## Quick start

1) Convert prompt → JSON (see `references/spec_schema.md`).
2) Validate:

```bash
python3 scripts/create_dxf.py validate spec.json
```

3) Render:

```bash
python3 scripts/create_dxf.py render spec.json --outdir out
```

Outputs:
- `out/<name>.dxf`
- `out/<name>.svg`

## Notes

- DXF uses simple entities for compatibility: closed `LWPOLYLINE` outer profile + `CIRCLE` holes.
- Default layers are manufacturing-oriented:
  - `CUT_OUTER` (outer perimeter)
  - `CUT_INNER` (holes/slots)
  - `NOTES` (optional)

## Resources

- `scripts/create_dxf.py`
- `references/spec_schema.md`
- `references/test_prompts.md`

مجوز

مجوز اعلام‌شده: MIT

MIT License

Copyright (c) 2026 openclaw

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

مشاهدهٔ مجوز در مخزن منبع — نسخهٔ منتشرشده در آن‌جا مرجع است.