Page 1 of 1

Prevent idle sleep of Mac during print

Posted: Wed Oct 07, 2015 5:35 am
by kusmi
Yesterday it happened: I started a print job (approx. 45 min) and left my laptop on battery power. Usually it has enough battery to allow for 6+ h of operation.

But mid-print the computer went to sleep and therefore my print stalled. Of course I could adjust my energy settings to never sleep - but then I always forget to switch it back.

On MacOSX there are programmatic possibilities to prevent idle sleep - and most Mac apps do this (e.g. if you download a large file in Safari: Then Safari prevents idle sleep). You can read about it on Apple's Developer Portal:

https://developer.apple.com/library/mac ... index.html

It would be great if this could be added to Simplify3D!

Re: Prevent idle sleep of Mac during print

Posted: Wed Oct 07, 2015 7:45 am
by CompoundCarl
I run a program called Caffeine on my Mac which keeps it from going to sleep. Really tiny download that has plenty of nice options for this :D

Re: Prevent idle sleep of Mac during print

Posted: Thu Oct 08, 2015 11:36 am
by kusmi
Yes, I know, great app :-) - but if there is an official way to implement it (and it's basically only 2 lines of code), why would I need a 3rd party app to just "fix" problems of non-compliant apps.

Re: Prevent idle sleep of Mac during print

Posted: Sat Oct 10, 2015 9:29 am
by CompoundCarl
What are these 2 lines of code that would work on all the versions of windows, mac, and linux that S3D supports?