@kensnzk/koyu 0.11.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.ja.md +3 -3
  2. package/README.md +2 -2
  3. package/dist/axo.d.ts +16 -0
  4. package/dist/axo.d.ts.map +1 -0
  5. package/dist/axo.js +216 -0
  6. package/dist/axo.js.map +1 -0
  7. package/dist/check.d.ts +78 -3
  8. package/dist/check.d.ts.map +1 -1
  9. package/dist/check.js +578 -121
  10. package/dist/check.js.map +1 -1
  11. package/dist/cli.js +93 -2
  12. package/dist/cli.js.map +1 -1
  13. package/dist/diff.d.ts +15 -0
  14. package/dist/diff.d.ts.map +1 -1
  15. package/dist/diff.js +68 -7
  16. package/dist/diff.js.map +1 -1
  17. package/dist/fabric.d.ts +28 -0
  18. package/dist/fabric.d.ts.map +1 -0
  19. package/dist/fabric.js +105 -0
  20. package/dist/fabric.js.map +1 -0
  21. package/dist/graph.d.ts +40 -3
  22. package/dist/graph.d.ts.map +1 -1
  23. package/dist/graph.js +352 -53
  24. package/dist/graph.js.map +1 -1
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +3 -0
  28. package/dist/index.js.map +1 -1
  29. package/dist/light.d.ts.map +1 -1
  30. package/dist/light.js +4 -6
  31. package/dist/light.js.map +1 -1
  32. package/dist/mcp.js +16 -9
  33. package/dist/mcp.js.map +1 -1
  34. package/dist/model.d.ts +123 -8
  35. package/dist/model.d.ts.map +1 -1
  36. package/dist/model.js +171 -68
  37. package/dist/model.js.map +1 -1
  38. package/dist/parse.d.ts.map +1 -1
  39. package/dist/parse.js +123 -5
  40. package/dist/parse.js.map +1 -1
  41. package/dist/plan.d.ts +2 -0
  42. package/dist/plan.d.ts.map +1 -1
  43. package/dist/plan.js +97 -10
  44. package/dist/plan.js.map +1 -1
  45. package/dist/poly.d.ts +78 -0
  46. package/dist/poly.d.ts.map +1 -0
  47. package/dist/poly.js +277 -0
  48. package/dist/poly.js.map +1 -0
  49. package/dist/site.d.ts.map +1 -1
  50. package/dist/site.js +5 -4
  51. package/dist/site.js.map +1 -1
  52. package/dist/vertical.d.ts +176 -0
  53. package/dist/vertical.d.ts.map +1 -0
  54. package/dist/vertical.js +669 -0
  55. package/dist/vertical.js.map +1 -0
  56. package/examples/basement/main.muro +86 -0
  57. package/examples/comparison/README.md +48 -0
  58. package/examples/complex/L1.muro +132 -0
  59. package/examples/complex/assets.muro +17 -0
  60. package/examples/complex/basement.muro +40 -0
  61. package/examples/complex/core.muro +40 -0
  62. package/examples/complex/hotel.muro +117 -0
  63. package/examples/complex/main.muro +67 -0
  64. package/examples/complex/office.muro +41 -0
  65. package/examples/complex/plant.muro +34 -0
  66. package/examples/complex/podium.muro +140 -0
  67. package/examples/complex/site.muro +18 -0
  68. package/examples/house/L1.muro +1 -1
  69. package/examples/house/L2.muro +1 -1
  70. package/examples/house/main.muro +1 -1
  71. package/examples/house.muro +3 -3
  72. package/examples/mansion.muro +18 -13
  73. package/examples/office.muro +1 -1
  74. package/examples/steps/04-exterior.muro +1 -1
  75. package/examples/steps/05-two-storeys.muro +2 -2
  76. package/examples/steps/06-finished.muro +3 -3
  77. package/examples/tower/L11.muro +4 -2
  78. package/examples/tower/L2.muro +2 -0
  79. package/examples/tower/L3.muro +3 -0
  80. package/examples/tower/assets.muro +1 -0
  81. package/examples/tower/main.muro +1 -1
  82. package/examples/tower/typical.muro +16 -9
  83. package/examples/twin/L1.muro +139 -0
  84. package/examples/twin/L5.muro +133 -0
  85. package/examples/twin/assets.muro +19 -0
  86. package/examples/twin/basement.muro +48 -0
  87. package/examples/twin/core.muro +75 -0
  88. package/examples/twin/hotel.muro +129 -0
  89. package/examples/twin/main.muro +96 -0
  90. package/examples/twin/office.muro +104 -0
  91. package/examples/twin/podium.muro +120 -0
  92. package/examples/twin/residence.muro +131 -0
  93. package/examples/twin/site.muro +29 -0
  94. package/examples/two-rooms.canonical.json +26 -2
  95. package/examples/two-rooms.muro +6 -3
  96. package/package.json +3 -2
  97. package/src/axo.ts +263 -0
  98. package/src/check.ts +680 -143
  99. package/src/cli.ts +100 -2
  100. package/src/diff.ts +75 -7
  101. package/src/fabric.ts +123 -0
  102. package/src/graph.ts +366 -56
  103. package/src/index.ts +24 -0
  104. package/src/light.ts +4 -7
  105. package/src/mcp.ts +17 -10
  106. package/src/model.ts +256 -66
  107. package/src/parse.ts +124 -5
  108. package/src/plan.ts +120 -11
  109. package/src/poly.ts +295 -0
  110. package/src/site.ts +6 -6
  111. package/src/vertical.ts +884 -0
@@ -0,0 +1,41 @@
1
+ # 中層 7〜13階 — 事務所。7層の基準階を一度だけ書く。
2
+ #
3
+ # 矩形に戻る。基壇の変則は地表面と敷地の要求から来ていて、上へ行くほど消える —
4
+ # それが実際の複合建築の姿であり、記法の側も基壇でだけ線を引き、ここでは引かない。
5
+ # 貸室はコアを三方から囲む。コアが偏っているので西が広く東が狭い。
6
+ #
7
+ # 事務室に daylight は書かない。法28条1項の採光義務が事務所の居室に無いので、
8
+ # 1/7 を掛ける意味が無いからである (ADR-0020 — 属性は法概念ではなく判定を名指す)。
9
+
10
+ space /L7..L13/officeW office X1..X4 Y2..Y5 name:事務室西 use:rentable
11
+ space /L7..L13/officeS office X4..X7 Y2..Y4-3200 name:事務室南 use:rentable
12
+ space /L7..L13/officeE office X7..X8 Y2..Y5 name:事務室東 use:rentable
13
+
14
+ boundary /L7..L13/officeW /L7..L13/officeS type:open
15
+ boundary /L7..L13/officeS /L7..L13/officeE type:open
16
+ boundary /L7..L13/officeS /L7..L13/hall t:120 spec:ガラスパーティション
17
+ door AD2 name:貸室入口
18
+ boundary /L7..L13/officeW /L7..L13/ps t:250 spec:RC
19
+ boundary /L7..L13/officeE /L7..L13/st2 t:250 spec:RC
20
+
21
+ # ---- 外周 ----
22
+ boundary /L7..L13/officeW /out edge:W t:250 spec:カーテンウォール
23
+ window CW2 at:0.5
24
+ boundary /L7..L13/officeW /out edge:S t:250 spec:カーテンウォール
25
+ window CW2 at:X2
26
+ boundary /L7..L13/officeW /out edge:N t:250 spec:カーテンウォール
27
+ window CW2 at:X2
28
+ boundary /L7..L13/officeS /out edge:S t:250 spec:カーテンウォール
29
+ window CW2 at:X5
30
+ boundary /L7..L13/officeE /out edge:E t:250 spec:カーテンウォール
31
+ window CW2 at:0.5
32
+ boundary /L7..L13/officeE /out edge:S t:250 spec:カーテンウォール
33
+ boundary /L7..L13/officeE /out edge:N t:250 spec:カーテンウォール
34
+ boundary /L7..L13/ps /out edge:N t:250 spec:PC板
35
+ boundary /L7..L13/tea /out edge:N t:250 spec:PC板
36
+ boundary /L7..L13/st1 /out edge:N t:250 spec:PC板
37
+ boundary /L7..L13/ev1 /out edge:N t:250 spec:PC板
38
+ boundary /L7..L13/ev2 /out edge:N t:250 spec:PC板
39
+ boundary /L7..L13/wcm /out edge:N t:250 spec:PC板
40
+ boundary /L7..L13/wcw /out edge:N t:250 spec:PC板
41
+ boundary /L7..L13/st2 /out edge:N t:250 spec:PC板
@@ -0,0 +1,34 @@
1
+ # 6階 — 機械階。基壇と塔屋の間に設備を一層まるごと取る。
2
+ #
3
+ # 重厚な複合建築の断面には、用途の層と層の間に「使わない階」がある。空調機・受変電・
4
+ # 受水槽が集まるこの階は、賃貸面積にも居室にも数えられないが、床面積には数えられる。
5
+ # use:common がそれを言い、daylight を書かないことで採光の判定からも外れる。
6
+
7
+ space /L6/ahu machine X1..X4 Y2..Y5 name:空調機械室 use:common
8
+ space /L6/elec machine X4..X7 Y2..Y4-3200 name:電気室・受変電 use:common
9
+ space /L6/tank machine X7..X8 Y2..Y5 name:受水槽・ポンプ室 use:common
10
+
11
+ boundary /L6/ahu /L6/elec t:250 spec:RC
12
+ door MD1
13
+ boundary /L6/elec /L6/tank t:250 spec:RC
14
+ door MD1
15
+ boundary /L6/elec /L6/hall t:250 spec:RC
16
+ door FD2 name:機械階防火戸
17
+ boundary /L6/ahu /L6/ps t:250 spec:RC
18
+ boundary /L6/tank /L6/st2 t:250 spec:RC
19
+
20
+ boundary /L6/ahu /out edge:W t:250 spec:PC板
21
+ boundary /L6/ahu /out edge:S t:250 spec:PC板ガラリ
22
+ boundary /L6/ahu /out edge:N t:250 spec:PC板ガラリ
23
+ boundary /L6/elec /out edge:S t:250 spec:PC板
24
+ boundary /L6/tank /out edge:E t:250 spec:PC板
25
+ boundary /L6/tank /out edge:S t:250 spec:PC板ガラリ
26
+ boundary /L6/tank /out edge:N t:250 spec:PC板ガラリ
27
+ boundary /L6/ps /out edge:N t:250 spec:PC板
28
+ boundary /L6/tea /out edge:N t:250 spec:PC板
29
+ boundary /L6/st1 /out edge:N t:250 spec:PC板
30
+ boundary /L6/ev1 /out edge:N t:250 spec:PC板
31
+ boundary /L6/ev2 /out edge:N t:250 spec:PC板
32
+ boundary /L6/wcm /out edge:N t:250 spec:PC板
33
+ boundary /L6/wcw /out edge:N t:250 spec:PC板
34
+ boundary /L6/st2 /out edge:N t:250 spec:PC板
@@ -0,0 +1,140 @@
1
+ # 基壇 2〜5階 — 商業。テナント区画・モール・吹抜けが割り付けられる。
2
+ #
3
+ # **テナント区画は帯 (band) が割る。**寸法と並びを書けば通り芯からの位置は導かれる
4
+ # (ADR-0019)。同じ12行が4層に展開され、48区画になる。区画の割り直しは幅の数字を
5
+ # 書き換えるだけで、隣の区画の位置は自動的に動く — これが「位置ではなく寸法を書く」
6
+ # ことの効き目である。
7
+ #
8
+ # 斜めは1階の貫通通路にだけある。吹抜けは矩形である — 斜めは動線の決定から来た線で
9
+ # あって、上階まで引きずる理由が無い。線を引く数は設計判断の数と一致すべきで、
10
+ # 「一度斜めにしたから上まで斜め」は判断ではなく惰性である (ADR-0022 の線の経済)。
11
+ # 外形の隅切りだけは所与の線 (隣地境界) に従うので基壇の全層に現れる。
12
+
13
+ # 吹抜けは**床の不在**である。区画の扉を吹抜けに開くと、そこは床の無い所なので出られない。
14
+ # 西列の区画は回廊に面させ、回廊がモールへ回り込む — 吹抜けの縁は手すりになる
15
+ space /L2..L5/wgal corridor X2..X2+2400 Y1..Y6 + X2+2400..X3 Y2..Y2+3600 name:西回廊 use:common floor:石張り
16
+ space /L2..L5/atrium void X2+2400..X3 Y1..Y2 + X2+2400..X3 Y2+3600..Y4 + X2+5600..X3 Y4..Y4+12000 + X2+2400..X3 Y4+12000..Y6 name:吹抜け
17
+ space /L2..L5/mall corridor X3..X8 Y2..Y2+3600 name:モール use:common floor:石張り
18
+ space /L2..L5/north backyard X4..X7 Y5..Y6 name:北側サービス use:common
19
+ space /L2..L5/bohW backyard X3..X4 Y4-3200..Y6 name:バックヤード西 use:common
20
+ space /L2..L5/bohE backyard X7..X8 Y4-3200..Y6 name:バックヤード東 use:common
21
+ space /L2..L4/es escalator X2+2400..X2+5600 Y4..Y4+12000 name:エスカレーター use:common escalator:N
22
+ space /L5/es corridor X2+2400..X2+5600 Y4..Y4+12000 name:エスカレーター上部 use:common
23
+
24
+ # ---- 西列: 吹抜けに面する区画 (南→北に5区画) ----
25
+ band Y X1..X2 Y1..Y6
26
+ space /L2..L5/w01 shop w:8000 name:西区画01 use:rentable
27
+ space /L2..L5/w02 shop w:8000 name:西区画02 use:rentable
28
+ space /L2..L5/w03 shop w:8000 name:西区画03 use:rentable
29
+ space /L2..L5/w04 shop w:8000 name:西区画04 use:rentable
30
+ space /L2..L5/w05 shop w:rest name:西区画05 use:rentable
31
+
32
+ # ---- モールの南列 (西→東に5区画) ----
33
+ band X X3..X8 Y1..Y2
34
+ space /L2..L5/s01 shop w:8000 name:南区画01 use:rentable
35
+ space /L2..L5/s02 shop w:8000 name:南区画02 use:rentable
36
+ space /L2..L5/s03 shop w:8000 name:南区画03 use:rentable
37
+ space /L2..L5/s04 shop w:8000 name:南区画04 use:rentable
38
+ space /L2..L5/s05 shop w:rest name:南区画05 use:rentable
39
+
40
+ # ---- モールの北列 (西→東に5区画) ----
41
+ band X X3..X8 Y2+3600..Y4-3200
42
+ space /L2..L5/n01 shop w:8000 name:北区画01 use:rentable
43
+ space /L2..L5/n02 shop w:6000 name:北区画02 use:rentable
44
+ space /L2..L5/ncorr corridor w:4000 name:北連絡通路 use:common floor:石張り # モールとコアを結ぶ — 避難は他人の区画を通らない
45
+ space /L2..L5/n03 shop w:8000 name:北区画03 use:rentable
46
+ space /L2..L5/n04 shop w:8000 name:北区画04 use:rentable
47
+ space /L2..L5/n05 shop w:rest name:北区画05 use:rentable
48
+
49
+ # ---- 区画はモールに面して開く (自動ドア) ----
50
+ boundary /L2..L5/s01 /L2..L5/mall t:120 spec:店舗サッシ
51
+ door AD1
52
+ boundary /L2..L5/s02 /L2..L5/mall t:120 spec:店舗サッシ
53
+ door AD1
54
+ boundary /L2..L5/s03 /L2..L5/mall t:120 spec:店舗サッシ
55
+ door AD1
56
+ boundary /L2..L5/s04 /L2..L5/mall t:120 spec:店舗サッシ
57
+ door AD1
58
+ boundary /L2..L5/s05 /L2..L5/mall t:120 spec:店舗サッシ
59
+ door AD1
60
+ boundary /L2..L5/n01 /L2..L5/mall t:120 spec:店舗サッシ
61
+ door AD1
62
+ boundary /L2..L5/n02 /L2..L5/mall t:120 spec:店舗サッシ
63
+ door AD1
64
+ boundary /L2..L5/n03 /L2..L5/mall t:120 spec:店舗サッシ
65
+ door AD1
66
+ boundary /L2..L5/n04 /L2..L5/mall t:120 spec:店舗サッシ
67
+ door AD1
68
+ boundary /L2..L5/n05 /L2..L5/mall t:120 spec:店舗サッシ
69
+ door AD1
70
+ boundary /L2..L5/w01 /L2..L5/wgal t:120 spec:店舗サッシ
71
+ door AD1
72
+ boundary /L2..L5/w02 /L2..L5/wgal t:120 spec:店舗サッシ
73
+ door AD1
74
+ boundary /L2..L5/w03 /L2..L5/wgal t:120 spec:店舗サッシ
75
+ door AD1
76
+ boundary /L2..L5/w04 /L2..L5/wgal t:120 spec:店舗サッシ
77
+ door AD1
78
+ boundary /L2..L5/w05 /L2..L5/wgal t:120 spec:店舗サッシ
79
+ door AD1
80
+
81
+ # ---- 吹抜けの縁は手すり (遮蔽しない物 — air:1)、モールは吹抜けへ抜ける ----
82
+ boundary /L2..L5/mall /L2..L5/wgal type:open
83
+ boundary /L2..L5/wgal /L2..L5/atrium t:60 spec:手すり air:1 h:1100
84
+ boundary /L2..L5/s01 /L2..L5/atrium t:120 spec:店舗サッシ
85
+ boundary /L2..L5/n01 /L2..L5/atrium t:120 spec:店舗サッシ
86
+ boundary /L2..L5/bohW /L2..L5/atrium t:200 spec:RC
87
+
88
+ # ---- 所与の斜め: 隣地境界なりの隅切り ----
89
+ boundary /L2..L5/w05 /out t:300 spec:カーテンウォール
90
+ line X1,Y5+2000 X2,Y6
91
+ boundary /L2..L5/bohE /out t:300 spec:カーテンウォール
92
+ line X7+4000,Y6 X8,Y5+2000
93
+
94
+ # ---- コアとバックヤード ----
95
+ boundary /L2..L5/ncorr /L2..L5/hall type:open
96
+ boundary /L2..L5/ncorr /L2..L5/mall type:open
97
+ boundary /L2..L5/bohW /L2..L5/hall t:200 spec:RC
98
+ door FD2 name:バックヤード扉
99
+ boundary /L2..L5/bohE /L2..L5/hall t:200 spec:RC
100
+ door FD2 name:バックヤード扉2
101
+ boundary /L2..L5/wgal /L2..L5/es type:open
102
+ boundary /L2..L5/north /L2..L5/bohW t:200 spec:RC
103
+ door w:1200
104
+ boundary /L2..L5/north /L2..L5/bohE t:200 spec:RC
105
+ door w:1200
106
+
107
+ # ---- 外周 ----
108
+ boundary /L2..L5/w01 /out edge:W t:300 spec:カーテンウォール
109
+ window CW1
110
+ boundary /L2..L5/w02 /out edge:W t:300 spec:カーテンウォール
111
+ window CW1
112
+ boundary /L2..L5/w03 /out edge:W t:300 spec:カーテンウォール
113
+ window CW1
114
+ boundary /L2..L5/w04 /out edge:W t:300 spec:カーテンウォール
115
+ window CW1
116
+ boundary /L2..L5/w05 /out edge:W t:300 spec:カーテンウォール
117
+ boundary /L2..L5/w01 /out edge:S t:300 spec:カーテンウォール
118
+ boundary /L2..L5/wgal /out edge:S t:300 spec:カーテンウォール
119
+ boundary /L2..L5/wgal /out edge:N t:300 spec:カーテンウォール
120
+ boundary /L2..L5/atrium /out edge:S t:300 spec:カーテンウォール
121
+ boundary /L2..L5/atrium /out edge:N t:300 spec:カーテンウォール
122
+ boundary /L2..L5/s01 /out edge:S t:300 spec:カーテンウォール
123
+ window CW1
124
+ boundary /L2..L5/s02 /out edge:S t:300 spec:カーテンウォール
125
+ window CW1
126
+ boundary /L2..L5/s03 /out edge:S t:300 spec:カーテンウォール
127
+ window CW1
128
+ boundary /L2..L5/s04 /out edge:S t:300 spec:カーテンウォール
129
+ window CW1
130
+ boundary /L2..L5/s05 /out edge:S t:300 spec:カーテンウォール
131
+ window CW1
132
+ boundary /L2..L5/s05 /out edge:E t:300 spec:カーテンウォール
133
+ window CW1
134
+ boundary /L2..L5/n05 /out edge:E t:300 spec:カーテンウォール
135
+ window CW1
136
+ boundary /L2..L5/mall /out edge:E t:300 spec:カーテンウォール
137
+ boundary /L2..L5/bohE /out edge:E t:300 spec:カーテンウォール
138
+ boundary /L2..L5/bohW /out edge:N t:300 spec:カーテンウォール
139
+ boundary /L2..L5/bohE /out edge:N t:300 spec:カーテンウォール
140
+ boundary /L2..L5/north /out edge:N t:300 spec:カーテンウォール
@@ -0,0 +1,18 @@
1
+ # 敷地 — 所与のジオメトリ (ADR-0011) と外構。隔離レイヤー。
2
+ # 10頂点の角地。南と東に道路、北西と北東は隣地境界が斜めに折れる。
3
+ # この形は測量から来る「所与の線」であって、設計が引いた線ではない (ADR-0022 の三出自)。
4
+ # 基壇の外形が北西・北東で斜めに切られているのは、この所与の線に従った結果である。
5
+
6
+ zone /site name:敷地 site:1
7
+ polygon /site -6000,-8000 26000,-8000 34000,-11000 64000,-11000 68000,-5000 68000,22000 60000,34000 44000,48000 6000,48000 -6000,28000
8
+
9
+ space /out exterior name:外部
10
+ space /road-s exterior road:22000 name:南側道路
11
+ space /road-e exterior road:16000 name:東側道路
12
+ space /site/walk exterior X1..X8 Y1-6000..Y1 level:L1 name:歩道状空地
13
+ space /site/plaza exterior X1-4000..X1 Y1..Y6 level:L1 name:西側広場
14
+ space /site/east exterior X8..X8+6000 Y1..Y6 level:L1 name:東側歩道状空地
15
+
16
+ # 接道は「敷地と道路が接する長さ」— 建物の外壁が道路に面していても接道ではない
17
+ boundary /site/walk /road-s edge:S type:open
18
+ boundary /site/east /road-e edge:E type:open
@@ -1,6 +1,6 @@
1
1
  # 1階の層 — 分担の単位。室と庭の境界は実在の矩形同士から正確に導出される。
2
2
 
3
- space /home/ldk ldk X1..X2 Y1..Y3 + X2..X3 Y1..Y2 level:L1 name:LDK floor:オーク
3
+ space /home/ldk ldk X1..X2 Y1..Y3 + X2..X3 Y1..Y2 level:L1 name:LDK floor:オーク daylight:1
4
4
  space /home/hall1 hall X2..X3 Y2..Y3 level:L1 name:玄関・階段
5
5
 
6
6
  boundary /home/ldk /home/hall1 t:120 spec:LGS
@@ -1,6 +1,6 @@
1
1
  # 2階の層 — 上階の外壁は方角別のexteriorに面する。
2
2
 
3
- space /home/bed1 bedroom X1..X2 Y1..Y3 level:L2 name:主寝室
3
+ space /home/bed1 bedroom X1..X2 Y1..Y3 level:L2 name:主寝室 daylight:1
4
4
  space /home/void void X2..X3 Y1..Y2 level:L2 name:リビング上部
5
5
  space /home/hall2 hall X2..X3 Y2..Y3 level:L2 name:2階ホール
6
6
 
@@ -4,7 +4,7 @@
4
4
  # 合成時にコンフリクト (パス・アセット・グリッドの重複) が検査され、一棟としてビルドされる。
5
5
  # koyu check examples/house/main.muro がそのビルドの門番になる。
6
6
 
7
- koyu 0.3
7
+ koyu 0.5
8
8
  name 小さな戸建住宅
9
9
  unit mm
10
10
 
@@ -7,7 +7,7 @@
7
7
  # 敷地 = zone site:1 (宣言面積と導出面積を site コマンドが突き合わせる)。
8
8
  # L1の平面図はそのまま配置図兼用になる。
9
9
 
10
- koyu 0.3
10
+ koyu 0.5
11
11
  name 小さな戸建住宅
12
12
  unit mm
13
13
 
@@ -33,9 +33,9 @@ space /site/north yard X1..X3 Y3..Y3+1000 level:L1 name:北側通
33
33
 
34
34
  zone /home name:住戸 use:exclusive
35
35
 
36
- space /home/ldk ldk X1..X2 Y1..Y3 + X2..X3 Y1..Y2 level:L1 name:LDK floor:オーク
36
+ space /home/ldk ldk X1..X2 Y1..Y3 + X2..X3 Y1..Y2 level:L1 name:LDK floor:オーク daylight:1
37
37
  space /home/hall1 hall X2..X3 Y2..Y3 level:L1 name:玄関・階段
38
- space /home/bed1 bedroom X1..X2 Y1..Y3 level:L2 name:主寝室
38
+ space /home/bed1 bedroom X1..X2 Y1..Y3 level:L2 name:主寝室 daylight:1
39
39
  space /home/void void X2..X3 Y1..Y2 level:L2 name:リビング上部
40
40
  space /home/hall2 hall X2..X3 Y2..Y3 level:L2 name:2階ホール
41
41
 
@@ -4,7 +4,7 @@
4
4
  # 外部に対し open または air:1 (手すり等、遮蔽しない物) の境界を持つ空間として導出される)。
5
5
  # 基準階は一度だけ書く — /L2..L9/ のスパンが8フロアに展開される。
6
6
 
7
- koyu 0.3
7
+ koyu 0.5
8
8
  name 内廊下型集合住宅
9
9
  unit mm
10
10
 
@@ -49,6 +49,7 @@ boundary /L1/garbage /L1/trunk t:180 spec:RC
49
49
  boundary /L1/ev /L1/trunk t:200 spec:RC
50
50
  boundary /L1/ev /L1/common t:200 spec:RC
51
51
  boundary /L1/trunk /L1/common t:120 spec:LGS
52
+ door w:900 name:トランクルーム扉
52
53
 
53
54
  boundary /L1/hall /out t:200 spec:EW fire:60
54
55
  door w:1800 edge:S name:エントランス
@@ -68,18 +69,18 @@ boundary /L1/stair /out type:open # 地上階の屋外階段は外部へ直
68
69
  # Aタイプだけ間取りまで書く — 粒度は混在してよい。zone=数える集約 (ADR-0005)。
69
70
  # 住戸の専有面積はゾーンの集計として出る。LDKはL字 (領域は「+」で合併)
70
71
  zone /L2..L9/A name:Aタイプ use:exclusive
71
- space /L2..L9/A/ldk ldk X1+2600..X2 Y1..Y2-1800 + X1..X1+2600 Y1..Y1+1400 name:LDK
72
- space /L2..L9/A/bedroom bedroom X1..X1+2600 Y1+1400..Y2-1800 name:洋室
72
+ space /L2..L9/A/ldk ldk X1+2600..X2 Y1..Y2-1800 + X1..X1+2600 Y1..Y1+1400 name:LDK daylight:1
73
+ space /L2..L9/A/bedroom bedroom X1..X1+2600 Y1+1400..Y2-1800 name:洋室 daylight:1
73
74
  space /L2..L9/A/wet water X1..X1+3600 Y2-1800..Y2 name:水回り
74
75
  space /L2..L9/A/hall hall X1+3600..X2 Y2-1800..Y2 name:玄関廊下
75
76
  space /L2..L9/A/balcony balcony X1..X2 Y1-1400..Y1 name:バルコニー # 半屋外 — 専有面積に数えない
76
- space /L2..L9/B unit X2..X3 Y1..Y2 name:Bタイプ use:exclusive
77
- space /L2..L9/C unit X3..X4 Y1..Y2 name:Cタイプ use:exclusive
77
+ space /L2..L9/B unit X2..X3 Y1..Y2 name:Bタイプ use:exclusive daylight:1
78
+ space /L2..L9/C unit X3..X4 Y1..Y2 name:Cタイプ use:exclusive daylight:1
78
79
  space /L2..L9/corridor corridor X1..X4 Y2..Y3 name:内廊下 use:common
79
- space /L2..L9/D unit X1..X2 Y3..Y4 name:Dタイプ use:exclusive
80
- space /L2..L9/E unit X2+2600..X4 Y3..Y4 name:Eタイプ use:exclusive
80
+ space /L2..L9/D unit X1..X2 Y3..Y4 name:Dタイプ use:exclusive daylight:1
81
+ space /L2..L9/E unit X2+2600..X4 Y3..Y4 name:Eタイプ use:exclusive daylight:1
81
82
  space /L2..L9/ev ev X2..X2+2600 Y3..Y3+2600 name:EV use:common
82
- space /L2..L9/ps ps X2..X2+2600 Y3+2600..Y4 name:PS・MB use:common
83
+ space /L2..L9/ps shaft X2..X2+2600 Y3+2600..Y4 name:PS・MB use:common
83
84
  space /L2..L9/stair stair X1-2600..X1 Y2-600..Y3 name:屋外階段 use:common
84
85
 
85
86
  # --- Aタイプの間取り ---
@@ -117,8 +118,12 @@ boundary /L2..L9/E /L2..L9/ev t:200 spec:RC
117
118
  boundary /L2..L9/E /L2..L9/ps t:120 spec:LGS
118
119
  boundary /L2..L9/ev /L2..L9/ps t:200 spec:RC
119
120
 
121
+ # 掃き出しサッシは**引違い部 (door) と FIX部 (window) に分けて書く**。
122
+ # koyu の開口は通行 (door) か採光 (window) のどちらかで、一つの開口が両方を担うとは
123
+ # 言えない — 「窓しか無いバルコニーには出られない」が導出の答えになる (docs/horizon.md)
120
124
  boundary /L2..L9/A/ldk /L2..L9/A/balcony t:180 spec:EW fire:60
121
- window w:2600 h:2200 sill:0 name:掃き出し窓 # バルコニー越しの採光は0.7掛け
125
+ door w:1200 h:2200 at:X1+1400 name:掃き出し引違い
126
+ window w:2600 h:2200 sill:0 at:X1+4000 name:掃き出し窓 # バルコニー越しの採光は0.7掛け
122
127
  boundary /L2..L9/A/balcony /out t:120 spec:手すり air:1 h:1100
123
128
  boundary /L2..L9/A/ldk /out t:180 spec:EW fire:60
124
129
  boundary /L2..L9/A/bedroom /out t:180 spec:EW fire:60
@@ -139,13 +144,13 @@ boundary /L2..L9/ps /out t:180 spec:EW
139
144
  boundary /L2..L9/stair /out t:120 spec:手すり air:1 h:1100 # 物はあるが遮蔽しない → 半屋外
140
145
 
141
146
  # ============ 10階 — ペントハウス ============
142
- space /L10/1001 unit X1..X3 Y1..Y2 name:PH-A use:exclusive
143
- space /L10/1002 unit X3..X4 Y1..Y2 name:PH-B use:exclusive
147
+ space /L10/1001 unit X1..X3 Y1..Y2 name:PH-A use:exclusive daylight:1
148
+ space /L10/1002 unit X3..X4 Y1..Y2 name:PH-B use:exclusive daylight:1
144
149
  space /L10/corridor corridor X1..X4 Y2..Y3 name:内廊下 use:common
145
150
  space /L10/terrace terrace X1..X2 Y3..Y4 name:ルーフテラス use:common
146
- space /L10/1003 unit X2+2600..X4 Y3..Y4 name:PH-C use:exclusive
151
+ space /L10/1003 unit X2+2600..X4 Y3..Y4 name:PH-C use:exclusive daylight:1
147
152
  space /L10/ev ev X2..X2+2600 Y3..Y3+2600 name:EV use:common
148
- space /L10/ps ps X2..X2+2600 Y3+2600..Y4 name:PS・MB use:common
153
+ space /L10/ps shaft X2..X2+2600 Y3+2600..Y4 name:PS・MB use:common
149
154
  space /L10/stair stair X1-2600..X1 Y2-600..Y3 name:屋外階段 use:common
150
155
 
151
156
  boundary /L10/1001 /L10/1002 t:180 spec:RC fire:60 sound:D-50
@@ -2,7 +2,7 @@
2
2
  # 基本計画の解像度で書く。垂れ壁や建具詳細は表現しない — 省略ではなく抽象度の選択。
3
3
  # 高さの一貫性は level の宣言 (z / h / slab) と check の不変量が担保する。
4
4
 
5
- koyu 0.3
5
+ koyu 0.5
6
6
  name 小さなオフィス
7
7
  unit mm
8
8
 
@@ -2,7 +2,7 @@ grid X 0 3600 5400
2
2
  grid Y 0 4000
3
3
  level L1 0
4
4
 
5
- space /L1/ldk ldk X1..X2 Y1..Y2
5
+ space /L1/ldk ldk X1..X2 Y1..Y2 daylight:1
6
6
  space /L1/hall hall X2..X3 Y1..Y2
7
7
  space /out exterior
8
8
 
@@ -3,9 +3,9 @@ grid Y 0 4000
3
3
  level L1 0 h:2400
4
4
  level L2 2800 h:2400 slab:400
5
5
 
6
- space /L1/ldk ldk X1..X2 Y1..Y2
6
+ space /L1/ldk ldk X1..X2 Y1..Y2 daylight:1
7
7
  space /L1/hall hall X2..X3 Y1..Y2
8
- space /L2/bed bedroom X1..X2 Y1..Y2
8
+ space /L2/bed bedroom X1..X2 Y1..Y2 daylight:1
9
9
  space /L2/hall hall X2..X3 Y1..Y2
10
10
  space /out exterior
11
11
 
@@ -1,4 +1,4 @@
1
- koyu 0.3
1
+ koyu 0.5
2
2
  name 小さな家
3
3
 
4
4
  grid X 0 3600 5400
@@ -6,9 +6,9 @@ grid Y 0 4000
6
6
  level L1 0 h:2400
7
7
  level L2 2800 h:2400 slab:400
8
8
 
9
- space /L1/ldk ldk X1..X2 Y1..Y2 name:LDK floor:オーク
9
+ space /L1/ldk ldk X1..X2 Y1..Y2 name:LDK floor:オーク daylight:1
10
10
  space /L1/hall hall X2..X3 Y1..Y2 name:玄関ホール floor:タイル
11
- space /L2/bed bedroom X1..X2 Y1..Y2 name:寝室 floor:オーク
11
+ space /L2/bed bedroom X1..X2 Y1..Y2 name:寝室 floor:オーク daylight:1
12
12
  space /L2/hall hall X2..X3 Y1..Y2 name:階段ホール
13
13
  space /out exterior name:外部
14
14
 
@@ -1,8 +1,8 @@
1
1
  # 11階の層 — ペントハウス2住戸と共用ルーフテラス。
2
2
  # コア (階段・EV・内廊下) は typical.muro の L3..L11 スパンが供給する。
3
3
 
4
- space /L11/PA unit X1..X3+3200 Y1..Y2 name:ペントハウスA use:exclusive
5
- space /L11/PB unit X3+3200..X6 Y1..Y2 name:ペントハウスB use:exclusive
4
+ space /L11/PA unit X1..X3+3200 Y1..Y2 name:ペントハウスA use:exclusive daylight:1
5
+ space /L11/PB unit X3+3200..X6 Y1..Y2 name:ペントハウスB use:exclusive daylight:1
6
6
  space /L11/bPA balcony X1..X3+3200 Y1-1500..Y1 name:バルコニーPA
7
7
  space /L11/bPB balcony X3+3200..X6 Y1-1500..Y1 name:バルコニーPB
8
8
  space /L11/roof terrace X1+3200..X4 Y3..Y4 name:共用ルーフテラス use:common
@@ -15,10 +15,12 @@ boundary /L11/PA /L11/corridor t:180 spec:RC
15
15
  boundary /L11/PB /L11/corridor t:180 spec:RC
16
16
  door D1 at:X5 name:PB玄関
17
17
  boundary /L11/PA /L11/bPA t:100 spec:サッシ
18
+ door BD1 at:X1+800 name:掃き出し引違い
18
19
  window W1 at:X1+3200
19
20
  window W1 at:X2+3200
20
21
  window W2 at:X3+1200
21
22
  boundary /L11/PB /L11/bPB t:100 spec:サッシ
23
+ door BD1 at:X4+3200 name:掃き出し引違い
22
24
  window W1 at:X4
23
25
  window W1 at:X5
24
26
  window W2 at:X5+4800
@@ -53,6 +53,8 @@ boundary /L2/s3 /out/w edge:W t:200 spec:RC
53
53
  window W2
54
54
  boundary /L2/corridor /out/w edge:W t:200 spec:RC
55
55
  window W2
56
+ boundary /L2/corridor /out/road-e edge:E t:200 spec:RC
57
+ window W2
56
58
  boundary /L2/st2 /out/w edge:W t:200 spec:RC
57
59
  window W2
58
60
  boundary /L2/void /out/road-e edge:E t:100 spec:カーテンウォール
@@ -7,15 +7,18 @@ space /L3/tB terrace X3..X4+3200 Y1-4600..Y1 name:テラスB
7
7
  space /L3/tC terrace X4+3200..X6 Y1-4600..Y1 name:テラスC
8
8
 
9
9
  boundary /L3/A/ldk /L3/tA t:100 spec:サッシ
10
+ door BD1 at:X2+2400 name:掃き出し引違い
10
11
  window W1 at:X2 name:掃き出し
11
12
  window W3 at:X2+4800
12
13
  boundary /L3/A/bed2 /L3/tA t:100 spec:サッシ
13
14
  window W2
14
15
  boundary /L3/B /L3/tB t:100 spec:サッシ
16
+ door BD1 at:X4+2400 name:掃き出し引違い
15
17
  window W1 at:X3+1600
16
18
  window W1 at:X4-1600
17
19
  window W2 at:X4+800
18
20
  boundary /L3/C /L3/tC t:100 spec:サッシ
21
+ door BD1 at:X4+4400 name:掃き出し引違い
19
22
  window W1 at:X5
20
23
  window W1 at:X5+3200
21
24
 
@@ -7,6 +7,7 @@ asset D1 door w:900 h:2100 style:hinged name:住戸玄関ドア
7
7
  asset FD1 door w:900 h:2000 style:hinged fire:特定防火設備 name:防火戸
8
8
  asset SD1 door w:800 h:2000 style:sliding name:片引き戸
9
9
 
10
+ asset BD1 door w:1200 h:2200 style:sliding name:掃き出し引違い戸 # 掃き出しサッシの引違い部 — 人が出る
10
11
  asset W1 window w:2600 h:2200 sill:0 name:掃き出し窓
11
12
  asset W2 window w:1650 h:1100 sill:900 name:腰窓
12
13
  asset W3 window w:2600 h:1100 sill:1100 name:高窓
@@ -5,7 +5,7 @@
5
5
  # L1-L2 商業 / L3-L10 住宅基準階 (L3は低層部屋根のテラス付き例外階) / L11 ペントハウス
6
6
  # koyu check examples/tower/main.muro が一棟のビルドの門番。
7
7
 
8
- koyu 0.3
8
+ koyu 0.5
9
9
  name 街角の複合ビル — 低層商業+高層住宅
10
10
  unit mm
11
11
 
@@ -5,23 +5,23 @@
5
5
 
6
6
  zone /L3..L10/A name:Aタイプ use:exclusive
7
7
 
8
- space /L3..L10/A/ldk ldk X1+3200..X2+3200 Y1..Y1+4000 + X2+3200..X3 Y1..Y1+2400 name:LDK floor:オーク
8
+ space /L3..L10/A/ldk ldk X1+3200..X2+3200 Y1..Y1+4000 + X2+3200..X3 Y1..Y1+2400 name:LDK floor:オーク daylight:1
9
9
  # 帯 (ADR-0019): 位置ではなく寸法と並びを書き、位置は導出させる。
10
10
  # 西列を南から (洋室2 2400 / 洋室1 3200)、玄関側の帯を西から (水回り 4800 / 玄関 1600)。
11
11
  # どちらも「閉じた帯」— 合計が帯幅と一致することを parse が照合する (寸法の打ち間違いの検算)。
12
12
  band Y X1..X1+3200 Y1..Y2
13
- space /L3..L10/A/bed2 bedroom w:2400 name:洋室2
14
- space /L3..L10/A/bed1 bedroom w:3200 name:洋室1
13
+ space /L3..L10/A/bed2 bedroom w:2400 name:洋室2 daylight:1
14
+ space /L3..L10/A/bed1 bedroom w:3200 name:洋室1 daylight:1
15
15
 
16
16
  band X X1+3200..X2+3200 Y1+4000..Y2
17
17
  space /L3..L10/A/wet wet w:4800 name:水回り
18
18
  space /L3..L10/A/hall hall w:1600 name:玄関
19
19
 
20
- space /L3..L10/B unit X3..X4+3200 Y1..Y2 + X2+3200..X3 Y1+2400..Y2 name:Bタイプ use:exclusive
21
- space /L3..L10/C unit X4+3200..X6 Y1..Y2 name:Cタイプ use:exclusive
22
- space /L3..L10/D unit X1+3200..X2+3200 Y3..Y4 name:Dタイプ use:exclusive
23
- space /L3..L10/E unit X2+3200..X4 Y3..Y4 name:Eタイプ use:exclusive
24
- space /L3..L10/F unit X4+3200..X5+3200 Y3..Y4 name:Fタイプ use:exclusive
20
+ space /L3..L10/B unit X3..X4+3200 Y1..Y2 + X2+3200..X3 Y1+2400..Y2 name:Bタイプ use:exclusive daylight:1
21
+ space /L3..L10/C unit X4+3200..X6 Y1..Y2 name:Cタイプ use:exclusive daylight:1
22
+ space /L3..L10/D unit X1+3200..X2+3200 Y3..Y4 name:Dタイプ use:exclusive daylight:1
23
+ space /L3..L10/E unit X2+3200..X4 Y3..Y4 name:Eタイプ use:exclusive daylight:1
24
+ space /L3..L10/F unit X4+3200..X5+3200 Y3..Y4 name:Fタイプ use:exclusive daylight:1
25
25
 
26
26
  space /L3..L11/corridor corridor X1..X6 Y2..Y3 + X4..X4+3200 Y3..Y3+3200 name:内廊下 use:common
27
27
  space /L3..L11/st2 stair X1..X1+3200 Y3..Y4 name:西階段 use:common
@@ -79,16 +79,23 @@ boundary /L3..L10/F /L3..L10/ev t:180 spec:RC
79
79
  boundary /L3..L10/F /L3..L10/st1 t:180 spec:RC
80
80
 
81
81
  # ---- バルコニー (L4..L10): サッシは窓、外は手すり (air:1)、隣とは隔て板 ----
82
+ #
83
+ # 掃き出しサッシは**引違い部 (door) と FIX部 (window) に分けて書く**。
84
+ # koyu の開口は通行 (door) か採光 (window) のどちらかで、一つの開口が両方を担うとは
85
+ # 言えない — 「窓しか無いバルコニーには出られない」が導出の答えになる (docs/horizon.md)。
82
86
  boundary /L4..L10/A/ldk /L4..L10/bA t:100 spec:サッシ
83
- window W1 at:X2 name:掃き出し
87
+ door BD1 at:X2+2400 name:掃き出し引違い
88
+ window W1 at:X2 name:掃き出しFIX
84
89
  window W3 at:X2+4800
85
90
  boundary /L4..L10/A/bed2 /L4..L10/bA t:100 spec:サッシ
86
91
  window W2
87
92
  boundary /L4..L10/B /L4..L10/bB t:100 spec:サッシ
93
+ door BD1 at:X4+2400 name:掃き出し引違い
88
94
  window W1 at:X3+1600
89
95
  window W1 at:X4-1600
90
96
  window W2 at:X4+800
91
97
  boundary /L4..L10/C /L4..L10/bC t:100 spec:サッシ
98
+ door BD1 at:X4+4400 name:掃き出し引違い
92
99
  window W1 at:X5
93
100
  window W1 at:X5+3200
94
101
  boundary /L4..L10/bA /L4..L10/bB t:60 spec:隔て板 air:1