geom_export
Exports COMSOL geometry objects to CAD or mesh files (STL, STEP, IGES, DXF, ACIS) and returns the output file path, size, and existence confirmation.
Instructions
Export geometry objects to a CAD/mesh file (STL, STEP, IGES, DXF, ACIS...).
Args: export_type: stl | stlascii | step | iges | dxf | acisbin | acisascii | parasolidbin | parasolidascii | nativebin | nativeascii. (VTK/3MF are not supported by COMSOL geometry export.) path: output file path; when omitted the file goes to the artifact workspace with an automatic name. objects: geometry object names to export (None = current objects). geometry: geometry sequence tag (default "geom1"). model: model name/tag (None = current model). Returns the absolute file path, size and confirmed existence.
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": "geom_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| model | No | ||
| objects | No | ||
| geometry | No | geom1 | |
| export_type | No | stl |