-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: auto eject of SD cards #2472
Comments
I think this may require quite platform-and maybe even distribution-specific code for each operating system to implement in Slic3r itself.. Did you consider using a post-processing script for that task already? In linux and OSX this could be a one-liner i think - i am not sure how easy it is for windows though |
I am using Mac OSX, I managed to setup an 'eject' button in the top desktop bar but it doesn't work for SDs. Yes, it may be platform dependent but very useful consider how popular SD cards are. For platforms that do not support it it can be disabled. With the right abstraction it should not be that bad I think. It can be as simple as dispatching a shell command from Slic3r. |
Detection of SD cards might require some hacks... This is something I've been considering myself too. We need to investigate how to do that on Windows. |
Does this help? http://msdn.microsoft.com/en-us/library/windows/desktop/aa364939%28v=vs.85%29.aspx On Fri, Jan 2, 2015 at 1:13 AM, Alessandro Ranellucci <
|
I think this is better solved as a post process script myself, as there are as many ways to unmount a file system as there are OSes. Keeping it in Slic3r itself would also start to necessitate permission escalations on some OS configurations. This is also not my use case |
Cura (the original gui by Daid) implements SD card detection very nicely as
|
Since the suggested post-processing script was trickier than I expected, posting it here in case others land here: (
sleep 1 # so orca starts saving first
diskutil eject /dev/disk2
say "Ejected" # mac specific (I think)
) >/dev/null 2>&1 & Put in a file, |
Like many I am using SD cards to transfer the gcode generated by Slic3r to my 3D printer and going through the cycle of modify the design, export STL, load STL, write gcode and eject SD card is tedious.
It would be very useful to have in Slic3r an auto-eject check configuration box that automatically ejects the SD card after writing the gcode file to it.
The text was updated successfully, but these errors were encountered: