Claude Code skill: turn an architectural PDF set into one offline HTML file - click a door, see its schedule; rooms, wall types, finishes decoded, detail bubbles jump sheets. Text layer only, no visio
翻譯準備中
技能Python · HTMLGitHub @hamzaabduljabbar自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
Claude Code skill: turn an architectural PDF set into one offline HTML file - click a door, see its schedule; rooms, wall types, finishes decoded, detail bubbles jump sheets. Text layer only, no vision.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Turn an architectural PDF drawing set into one clickable HTML file. Click a door, see its schedule.
A door tag sits on the plan. Its size, frame and hardware are in the schedule three sheets away. Its finish is a code explained in a legend, and the wall it sits in is defined on yet another sheet. Reading one item means flipping between sheets.
This skill reads the set once and links it all together:
The output is one HTML file. No install, no login, no upload. Double-click it and it works offline.
| Set | Sheets | Found | Linked on plans |
|---|---|---|---|
| Public safety facility (firm 1, 122 arch sheets) | 122 | 468 doors, 453 rooms, 12 window types, 10 wall types, 79 finish codes | 466 / 468 doors, 451 / 453 rooms |
| IndyGo Training Facility (firm 2, public bid set) | 15 | 26 doors, 24 rooms, 17 finish codes | 26 / 26 doors, 24 / 24 rooms |
The two firms lay out their schedules differently. Nothing was configured per set: the skill reads each schedule's own columns.
Try it: open examples/indygo/smart-drawing.html.
pip install -r requirements.txt
Copy this folder into ~/.claude/skills/smart-drawing/ (or your project's .claude/skills/), then ask Claude: "make a smart drawing from inputs/my-set.pdf".
Or run it directly:
python scripts/smart_drawing.py my-set.pdf --out outputs/my-project --project "Office building"
build_index.py reads the PDF's text and table lines (no AI vision, no OCR) into SQLite: sheets, schedule rows, legend codes, wall types, plan tags and callouts. An item is HIGH when its schedule row and its tag on a plan are both found.export_viewer.py renders the sheets and writes the index and images into one HTML file.Every value you see when you click comes from the drawing's own text.
Source-available licence (see LICENSE). Part of the AutoConst tools by Hamza Jabbar.