discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Feature request: [PAUSE] button for animation

MF
Michael Frey
Wed, Apr 27, 2022 4:00 PM

On 27.04.22 07:28, Curt McDowell wrote:

Hi Michael,

Since you appear to be enthusiastic about taking this forward, I'd
like to suggest there should be VCR-style buttons next to the
animation input boxes:

The functions of these buttons would be:

  Move to beginning (frame = 0)
  Single step backward
  Resume animation
  Pause animation
  Single step forward
  Move to end (frame = steps-1)

respectively, where every button except Resume first stops animation
if it's in progress.

Regards,
Curt

The current progress can be seen in
https://github.com/openscad/openscad/pull/4237

I do not want to add new features "for the mean time", as making it a
dockable widget already is quite a bit of an infrastructure change.

Now that it is dockable and flexible in size, it is now possible to have
button that only show up conditionally.

But: I would like to have does features in a separate merge request.

(moving the code will have the benefit that it is easier to tweak the UI)

I like these ideas "for going forward"/"long therm goal", but currently,
this is "out of scope".

I will also map the buttons to the input driver.

Also note: If I follow the VCR style, the buttons will most likely be
below the inputs.

Move to end had me puzzled for a moment - my animations tend to be
cyclic, but offcourse: creating non-cycling animations like an
"exploding assembly" is totally valid.

With Kind regards,

Michael Frey

On 27.04.22 07:28, Curt McDowell wrote: > > Hi Michael, > > Since you appear to be enthusiastic about taking this forward, I'd > like to suggest there should be VCR-style buttons next to the > animation input boxes: > > The functions of these buttons would be: > >   Move to beginning (frame = 0) >   Single step backward >   Resume animation >   Pause animation >   Single step forward >   Move to end (frame = steps-1) > > respectively, where every button except Resume first stops animation > if it's in progress. > > Regards, > Curt > The current progress can be seen in https://github.com/openscad/openscad/pull/4237 I do not want to add new features "for the mean time", as making it a dockable widget already is quite a bit of an infrastructure change. Now that it is dockable and flexible in size, it is now possible to have button that only show up conditionally. But: I would like to have does features in a separate merge request. (moving the code will have the benefit that it is easier to tweak the UI) I like these ideas "for going forward"/"long therm goal", but currently, this is "out of scope". I will also map the buttons to the input driver. Also note: If I follow the VCR style, the buttons will most likely be below the inputs. Move to end had me puzzled for a moment - my animations tend to be cyclic, but offcourse: creating non-cycling animations like an "exploding assembly" is totally valid. With Kind regards, Michael Frey