Cityengine Parse Cga
cityengine_parse_cga用 CityEngine 官方引擎解析 CGA 规则源码,生成三维模型(GLB)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cga_source": "<cga_source>"
},
"name": "cityengine_parse_cga"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | 随机种子(固定后可复现)。 | |
| timeout_s | No | ||
| attributes | No | CGA attr 覆盖,如 {"height": 30}(键须在规则 attr 声明内)。 | |
| cga_source | Yes | CGA 规则源码全文。 | |
| output_dir | No | ||
| download_glb | No | ||
| initial_shape | No | 初始地块多边形 {"type":"Polygon","pts":[[x,z],...]},米制。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||