agentCLAWHUBUnverified

Gb Arch Cad Gen

程序化生成符合中国建筑设计规范的 CAD 图纸(平面图)。 严格遵循 GB/T 50104-2010《建筑制图标准》、 GB/T 50001-2017《房屋建筑制图统一标准》、 GB 55038-2025《住宅项目规范》(强制性)等相关国标。 支持输出 SVG 和 PDF 格式,不依赖 AutoCAD。 Skill: Gb Arch Cad Gen Owner: wongeven Summary: 程序化生成符合中国建筑设计规范的 CAD 图纸(平面图)。 严格遵循 GB/T 50104-2010《建筑制图标准》、 GB/T 50001-2017《房屋建筑制图统一标准》、 GB 55038-2025《住宅项目规范》(强制性)等相关国标。 支持输出 SVG 和 PDF 格式,不依赖 AutoCAD。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-05-27T04:34:01.729Z | auto - 首次发布:支持程序化生成符合中国建筑设计规范的 CAD 平面图。 - 遵循 GB/T 50104、GB/T 50001、GB 55038 等多项建筑制图与住宅规范。 - 支持输出 SVG 和 PDF 格式,完全独立于 AutoCAD。 - 涵盖图纸布局、标准图框、标题栏、尺寸标注

OpenClaw

Rank

62

Safety

84

Downloads

970

Updated

Oct 12, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 970 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 12, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 12, 2026
Adoption signal
970 downloadsadoption · observed Oct 12, 2026
Latest release
1.0.0release · observed May 27, 2026
Handshake status
UNKNOWNsecurity

What changed

Newest first. Only changes that point at a source are listed.

  • Release 1.0.0release

    - 首次发布:支持程序化生成符合中国建筑设计规范的 CAD 平面图。 - 遵循 GB/T 50104、GB/T 50001、GB 55038 等多项建筑制图与住宅规范。 - 支持输出 SVG 和 PDF 格式,完全独立于 AutoCAD。 - 涵盖图纸布局、标准图框、标题栏、尺寸标注、图层管理等关键环节。 - 可针对住宅平面、构件详图等需求定制参数化输出;详细规范与参数速查表一应俱全。

    Observed May 27, 2026 · source

Install and run

Setup complexity: low.

clawhub skill install s17eq9h86qqe1j56tmhp3w119n86qcg0:gb-arch-cad-gen
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wongeven-gb-arch-cad-gen/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

18,231 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: arch-cad-generator
description: >
  程序化生成符合中国建筑设计规范的 CAD 图纸(平面图)。
  严格遵循 GB/T 50104-2010《建筑制图标准》、
  GB/T 50001-2017《房屋建筑制图统一标准》、
  GB 55038-2025《住宅项目规范》(强制性)等相关国标。
  支持输出 SVG 和 PDF 格式,不依赖 AutoCAD。
version: 1.0.0
author: user
tags:
  - cad
  - architecture
  - drawing
  - building-regulation
  - china-standard
triggers:
  - "生成建筑图纸"
  - "绘制平面图"
  - "生成CAD图纸"
  - "画建筑图"
  - "CAD drawing"
  - "floor plan"
---

# 中国规范 CAD 图纸生成器

## 能力边界

本 Skill 用于**程序化生成符合中国建筑设计规范的 CAD 图纸**,适用于:
- 住宅建筑方案平面图
- 建筑构件详图
- 标准图框与标题栏自动生成
- 图纸尺寸标注与定位轴线标注

不适用于:
- 结构计算图纸(需结构工程师校核)
- MEP(暖通/给排水/电气)专业系统图
- 需要 PKPM/YJK 等专业软件计算的结构施工图

## 执行工作流

1. **接收用户需求** → 解析建筑类型、面积、房间构成
2. **规范校验** → 根据 GB 55038-2025 等强制规范校验设计参数
3. **生成布局** → 程序化生成平面图布局数据结构
4. **绘制图纸** → 调用 Maker.js/Photon 库绘制图形
5. **尺寸标注** → 按 GB/T 50104 标准格式标注尺寸
6. **叠加图框** → 添加符合 GB/T 50001 的图框和标题栏
7. **输出文件** → 导出 SVG + PDF

## 遵循的规范标准

### 强制性规范(必须严格执行)
- **GB 55038-2025**《住宅项目规范》:层高≥3.0m、卧室净高≥2.6m、≥4层设电梯
- **GB 50016-2014**《建筑设计防火规范》:防火分区、疏散距离
- **GB 50763-2012**《无障碍设计规范》:无障碍通道、坡道坡度

### 制图标准
- **GB/T 50104-2010**《建筑制图标准》:图线、比例、图例、尺寸标注
- **GB/T 50001-2017**《房屋建筑制图统一标准》:图纸幅面、标题栏、图层

### 参考规范
- **GB 50096-2011**《住宅设计规范》:各功能空间面积下限
- **GB 50103-2010**《总图制图标准》

## 关键规范参数速查

| 参数 | 规范要求 | 来源 |
|------|---------|------|
| 住宅层高 | ≥ 3.0m | GB 55038-2025 |
| 卧室净高 | ≥ 2.6m | GB 55038-2025 |
| 局部净高 | ≥ 2.2m | GB 55038-2025 |
| 卧室使用面积(双人) | ≥ 9㎡ | GB 50096-2011 |
| 起居室使用面积 | ≥ 10㎡ | GB 50096-2011 |
| 厨房使用面积 | ≥ 4.0㎡ | GB 50096-2011 |
| 卫生间使用面积 | ≥ 2.5㎡ | GB 50096-2011 |
| 户门净宽 | ≥ 0.90m | GB 55038-2025 |
| 卧室门净宽 | ≥ 0.80m | GB 50096-2011 |
| 卫生间门净宽 | ≥ 0.70m | GB 55038-2025 |
| 走廊净宽 | ≥ 1.20m | GB 50096-2011 |
| 电梯设置门槛 | ≥ 4层 | GB 55038-2025 |
| 阳台栏杆高度 | ≥ 1.10m | GB 55038-2025 |

## 图纸幅面(GB/T 50001-2017)

| 幅面代号 | 尺寸 (mm) | 适用场景 |
|----------|----------|---------|
| A0 | 841×1189 | 大型工程总图 |
| A1 | 594×841 | 中型项目 |
| A2 | 420×594 | 常规楼层平面 |
| A3 | 297×420 | 详图/方案图 |
| A4 | 210×297 | 节点详图 |

## 线型规定(GB/T 50104-2010)

- **粗实线(bold)** :被剖切的主要建筑构造(墙体等)——线宽 b
- **中实线(medium)** :可见轮廓线——线宽 0.5b
- **细实线(thin)** :尺寸线、引出线、填充线——线宽 0.25b
- **粗虚线(bold-dash)** :地下/被遮挡的主要构造
- **细点划线(thin-dot-dash)** :定位轴线、中心线
- **线宽组**:b = 2.0 / 1.4 / 1.0 / 0.7 / 0.5 mm

## 图层命名(GB/T 50001-2017 协同设计)

- **A-WALL** — 墙体
- **A-DOOR** — 门窗
- **A-DIMS** — 尺寸标注
- **A-AXIS** — 定位轴线
- **A-TEXT** — 文字说明
- **A-TTLB** — 图框标题栏
- **A-FURN** — 家具布置

## 使用说明

### 典型请求示例

### 参数说明

用户可指定以下参数(未指定则使用默认值):

- `building_type`:建筑类型(residential / office / school / commercial)
- `total_area`:总面积(㎡)
- `rooms`:房间列表(名称 + 面积)
- `paper_size`:图纸幅面(A0~A4,默认 A3)
- `scale`:比例(默认 1:100)
- `output_format`:输出格式(svg / pdf / both,默认 both)

## 所需工具

- `file_write` — 写入 SVG/PDF 文件
- `command_exec` — 执行 Node.js 脚本

## 环境依赖

- Node.js ≥ 18.x
- npm 包:`makerjs`(程序化绘图)、`pdfkit`(PDF 生成)
- 安装命令:`npm install makerjs pdfkit`

## 注意事项

1. 本 Skill 生成的图纸为**方案级**图纸,不可直接用于施工。
2. 所有尺寸标注单位为毫米(mm),符合国标规定。
3. 图纸输出路径默认为 `./output/` 目录。
4. 图纸数据以 JSON 格式结构化存储,方便二次处理。

_meta.json

{
  "ownerId": "kn70tg2gq9dps1hzxceqvfarw986p1e8",
  "slug": "gb-arch-cad-gen",
  "version": "1.0.0",
  "publishedAt": 1779856441729
}

scripts/main.js/document.md

#!/usr/bin/env node
/**
 * OpenClaw Skill: arch-cad-generator
 * 中国规范 CAD 图纸生成器 - 核心绘制引擎
 *
 * 使用 makerjs(Photon 前身)进行程序化绘图,输出 SVG + PDF。
 * 严格遵循 GB/T 50104-2010《建筑制图标准》及 GB/T 50001-2017《房屋建筑制图统一标准》。
 */

const makerjs = require('makerjs');
const fs = require('fs');
const path = require('path');

// ============================================================
// 一、规范常量定义
// ============================================================

/** GB/T 50001-2017 图纸幅面 (mm) */
const PAPER_SIZES = {
  A0: [1189, 841],
  A1: [841, 594],
  A2: [594, 420],
  A3: [420, 297],
  A4: [297, 210],
};

/** GB/T 50104-2010 线宽组 (mm), 以 b=1.0 为基准 */
const LINE_WEIGHTS = {
  BOLD:      1.0,   // b — 粗实线:剖切到的墙体轮廓
  MEDIUM:    0.5,   // 0.5b — 中实线:可见轮廓
  THIN:      0.25,  // 0.25b — 细实线:尺寸线、轴线
};

/** GB 55038-2025 + GB 50096-2011 关键尺寸 (mm) */
const REGULATIONS = {
  MIN_STOREY_HEIGHT:       3000,   // 住宅层高 ≥ 3.0m (GB 55038-2025)
  MIN_BEDROOM_AREA_SQ:     9.0,    // 双人卧室 ≥ 9㎡ (GB 50096-2011)
  MIN_LIVING_AREA_SQ:      10.0,   // 起居室 ≥ 10㎡ (GB 50096-2011)
  MIN_KITCHEN_AREA_SQ:     4.0,    // 厨房 ≥ 4㎡ (GB 50096-2011)
  MIN_BATHROOM_AREA_SQ:    2.5,    // 卫生间 ≥ 2.5㎡ (GB 50096-2011)
  MAIN_DOOR_WIDTH:         900,    // 户门净宽 ≥ 0.90m (GB 55038-2025)
  BEDROOM_DOOR_WIDTH:      800,    // 卧室门 ≥ 0.80m
  BATH_DOOR_WIDTH:         700,    // 卫生间门 ≥ 0.70m
  CORRIDOR_WIDTH:          1200,   // 走廊净宽 ≥ 1.20m
  WALL_THICKNESS_OUTER:    240,    // 外墙厚度
  WALL_THICKNESS_INNER:    120,    // 内墙厚度
};

/** GB/T 50104-2010 图层名称 */
const LAYERS = {
  WALL:  'A-WALL',
  DOOR:  'A-DOOR',
  DIMS:  'A-DIMS',
  AXIS:  'A-AXIS',
  TEXT:  'A-TEXT',
  TTLB:  'A-TTLB',
  FURN:  'A-FURN',
};

// ============================================================
// 二、规范校验模块
// ============================================================

/**
 * 校验设计参数是否符合强制性规范
 * @param {Object} design - 用户设计参数
 * @returns {{ valid: boolean, violations: string[] }}
 */
function validateDesign(design) {
  const violations = [];
  const { rooms, storey_height } = design;

  if (storey_height && storey_height < REGULATIONS.MIN_STOREY_HEIGHT) {
    violations.push(
      `[GB 55038-2025] 层高 ${storey_height}mm < 最低要求 ${REGULATIONS.MIN_STOREY_HEIGHT}mm`
    );
  }

  for (const room of rooms || []) {
    const area = (room.width * room.height) / 1_000_000; // mm² → m²
    switch (room.type) {
      case 'bedroom':
        if (area < REGULATIONS.MIN_BEDROOM_AREA_SQ) {
          violations.push(
            `[GB 50096-2011] "${room.name}" 面积 ${area.toFixed(1)}㎡ < 最小 ${REGULATIONS.MIN_BEDROOM_AREA_SQ}㎡`
          );
        }
        break;
      case 'living':
        if (area < REGULATIONS.MIN_LIVING_AREA_SQ) {
          violations.push(
            `[GB 50096-2011] "${room.name}" 面积 ${area.toFixed(1)}㎡ < 最小 ${REGULATIONS.MIN_LIVING_AREA_SQ}㎡`
          );
        }
        break;
      case 'kitchen':
        if (area < REGULATIONS.MIN_KITCHEN_AREA_SQ) {
          violations.push(
            `[GB 50096-2011] "${room.name}" 面积 ${area

package.json/document.md

{
  "name": "openclaw-skill-arch-cad-generator",
  "version": "1.0.0",
  "description": "OpenClaw Skill: 中国规范 CAD 图纸生成器",
  "main": "scripts/main.js",
  "scripts": {
    "draw": "node scripts/main.js"
  },
  "dependencies": {
    "makerjs": "^0.18.1"
  },
  "keywords": ["openclaw", "skill", "cad", "architecture", "china-standard"],
  "license": "MIT"
}

skill-card.md

## Description:

Gb Arch Cad Gen helps agents generate conceptual CAD floor-plan drawings aligned with cited Chinese architectural drafting standards, exporting SVG and PDF files without AutoCAD.

This skill is ready for commercial/non-commercial use.

## Publisher:

[wongeven](https://clawhub.ai/user/wongeven)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, architects, and design automation users can use this skill to generate parameterized residential plan drawings, title blocks, dimensions, and local SVG/PDF outputs for early-stage design review. The outputs should be treated as conceptual drafts and reviewed by qualified professionals before any construction or compliance use.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Generated CAD drawings may be incomplete, approximate, or unsuitable for construction, permitting, structural, MEP, fire-safety, or accessibility decisions.

Mitigation: Use the drawings only as conceptual drafts and require review by qualified architects, engineers, and code specialists before relying on them.

Risk: Running the skill can install npm packages and write SVG/PDF outputs to the local filesystem.

Mitigation: Review dependency versions, run in a controlled workspace, and inspect generated files before moving them into sensitive project environments.

Risk: The skill cites Chinese architectural standards, but automated checks may not prove full legal or project-specific compliance.

Mitigation: Treat built-in standard checks as preliminary screening and verify all applicable regulatory requirements against authoritative project documentation.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/wongeven/skills/gb-arch-cad-gen)
- [Skill definition](artifact/SKILL.md)
- [Package manifest](artifact/package.json/document.md)
- [Drawing engine source](artifact/scripts/main.js/document.md)

## Skill Output:

**Output Type(s):** [Files, Code, Shell commands, Guidance]

**Output Format:** [SVG and PDF drawing files with optional JSON design data and Markdown or shell guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Writes generated drawings locally under ./output; generated drawings are conceptual drafts and require professional review.]

## Skill Version(s):

1.0.0 (source: server release, SKILL.md frontmatter, package.json/document.md, _skillhub_meta.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 3d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/wongeven/skills/gb-arch-cad-gen",
      "sourceUrl": "https://clawhub.ai/wongeven/skills/gb-arch-cad-gen",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T00:11:09.701Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-wongeven-gb-arch-cad-gen/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-wongeven-gb-arch-cad-gen/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-12T00:11:09.701Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "970 downloads",
      "href": "https://clawhub.ai/wongeven/gb-arch-cad-gen",
      "sourceUrl": "https://clawhub.ai/wongeven/gb-arch-cad-gen",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T00:11:09.701Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/wongeven/gb-arch-cad-gen",
      "sourceUrl": "https://clawhub.ai/wongeven/gb-arch-cad-gen",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-27T04:34:01.729Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-wongeven-gb-arch-cad-gen/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-wongeven-gb-arch-cad-gen/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "- 首次发布:支持程序化生成符合中国建筑设计规范的 CAD 平面图。 - 遵循 GB/T 50104、GB/T 50001、GB 55038 等多项建筑制图与住宅规范。 - 支持输出 SVG 和 PDF 格式,完全独立于 AutoCAD。 - 涵盖图纸布局、标准图框、标题栏、尺寸标注、图层管理等关键环节。 - 可针对住宅平面、构件详图等需求定制参数化输出;详细规范与参数速查表一应俱全。",
      "href": "https://clawhub.ai/wongeven/gb-arch-cad-gen",
      "sourceUrl": "https://clawhub.ai/wongeven/gb-arch-cad-gen",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-27T04:34:01.729Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 12, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-wongeven-gb-arch-cad-gen/run-check

Sponsored

Ads related to Gb Arch Cad Gen and adjacent AI workflows.