inspire_export_optistruct
Export an OptiStruct .fem input deck from a headless Inspire model for its parts and given load cases without running the solver; existing output files are not overwritten.
Instructions
Open a model in headless Inspire and export an OptiStruct input deck (.fem) for its parts and the given load cases (default: all), using inspire.OptiStructAnalysis.export. element_size_m is in metres. Refuses to overwrite an existing output file. Does not run the solver. Export happens in an ASCII-only staging folder and the .fem is then copied to output_fem (Inspire 2026 export hangs on non-ASCII output paths).
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": {
"model_path": "<model_path>",
"output_fem": "<output_fem>"
},
"name": "inspire_export_optistruct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_name | No | ||
| timeout_s | No | ||
| load_cases | No | ||
| model_path | Yes | ||
| output_fem | Yes | ||
| element_size_m | No |