Export geometry of B737 tutorial to OpenVSP

108 views
Skip to first unread message

m.lue...@live.de

unread,
Jan 7, 2019, 9:41:53 AM1/7/19
to SUAVE FORUM
Hello,

I want to export the SUAVE geometry to OpenVSP for the B737 tutorial.Therefore I added the following line to the main routine:

# plot geometry
vsp_write.write(configs.base,'test')

with adding the following line beforehand:

from SUAVE.Input_Output.OpenVSP import  vsp_write

This results in:

"VSP import failed"

What do I do wrong here?
Any help is appreciated!
Thanks a lot.

Cheers,

mldmnn

Tim MacDonald

unread,
Jan 7, 2019, 1:20:17 PM1/7/19
to SUAVE FORUM
Hi,

This indicates that the call to import OpenVSP failed, meaning that OpenVSP API wasn't compiled in a way that is compatible with the version of Python you're using, or is not in the Python path. 

This often happens when the wrong version of Python is used when compiling OpenVSP, but there are several potential issues. This isn't a SUAVE-specific error, so you should direct further questions to the OpenVSP forum. You can test if OpenVSP will import generally by running "import vsp" in a Python shell.

Tim

m.lue...@live.de

unread,
Jan 9, 2019, 10:03:36 AM1/9/19
to SUAVE FORUM
Will check this. Thanks a lot!
Reply all
Reply to author
Forward
0 new messages