- Thank you received: 0
Netgen snapshot from python
7 years 2 months ago #183
by janfp
Netgen snapshot from python was created by janfp
Hi,
in netgen, there is the posibility to save a snapshot as jpg.
Can I also use this in a python script?
thx,
Jan
in netgen, there is the posibility to save a snapshot as jpg.
Can I also use this in a python script?
thx,
Jan
7 years 2 weeks ago #245
by Karatza
Replied by Karatza on topic Netgen snapshot from python
Hi, Jan yes, in the menu <<File>> you will see the choice <<Snapshot...>> otherwise maybe a snapshot from your keyboard (button PrtScn) would possibly work for you? It depends from what quality and for what reason you want use it, best M.
7 years 1 week ago #253
by cwinters
Replied by cwinters on topic Netgen snapshot from python
Hi Jan,
there is a "SnapShot" function available (since November 9th).
If you run your python script with Netgen, you can use it the following way:
Best regards
Christoph
there is a "SnapShot" function available (since November 9th).
If you run your python script with Netgen, you can use it the following way:
Code:
import ngsolve.internal
ngsolve.internal.SnapShot("foo.bmp")
Best regards
Christoph
Time to create page: 0.116 seconds