webgui

11 months 5 days ago #2847 by matthiash
Hi Guosheng,

Q1: That's a good point. The Draw() function handles some arguments already (like min, max draw_surf, draw_vol). We still need to think about an interface to expose other settings (like camera, clipping plane etc.)

Q2: That's already work in progress and will be merged within the next days.

Best,
Matthias

Please Log in or Create an account to join the conversation.

11 months 4 days ago #2853 by Guosheng Fu
Hi Matthias,

Cool!
Another feature I would like to have is the ability to adjust bounding box size of the gui, like in matplotlib, we can do
plt.rcParams['figure.figsize'] = (10.0, 8.0) # set default size of plots
The current default size might not be optimal. e.g. the example below on a slightly stretched domain, it has quit large empty white spaces:
[
Best,
Guosheng
Attachments:

Please Log in or Create an account to join the conversation.

10 months 2 weeks ago - 10 months 2 weeks ago #2915 by ddrake
This is great! I just tested it in Mac OS (High Sierra) and Ubuntu 20.04. I will try to test soon in Windows...

Best,
Dow

ps. I assume this is based heavily on the new ngsgui -- will it be able to support ngsgui plugins like the 'tents_visualization' ?

Please Log in or Create an account to join the conversation.

8 months 6 days ago #3131 by Manuel Sanchez
Hi,

I think it is great!

One thing I couldn't figure out is if the webgui can be updated by the command ReDraw to generate a short animation as in the wave DG tutorial. Is this possible?

Please Log in or Create an account to join the conversation.

8 months 6 days ago #3132 by joachim
Hi,

see the Navier-Stokes tutorial:

ngsolve.org/docu/latest/i-tutorials/wta/navierstokes.html

scene = Draw(gfu...)
...
scene.Redraw()

Please Log in or Create an account to join the conversation.

8 months 6 days ago #3133 by Manuel Sanchez
Thanks. it works great.

Please Log in or Create an account to join the conversation.

© 2019 Netgen/NGSolve