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).
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 |