discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Auto F5

J
jon
Sun, Feb 25, 2024 12:06 PM

I normally don't have F5 set to automatic, but I guess it was set this
way by accident.  For simple models, this is really nice.

I just loaded a large model, and am now stuck with OpenSCAD hung,
waiting for F5 to finish.

It might make sense to have Auto F5 kill itself after a user-set
duration, such as 15 seconds.

Jon

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com

I normally don't have F5 set to automatic, but I guess it was set this way by accident.  For simple models, this is really nice. I just loaded a large model, and am now stuck with OpenSCAD hung, waiting for F5 to finish. It might make sense to have Auto F5 kill itself after a user-set duration, such as 15 seconds. Jon -- This email has been checked for viruses by AVG antivirus software. www.avg.com
J
jon
Sun, Feb 25, 2024 12:12 PM

Note that my most recent hang involved source code with a misspelled
include file.  Surely an error like that begs for the entire F5 process
to be immediately aborted.  This should not be a warning: it is a fatal
error.

Jon

On 2/25/2024 7:06 AM, jon wrote:

I normally don't have F5 set to automatic, but I guess it was set this
way by accident.  For simple models, this is really nice.

I just loaded a large model, and am now stuck with OpenSCAD hung,
waiting for F5 to finish.

It might make sense to have Auto F5 kill itself after a user-set
duration, such as 15 seconds.

Jon

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com

Note that my most recent hang involved source code with a misspelled include file.  Surely an error like that begs for the entire F5 process to be immediately aborted.  This should not be a warning: it is a fatal error. Jon On 2/25/2024 7:06 AM, jon wrote: > I normally don't have F5 set to automatic, but I guess it was set this > way by accident.  For simple models, this is really nice. > > I just loaded a large model, and am now stuck with OpenSCAD hung, > waiting for F5 to finish. > > It might make sense to have Auto F5 kill itself after a user-set > duration, such as 15 seconds. > > Jon > -- This email has been checked for viruses by AVG antivirus software. www.avg.com
NH
nop head
Sun, Feb 25, 2024 1:36 PM

A lot of my F5s take more than 15s. 2 minutes 19 for this because it has
more than 2500 parts:

[image: image.png]

On Sun, 25 Feb 2024 at 12:12, jon via Discuss discuss@lists.openscad.org
wrote:

Note that my most recent hang involved source code with a misspelled
include file.  Surely an error like that begs for the entire F5 process
to be immediately aborted.  This should not be a warning: it is a fatal
error.

Jon

On 2/25/2024 7:06 AM, jon wrote:

I normally don't have F5 set to automatic, but I guess it was set this
way by accident.  For simple models, this is really nice.

I just loaded a large model, and am now stuck with OpenSCAD hung,
waiting for F5 to finish.

It might make sense to have Auto F5 kill itself after a user-set
duration, such as 15 seconds.

Jon

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

A lot of my F5s take more than 15s. 2 minutes 19 for this because it has more than 2500 parts: [image: image.png] On Sun, 25 Feb 2024 at 12:12, jon via Discuss <discuss@lists.openscad.org> wrote: > Note that my most recent hang involved source code with a misspelled > include file. Surely an error like that begs for the entire F5 process > to be immediately aborted. This should not be a warning: it is a fatal > error. > > Jon > > On 2/25/2024 7:06 AM, jon wrote: > > I normally don't have F5 set to automatic, but I guess it was set this > > way by accident. For simple models, this is really nice. > > > > I just loaded a large model, and am now stuck with OpenSCAD hung, > > waiting for F5 to finish. > > > > It might make sense to have Auto F5 kill itself after a user-set > > duration, such as 15 seconds. > > > > Jon > > > > -- > This email has been checked for viruses by AVG antivirus software. > www.avg.com > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
J
jon
Sun, Feb 25, 2024 1:57 PM

Do you want to wait 2 minutes each time you make a change to the source
code?  I do not.  If F5 takes under 2 seconds, fine; if more, then I
want to request the F5 manually.  It is the auto F5 that trapped me for
5 minutes while OpenSCAD attempted a futile calculation.  I am
advocating that we put a limit for auto F5 that can be set by the user. 
In my case, I would set it to perhaps 5 seconds.  Longer than that and
the facility is not useful to me.

Note that this is NOT a limit for a manual F5, just for the auto F5

On 2/25/2024 8:36 AM, nop head wrote:

A lot of my F5s take more than 15s. 2 minutes 19 for this because it
has more than 2500 parts:

image.png

On Sun, 25 Feb 2024 at 12:12, jon via Discuss
discuss@lists.openscad.org wrote:

 Note that my most recent hang involved source code with a misspelled
 include file.  Surely an error like that begs for the entire F5
 process
 to be immediately aborted.  This should not be a warning: it is a
 fatal
 error.

 Jon

 On 2/25/2024 7:06 AM, jon wrote:

I normally don't have F5 set to automatic, but I guess it was

 set this

way by accident.  For simple models, this is really nice.

I just loaded a large model, and am now stuck with OpenSCAD hung,
waiting for F5 to finish.

It might make sense to have Auto F5 kill itself after a user-set
duration, such as 15 seconds.

Jon

 -- 
 This email has been checked for viruses by AVG antivirus software.
 www.avg.com <http://www.avg.com>
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org
Do you want to wait 2 minutes each time you make a change to the source code?  I do not.  If F5 takes under 2 seconds, fine; if more, then I want to request the F5 manually.  It is the auto F5 that trapped me for 5 minutes while OpenSCAD attempted a futile calculation.  I am advocating that we put a limit for auto F5 that can be set by the user.  In my case, I would set it to perhaps 5 seconds.  Longer than that and the facility is not useful to me. Note that this is NOT a limit for a manual F5, just for the auto F5 On 2/25/2024 8:36 AM, nop head wrote: > A lot of my F5s take more than 15s. 2 minutes 19 for this because it > has more than 2500 parts: > > image.png > > > On Sun, 25 Feb 2024 at 12:12, jon via Discuss > <discuss@lists.openscad.org> wrote: > > Note that my most recent hang involved source code with a misspelled > include file.  Surely an error like that begs for the entire F5 > process > to be immediately aborted.  This should not be a warning: it is a > fatal > error. > > Jon > > On 2/25/2024 7:06 AM, jon wrote: > > I normally don't have F5 set to automatic, but I guess it was > set this > > way by accident.  For simple models, this is really nice. > > > > I just loaded a large model, and am now stuck with OpenSCAD hung, > > waiting for F5 to finish. > > > > It might make sense to have Auto F5 kill itself after a user-set > > duration, such as 15 seconds. > > > > Jon > > > > -- > This email has been checked for viruses by AVG antivirus software. > www.avg.com <http://www.avg.com> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
TP
Torsten Paul
Sun, Feb 25, 2024 2:05 PM

On 25.02.24 14:57, jon via Discuss wrote:

I am advocating that we put a limit for auto F5 that can be set by the user.

The discussion is moot. The problem is that it is technically not
supported at this point to cancel the action.

As soon as that gets implemented, if someone feels spending the time
on that (which would be very nice and obviously useful feature), then
it could just be a cancel button that always works.

ciao,
Torsten.

On 25.02.24 14:57, jon via Discuss wrote: > I am advocating that we put a limit for auto F5 that can be set by the user. The discussion is moot. The problem is that it is technically not supported at this point to cancel the action. As soon as that gets implemented, if someone feels spending the time on that (which would be very nice and obviously useful feature), then it could just be a cancel button that always works. ciao, Torsten.
NH
nop head
Sun, Feb 25, 2024 2:24 PM

I don't want to wait 2 minutes but unfortunately that is how long it takes.

On Sun, 25 Feb 2024, 14:06 Torsten Paul via Discuss, <
discuss@lists.openscad.org> wrote:

On 25.02.24 14:57, jon via Discuss wrote:

I am advocating that we put a limit for auto F5 that can be set by the

user.

The discussion is moot. The problem is that it is technically not
supported at this point to cancel the action.

As soon as that gets implemented, if someone feels spending the time
on that (which would be very nice and obviously useful feature), then
it could just be a cancel button that always works.

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I don't want to wait 2 minutes but unfortunately that is how long it takes. On Sun, 25 Feb 2024, 14:06 Torsten Paul via Discuss, < discuss@lists.openscad.org> wrote: > On 25.02.24 14:57, jon via Discuss wrote: > > I am advocating that we put a limit for auto F5 that can be set by the > user. > > The discussion is moot. The problem is that it is technically not > supported at this point to cancel the action. > > As soon as that gets implemented, if someone feels spending the time > on that (which would be very nice and obviously useful feature), then > it could just be a cancel button that always works. > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
CM
Curt McDowell
Thu, Feb 29, 2024 8:29 PM

I'm thinking that all computation should be managed in a separate
thread, one that can be killed whenever you hit the red X, or restarted
when you hit F5 again. Actually, it would might need to be a separate
process so that memory management is not an issue. But there are several
platforms to worry about... nothing is easy!

-Curt

On 2/25/24 06:05, Torsten Paul via Discuss wrote:

On 25.02.24 14:57, jon via Discuss wrote:

I am advocating that we put a limit for auto F5 that can be set by
the user.

The discussion is moot. The problem is that it is technically not
supported at this point to cancel the action.

As soon as that gets implemented, if someone feels spending the time
on that (which would be very nice and obviously useful feature), then
it could just be a cancel button that always works.

ciao,
  Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I'm thinking that all computation should be managed in a separate thread, one that can be killed whenever you hit the red X, or restarted when you hit F5 again. Actually, it would might need to be a separate process so that memory management is not an issue. But there are several platforms to worry about... nothing is easy! -Curt On 2/25/24 06:05, Torsten Paul via Discuss wrote: > On 25.02.24 14:57, jon via Discuss wrote: >> I am advocating that we put a limit for auto F5 that can be set by >> the user. > > The discussion is moot. The problem is that it is technically not > supported at this point to cancel the action. > > As soon as that gets implemented, if someone feels spending the time > on that (which would be very nice and obviously useful feature), then > it could just be a cancel button that always works. > > ciao, >   Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org