@kensnzk/koyu 0.14.0 → 0.15.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.
- package/README.ja.md +2 -0
- package/README.md +2 -0
- package/dist/mcp.js +1 -1
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +7 -1
- package/dist/model.js.map +1 -1
- package/examples/twin/L1.muro +136 -119
- package/examples/twin/L5.muro +85 -123
- package/examples/twin/assets.muro +10 -8
- package/examples/twin/basement.muro +43 -34
- package/examples/twin/core.muro +148 -65
- package/examples/twin/hotel.muro +66 -107
- package/examples/twin/main.muro +72 -66
- package/examples/twin/office.muro +87 -88
- package/examples/twin/podium.muro +309 -97
- package/examples/twin/residence.muro +61 -116
- package/examples/twin/site.muro +16 -13
- package/package.json +1 -1
- package/src/mcp.ts +1 -1
- package/src/model.ts +8 -1
package/examples/twin/site.muro
CHANGED
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
# 敷地と外構 — 隔離レイヤー (ADR-0011)
|
|
2
2
|
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# 14頂点の不整形。三方が道路で、北西が隣地。建蔽率62%の残り38%が公開空地になる —
|
|
7
|
-
# この規模の容積を積むには総合設計の上乗せが要るので、広場は制度の裏づけでもある。
|
|
3
|
+
# 14頂点の不整形、23,167㎡。基壇は敷地の南半分に寄せ、**北半分は広場と緑地**にする —
|
|
4
|
+
# この規模の容積を積む再開発は、公開空地が制度の裏づけになる (総合設計・都市再生特区)。
|
|
5
|
+
# 基壇の四隅の斜めは、この敷地の辺の振れをそのまま建物に写した隅切りである。
|
|
8
6
|
|
|
9
|
-
# 外部そのもの — 領域を持たない。地下の土圧壁や機械階のルーバーが面する先である
|
|
10
7
|
space /out exterior name:外部
|
|
11
8
|
|
|
12
9
|
zone /site name:敷地 site:1 area:23167.40
|
|
13
10
|
|
|
14
11
|
polygon /site 0,24000 14000,6000 46000,0 92000,3000 126000,0 158000,9000 168000,38000 164000,80000 168000,118000 152000,144000 104000,151200 58000,149000 16000,142000 0,100000
|
|
15
12
|
|
|
16
|
-
# 道路 (接道は導出される — 幅員は road: が言う)
|
|
17
13
|
space /road-s exterior X1..X21 Y1-22000..Y1 level:L1 name:南側道路 road:25000
|
|
18
14
|
space /road-e exterior X21..X21+18000 Y1..Y19 level:L1 name:東側道路 road:18000
|
|
19
15
|
space /road-n exterior X1..X21 Y19..Y19+16000 level:L1 name:北側道路 road:16000
|
|
20
16
|
|
|
21
|
-
#
|
|
22
|
-
space /site/plazaS exterior
|
|
23
|
-
space /site/plazaE exterior X19..X21
|
|
24
|
-
space /site/
|
|
25
|
-
space /site/
|
|
17
|
+
# 外構。北の大きな広場が公開空地の主体
|
|
18
|
+
space /site/plazaS exterior X2..X19 Y1..Y4 level:L1 name:南側広場
|
|
19
|
+
space /site/plazaE exterior X19..X21 Y1..Y12 level:L1 name:東側広場
|
|
20
|
+
space /site/plazaW exterior X1..X2 Y1..Y12 level:L1 name:西側広場
|
|
21
|
+
space /site/green exterior X1..X21 Y12..Y19 level:L1 name:北側広場・緑地
|
|
26
22
|
|
|
27
23
|
boundary /site/plazaS /road-s type:open
|
|
28
24
|
boundary /site/plazaE /road-e type:open
|
|
29
|
-
boundary /site/
|
|
25
|
+
boundary /site/green /road-n type:open
|
|
26
|
+
boundary /site/green /road-e type:open
|
|
27
|
+
boundary /site/plazaE /road-s type:open
|
|
28
|
+
boundary /site/plazaW /road-s type:open
|
|
29
|
+
boundary /site/plazaS /site/plazaE type:open
|
|
30
|
+
boundary /site/plazaS /site/plazaW type:open
|
|
31
|
+
boundary /site/green /site/plazaE type:open
|
|
32
|
+
boundary /site/green /site/plazaW type:open
|
package/package.json
CHANGED
package/src/mcp.ts
CHANGED
|
@@ -327,7 +327,7 @@ function handle(msg: Json): void {
|
|
|
327
327
|
result(id, {
|
|
328
328
|
protocolVersion: (params.protocolVersion as string) ?? "2025-06-18",
|
|
329
329
|
capabilities: { tools: {} },
|
|
330
|
-
serverInfo: { name: "koyu", version: "0.
|
|
330
|
+
serverInfo: { name: "koyu", version: "0.15.0" },
|
|
331
331
|
instructions:
|
|
332
332
|
"空間一次の建築記述koyuのサーバー。model_summaryで建物を掴み、layersで原本 (.muroレイヤー群) を読み、" +
|
|
333
333
|
"write_layerで編集する。checkが一棟のビルドの門番 — エラーは出所レイヤー:行つきで返る。" +
|
package/src/model.ts
CHANGED
|
@@ -425,7 +425,14 @@ export function columnSites(
|
|
|
425
425
|
): Array<{ x: number; y: number; grid: string }> {
|
|
426
426
|
if (!c.levels.includes(level)) return [];
|
|
427
427
|
const floors = [...model.spaces.values()].filter(
|
|
428
|
-
(s) =>
|
|
428
|
+
(s) =>
|
|
429
|
+
s.level === level &&
|
|
430
|
+
s.type !== "exterior" &&
|
|
431
|
+
s.type !== "void" &&
|
|
432
|
+
s.rects.length > 0 &&
|
|
433
|
+
// 空しか支えない床には柱を立てない (ADR-0030): 半屋外で上に床も無い
|
|
434
|
+
// 屋上庭園・テラスは、柱が持ち上げるものを持たない
|
|
435
|
+
!(isSemiOutdoor(model, s) && !isCoveredAbove(model, s)),
|
|
429
436
|
);
|
|
430
437
|
if (floors.length === 0) return [];
|
|
431
438
|
const xs = model.grid.X.names
|