- This topic has 2 replies, 2 voices, and was last updated 8 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] Take a screenshot automatically with SofaPython
Tagged: 64_bits, Linux_ubuntu, SOFA_1608, SofaPython screenshot
Hi there,
I need to run a serie of parametrized simulations in sofa, that I will launch with sofaPython. These simulations must generate a screenshot. I know I can do that fron runsofa (by pressing “S”), but could it be triggered automatically from SofaPython?
Thanks in advance =)
Hi Bruno,
To the best of my knowledge, screenshots were always triggered from the GUI. To do automatic screenshots, you would need to either modify the GUI or create a specific component implementing sofa::helper::gl::Capture capture; (BaseViewer l.158).
Let us know about your progress.
Best,
Hugo
Thank you Hugo,
I found a workaround for now (triggering scrot, a screenshooter utility) from python.
Though I think it can be a very usefull feature to add in Sofa. I will probably create a component for this in a near future 😉
Cheers,
Bruno
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.