ZWD11/house-plan-designer

一张户型图,一句话,Agent 就把它还原成可 2D/3D 直接设计的装修设计器网页(单文件 HTML,离线可用)。适用于任何支持 Skill 的 Agent|注:要想达到满血效果不推荐使用诸如豆包等大模型

What it solves

Manually turning a floor plan or CAD drawing into an editable design tool is slow and error-prone. This skill automates the whole process: it reads the drawing, measures walls, recognizes doors/windows/rooms, auto-places furniture and plumbing/electrical lines, and produces a self-contained HTML file that opens directly as a 2D/3D design tool.

How it works

The skill uses Python and Node scripts to parse different input types: images (via OpenCV and OCR), vector PDF/DXF (direct coordinate extraction), and even black-background CAD screenshots. It reads dimension annotations to determine scale, aligns two images (original and furnished plan) when both are given, and runs three self-audits (walls, dimension chains, furniture placement) before delivery. The output is a single HTML page built from a template, featuring interactive 2D floor plan, 3D walkthrough, furniture library, style switching, ceiling/lighting, free-form modeling, automatic water/electrical routing, and DXF export.

Who it's for

Anyone using an AI agent that supports skills (like Claude Code) and wants to go from a floor plan image or CAD file to a usable design website for planning, communication, or pre-construction review. It works on Windows, macOS, Linux, and cloud containers, even without a GPU.

Highlights

  • Input flexibility: color images, hand-drawn plans, black-background CAD screenshots, vector PDF/DXF, multi-page PDFs, and even entire building floor sets.
  • Automatic dimensioning: reads size numbers, sets scale, and can tie annotations to model coordinates with high accuracy (e.g., 0.9 mm residual on CAD screenshots).
  • Full design tool: 2D/3D views, furniture library with 310+ items across 20 space categories, 9 styles, free-form modeling workbench, custom cabinets, ceiling types, outdoor elements, and smart-home control simulation.
  • MEP automation: auto-routes electrical, lighting, network, hot/cold water, and drainage lines on a 100mm grid, with per-system views and DXF export.
  • Self-audit: before delivery, runs wall, dimension, and furniture checks, listing discrepancies and "to confirm" items.
  • Export options: standard national-standard DXF, A3 construction PDFs, high-res color plan PNG, and more, using GB/T conventions.

Related

  • Project
  • Project
  • Project
  • Project