aerosandbox.geometry.openvsp_io.asb_to_openvsp._utilities
#
Module Contents#
Functions#
|
Wraps the internal parts of a VSPScript file with a main() function. |
Attributes#
- aerosandbox.geometry.openvsp_io.asb_to_openvsp._utilities.wrap_script(script, set_geom_draw_type_to_shade=True)[source]#
Wraps the internal parts of a VSPScript file with a main() function.
- Example:
>>> print(wrap_script("hello
- world”))
// This file was automatically generated by AeroSandbox 4.2.0 // using syntax tested on OpenVSP 3.36.0.
void main() {
hello world
}
- Args:
script: The script to wrap.
Returns: The script, wrapped with a main() function.
- Parameters:
script (str) –
set_geom_draw_type_to_shade (bool) –
- Return type:
str