Closed agrignard closed 2 years ago
I support this request. May be at the "new" layout level ?
experiment
no of course, but probably at the output
level. Or layout
. But in that case, it would save all the views (incl. monitors, parameters, etc.) using a simple call to Robot.createScreenCapture()
. Nothing more than the average screen capture you can take with your computer, only difference being that it is synchronised with the simulation cycles.
@AlexisDrogoul yes this will be helpful and the output level and easier to produce videos/timelapses (e.g for the comokit example). Something not very possible with the default screen capture of the mac that is indeed not sync with the simulation.
I've pushed a simple implementation for this. The autosave:
facet is added to output
and accepts either a bool
or a string
(file name, which can be dynamic, i.e. evolve with the cycle, etc.).
Tested!
Is your request related to a problem? Please describe. We currently have the possibility to autosave a picture for a given display using the facet
autosave
. However more and more several displays are used in the same experiment (e.g with Comokit)Describe the solution you'd like I was wondering if it would make sense (and if it's sounds doable) to have an
autosave
facet at theexperiment
levelDescribe alternatives you've considered If not possible it's always possible to save every display one by one and reconstruct the full experiment by hand but this facte would save lots of time
Additional context Add any other context or screenshots about the feature request here.