export_file
Export Rhino 3D models to STL for 3D printing, STEP for CAD, or 3DM native format, with options to save all objects or selected ones.
Instructions
导出文件,按扩展名决定格式:.stl(3D 打印)/.step(工业 CAD)/.3dm(Rhino 原生)。
path: 保存路径。不知道确切路径时必须省略、不要传,用默认桌面 base.stl;
绝不要自己拼造 C:\Users\某用户名\... 这类路径(v0.3.0 真机出现过模型
编造用户名导致导出失败)。只有用户明确给了完整路径时才传 path。
object_ids 不填则导出全部对象(.3dm 始终保存整个文档副本)。Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| object_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |