Skip to content

How save a drawing from vlm? #105

Answered by peterdsharpe
harutidmore asked this question in Q&A
Discussion options

You must be logged in to vote

asb.VortexLatticeMethod.draw() will return a PyVista Plotter object, which can then be used to save a screenshot:

vlm = asb.VortexLatticeMethod(...)
aero = vlm.run()
plotter = vlm.draw(show=False)

plotter.save_graphic(filename='drawing.svg')

See the PyVista Plotter docs for more options!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by peterdsharpe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants