kusmi
Posts: 8
Joined: Tue Feb 03, 2015 4:31 am

Prevent idle sleep of Mac during print

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!
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Prevent idle sleep of Mac during print

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
kusmi
Posts: 8
Joined: Tue Feb 03, 2015 4:31 am

Re: Prevent idle sleep of Mac during print

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.
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Prevent idle sleep of Mac during print

What are these 2 lines of code that would work on all the versions of windows, mac, and linux that S3D supports?

Return to “Troubleshooting and Bug Reports”