使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/autodesk-platform-services/open-architecture-standards-2d-floor-plans --skill oas-layout开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
OAS Layout
When to use
Use this skill whenever the task is "give me the resolved plan" — concrete polygons, walls with coordinates, openings placed on walls, multiple levels, stairs/elevators connecting levels. If you're only authoring single-level core entities without level/connection scaffolding, oas-core may be enough. If the task is intent-only (no geometry), use oas-program.
Key entities (top-level arrays in a Layout document)
levels— abstract reference planes (id,name,elevation_mm, optionalis_building_story)rooms,walls,openings,curtain_walls,roofs,floor_slabs,furniture,railings— Core entities, each with optionallevelreferenceconnections— inter-room circulation graph:{ from, to, type }wheretypeisdirect|through|single_accessmetadata— optional provenance (generated_by,timestamp,notes)
Critical rules
- Walls are straight line segments, defined by
from/topoints only — not polylines. For a bent wall, emit multiple wall entities. - Validate opening placement against wall length.
position_along_wall_mm ≥ 0andposition_along_wall_mm + width_mm ≤ Euclidean distance between wall.from and wall.to. - `Level` is abstract; `FloorSlab` is physical. Level is the reference plane (
elevation_mm); FloorSlab is the construction. A single Level can have multiple slabs (split-level designs). - `Connection` is a room-to-room graph, not a vertical traversal. Types are
direct(shared doorway),through(passes through other rooms),single_access(room only reachable via one neighbor). Vertical movement between levels is modeled via openings + level refs on the room/opening, not a special connection type. - Non-rectangular wall tops use `top_profile_points`. Each entry is
{ "t": 0..1, "z_mm": int }wheretis the parametric position along the wall, not an absolute coordinate. - Roof arrays must align with the boundary polygon.
slope_angles,defines_slope, andeave_overhang_mmmust each have exactly as many entries as the polygon has points. Edges wheredefines_slopeisfalseare gables. - Openings reference `in_wall` or `in_curtain_wall`, never both.* Curtain wall panels (
IfcPlate) are not openings — only doors/windows are.
Full schema
See docs/layout.md for the complete reference — the largest module in OAS, covering levels, all entity placements, and connection semantics.
Related skills
oas-core— the entity vocabulary Layout reuses and scopes to levelsoas-geometry— for polygon, wall-path, and angle conventionsoas-program— the upstream intent a Layout is meant to satisfyoas-render— to visualize the resolved Layoutoas-extensions— for machinery, materials, Autodesk metadata attached to Layout entities


