openvsp.create_model
Creates a new .vsp3 OpenVSP model without an input file, using the simple_aircraft template or trusted AngelScript, and saves model, script, log, and manifest in a unique run directory.
Instructions
Create a new .vsp3 model from the four-component simple_aircraft template or custom trusted AngelScript, without an input model. Runs OpenVSP and retains the model, script, log and manifest in a unique directory under output_dir; no VSPAERO solve. Use openvsp.modify to edit an existing source model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | New model template and output settings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timings | No | Measured operation phase durations in seconds; available phase keys depend on execution. | |
| log_path | Yes | Absolute path to the retained OpenVSP process log. | |
| versions | No | Package version, MCP SDK version and package SHA-256, with observed native versions when available. Package identity changes on source/metadata updates. | |
| warnings | No | Reference/unit/atmospheric consistency warnings and omitted undefined ratios; no automatic corrections. | |
| artifacts | No | Mapping of run-relative artifact names to absolute file paths; files remain after the call. | |
| operation | No | Executed operation: create, modify, preview, preflight or run_vspaero; reflects the enforced operation rather than the legacy input flag. | run_vspaero |
| preflight | No | Selected thick/thin geometry IDs and requested settings when preflight ran; empty otherwise. Does not certify mesh quality. | |
| result_path | No | Absolute path to the solver .adb result; null for operations without a VSPAERO solve. | |
| script_path | Yes | Absolute path to the retained AngelScript automation script. | |
| coefficients | No | Native polar column names and finite unscaled values for a verified solve; empty otherwise. Undefined ratios are omitted with reasons in numerical_quality.unavailable_coefficients. Includes condition columns; AoA/Beta are degrees and Re/1e6 is Reynolds in millions. | |
| geometry_path | Yes | Absolute path to the validated model saved in the run directory, including for source-replacing edits. | |
| manifest_path | Yes | Absolute path to this operation's manifest.json; pass as manifest_file to openvsp.read_results. | |
| run_directory | Yes | Absolute path to the unique persistent directory containing this operation's artifacts. | |
| analysis_inputs | No | Requested analysis settings for solve/preflight, including defaults; empty for other operations. Units follow VSPAeroSettings and no conversion is applied. | |
| parameter_values | No | Final native readback values keyed by edited parameter ID; native units, empty when no parameters were edited. | |
| numerical_quality | No | Observed iteration-history diagnostics for a solve; convergence is not_assessed and mesh study not_performed. Empty for non-solver operations. | |
| effective_settings | No | Verified solver-file values and observed CPU-thread information for a solve; empty before solving. Separate from requested analysis_inputs. |