Power Cad Drafter

SKILL前端设计
前端设计 未标注权限 许可证不明确
安装这个技能

根据测量数据自动生成电气CAD图纸,并依据电力规范进行自动审查

累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

ClawHub 市场
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install clawhub_powerzzjohn/power-cad-drafter

技能档案

前端设计
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方clawhub_powerzzjohn仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式ClawHub 市场安装包 clawhub
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791730257
正文体量3.5 KBSKILL.md 原文大小,越大说明说明书写得越细

SKILL.md 全文

3.5 KB
模型实际读到的说明书原文,来自技能仓库

Power CAD Drafter

Auto-generate DXF construction drawings for 10kV and below power distribution projects, and auto-audit against the company design code and national standards.

Trigger

  • User provides survey data, hand-drawn sketches, or design task brief
  • User requests electrical single-line diagrams, layout plans, or system diagrams
  • User requests drawing review or verification

Prerequisites

python3 -m pip install ezdxf pyyaml

Company code must exist: workspace/电力行业施工图设计规范V1.0.md

Workflow

1. Parse Input Data

Extract structured survey data from user input or parse hand-drawn sketches via vision.

Recommended input format (YAML/JSON):

project:
  name: "XX小区配电工程"
  type: "residential"
survey:
  building_floors: 18
  units_per_floor: 6
  total_area_sqm: 25000
  substation_dimensions: [8.5, 6.2]

2. Design Parameter Inference

Infer design parameters per the company code:

Item Input Output Rule
Load calculation Area, units, load density Demand factor method
Transformer Load, location Dry/oil, D,yn11, standard capacity
Main wiring Load grade, transformer count Single bus / sectionalized
Grounding Substation location TN-S (indoor), TN-C-S (outdoor)
Cable Transformer capacity, routing Ampacity + thermal + voltage drop
Room layout Equipment count, dimensions Aisle width, fire rating, noise

3. Generate DXF Drawings

Run scripts/dxf_generator.py to produce:

Drawing Suffix Content
Single-line diagram _single_line.dxf 10kV and 0.4kV primary system
Layout plan _layout.dxf Equipment positioning, dimensions, aisles
Grounding plan _grounding.dxf Grounding electrodes, equipotential bonding
Cable routing _cable.dxf Trench/bridge paths, cable labels

4. Auto-Audit

Run scripts/audit_engine.py to check against the code and produce a Markdown report.

Core checklist:
- Load grade matches power supply configuration
- Transformer capacity ≤ limits (dry ≤1250kVA public, oil ≤630kVA public)
- Wiring group D,yn11
- HV switchgear IP ≥ IP4X, five-prevention interlock
- LV breaker breaking capacity ≥ short-circuit current
- TN-S grounding mandatory for indoor substations
- Substation roof fire rating ≥ grade 2
- Aisle width ≥ 1.5m (fixed) / 1.8m (drawer)
- Bare conductor height ≥ 2.5m
- Cable sections ≥ minimums (service ≥10mm² copper, main ≥150mm²)
- Grounding resistance ≤ 4Ω (≥100kVA transformer)
- Meter height 0.8–1.8m
- Reactive compensation 20%–40% of transformer capacity

Report format:

| Category | Item | Result | Design | Required | Clause | Remark |
|----------|------|--------|--------|----------|--------|--------|

Deliverables

project_name_cad_package.zip containing:
- drawings/ — DXF files (4 sheets)
- design_params.json — All inferred parameters
- audit_report.md — Audit report with pass/fail and corrective actions
- equipment_list.csv — Bill of materials

Scripts

  • scripts/dxf_generator.py — Core DXF drawing engine (single-line, layout, grounding, cable)
  • scripts/audit_engine.py — Rule-based audit engine, loads design params and checks compliance
  • references/drawing_symbols.md — Drawing legend and symbol standards per GB/T 4728

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。