Stair hidden line

From shuotao/REVIT_MCP_study · View interactive version

Stair hidden line is an AI agent skill from the GitHub repository shuotao/REVIT_MCP_study. 剖面隱藏樓梯可視化:在剖面視圖中,自動為被側板遮擋的樓梯梯級繪製虛線詳圖線。觸發條件:使用者提到樓梯隱藏線、stair hidden line、剖面樓梯、虛線、梯級、stair visualization、組合式樓梯。工具:trace_stair_geometry、create_detail_lines、get_line_styles。

How to use this skill

Skill file

剖面隱藏樓梯可視化

在剖面視圖中,為被側板(stringer)遮擋的組合式樓梯梯級自動繪製極密虛線。

When to Use

Workflow

  1. 在 Revit 中開啟目標剖面視圖
  2. trace_stair_geometry → 分析所有 StairsRun 元素:
  1. get_line_styles → 找到「虛線(極密)」的樣式 ID
  2. create_detail_lines 使用步驟 2 的座標 + 步驟 3 的樣式 ID

Geometry Logic

剖切面
    |
    |  depth=0        depth > 0(後方)
    |  ← 前景          背景 →
    |
    |  跳過            繪製(僅第一排)

Recommended Line Style

ID: 11911982 —「虛線(極密)」

使用 get_line_styles 確認你的專案中的正確 ID。

Reference

詳見 domain/stair-hidden-line-workflow.md。

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.