geo_export
Export Houdini geometry to a file atomically, supporting bgeo and related formats. Validates extensions, prevents unwanted overwrites, and cleans up on failure.
Instructions
translator 驱动的原子几何导出 (add-geometry-export-and-measure,NO_UNDO)。
- ``format`` 接受 ``bgeo / bgeo.gz / bgeo.lzma / bgeo.bz2 / geo``
(H21+ 实机 ``geo.saveToFile`` 验证)。
- ``output_path`` 扩展名必须与 format 匹配;不匹配返回
``extension_mismatch``。
- 临时文件 ``fsync`` + ``os.replace`` 原子覆盖;``overwrite=False``
且目标存在返回 ``target_exists``;失败清理临时文件。
- 落盘副作用不进 Houdini undo group;响应过 server 端
``apply_response_cap``。
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": {
"ctx": "<ctx>",
"node_path": "<node_path>",
"format": "<format>",
"output_path": "<output_path>"
},
"name": "geo_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| format | Yes | ||
| node_path | Yes | ||
| overwrite | No | ||
| output_path | Yes |