I've not paid much attention to Animations until today. I did a few of
them without issue, but the latest video takes over 5 minutes to compute
each frame, and this is causing problems (aside from how long it takes
to generate the frames).
When I select Animation from the View menu, it appears that the next
frame is calculated immediately. By which I mean, OpenSCAD freezes for
5 minutes. After that the Animation panel should show up. I can then
click on Dump Pictures (having already wasted 5 minutes and one frame),
but nothing will happen for another 5 minutes. And it is hard to tell
how long to wait before I try to click Dump Pictures again. I've ended
up turning it on and then off by accident because of all of the lags.
It would be better, for me, if there was a separate Start Animation
button, and another Stop Animation button. Just getting things started
has taken me over 30 minutes, and I am honestly not sure if it has
started properly or not.
Am I missing something, or is this feature awkward to use?
Jon
I think animations can be annoying when the computation time isn't very
quick. I'm thinking you run from the command line to generate each frame
as a saved image file and then built your animation from the sequence of
frames thus produced.
On Tue, Feb 28, 2023 at 8:04 PM jon jon@jonbondy.com wrote:
I've not paid much attention to Animations until today. I did a few of
them without issue, but the latest video takes over 5 minutes to compute
each frame, and this is causing problems (aside from how long it takes
to generate the frames).
When I select Animation from the View menu, it appears that the next
frame is calculated immediately. By which I mean, OpenSCAD freezes for
5 minutes. After that the Animation panel should show up. I can then
click on Dump Pictures (having already wasted 5 minutes and one frame),
but nothing will happen for another 5 minutes. And it is hard to tell
how long to wait before I try to click Dump Pictures again. I've ended
up turning it on and then off by accident because of all of the lags.
It would be better, for me, if there was a separate Start Animation
button, and another Stop Animation button. Just getting things started
has taken me over 30 minutes, and I am honestly not sure if it has
started properly or not.
Am I missing something, or is this feature awkward to use?
Jon
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I took one look at the documentation for the command line, and gave up.
Each option just says "-option arg" with almost no hint at what the arg
means or how it is formatted.
I succeeded in getting things started as follows. I loaded my code and
commented out the main call to invoke the main module. I then turned on
Animation, set up the animation (which was now running instantaneously),
turned Animation off, fixed my code, and then started Animation again.
It will take about 16 hours to run, so I will see it in the morning.
Jon
On 2/28/2023 8:07 PM, Adrian Mariano wrote:
I think animations can be annoying when the computation time isn't
very quick. I'm thinking you run from the command line to generate
each frame as a saved image file and then built your animation from
the sequence of frames thus produced.
On Tue, Feb 28, 2023 at 8:04 PM jon jon@jonbondy.com wrote:
I've not paid much attention to Animations until today. I did a
few of
them without issue, but the latest video takes over 5 minutes to
compute
each frame, and this is causing problems (aside from how long it
takes
to generate the frames).
When I select Animation from the View menu, it appears that the next
frame is calculated immediately. By which I mean, OpenSCAD
freezes for
5 minutes. After that the Animation panel should show up. I can
then
click on Dump Pictures (having already wasted 5 minutes and one
frame),
but nothing will happen for another 5 minutes. And it is hard to
tell
how long to wait before I try to click Dump Pictures again. I've
ended
up turning it on and then off by accident because of all of the lags.
It would be better, for me, if there was a separate Start Animation
button, and another Stop Animation button. Just getting things
started
has taken me over 30 minutes, and I am honestly not sure if it has
started properly or not.
Am I missing something, or is this feature awkward to use?
Jon
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
This works in Ubuntu/WSL2:
python:
import subprocess
for t in range(100):
cmd = f'openscad -o frame{t}.png -D t={t} frame.scad'
subprocess.run(cmd, shell = True)
openSCAD:
text(str(t));
It gives a segmentation fault after each frame, but that doesn't stop the
program from working.
On Tue, Feb 28, 2023 at 7:26 PM jon jon@jonbondy.com wrote:
I took one look at the documentation for the command line, and gave up.
Each option just says "-option arg" with almost no hint at what the arg
means or how it is formatted.
I succeeded in getting things started as follows. I loaded my code and
commented out the main call to invoke the main module. I then turned on
Animation, set up the animation (which was now running instantaneously),
turned Animation off, fixed my code, and then started Animation again. It
will take about 16 hours to run, so I will see it in the morning.
Jon
On 2/28/2023 8:07 PM, Adrian Mariano wrote:
I think animations can be annoying when the computation time isn't very
quick. I'm thinking you run from the command line to generate each frame
as a saved image file and then built your animation from the sequence of
frames thus produced.
On Tue, Feb 28, 2023 at 8:04 PM jon jon@jonbondy.com wrote:
I've not paid much attention to Animations until today. I did a few of
them without issue, but the latest video takes over 5 minutes to compute
each frame, and this is causing problems (aside from how long it takes
to generate the frames).
When I select Animation from the View menu, it appears that the next
frame is calculated immediately. By which I mean, OpenSCAD freezes for
5 minutes. After that the Animation panel should show up. I can then
click on Dump Pictures (having already wasted 5 minutes and one frame),
but nothing will happen for another 5 minutes. And it is hard to tell
how long to wait before I try to click Dump Pictures again. I've ended
up turning it on and then off by accident because of all of the lags.
It would be better, for me, if there was a separate Start Animation
button, and another Stop Animation button. Just getting things started
has taken me over 30 minutes, and I am honestly not sure if it has
started properly or not.
Am I missing something, or is this feature awkward to use?
Jon
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org