- Thank you received: 0
Netgen snapshot from python
7 years 1 month 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
6 years 11 months 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.
6 years 11 months 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.103 seconds