32 Commits

Author SHA1 Message Date
alekseisasin
204019702d Added Title for messages
CURA-4203
2017-09-13 13:58:08 +02:00
Jaime van Kessel
be1b5cd83a Cura no longer crashes when writing to full SD drive.
It instead tells warns the user and logs the event. CURA-3909
2017-09-01 14:43:12 +02:00
Ghostkeeper
7ab6a551c1
Clarify that XML material tags don't get translated
Some of the translators got this wrong last time. Let's see how good they read this next time...

Contributes to issue CURA-4113.
2017-08-14 13:54:11 +02:00
Jaime van Kessel
f04d1efb8d Removed file progress from removable output device, as writefile job now handles that itself 2017-03-24 16:32:39 +01:00
Jaime van Kessel
7993d9e95e Added **kwargs option to request write
CURA-3496
2017-03-14 13:30:47 +01:00
Jaime van Kessel
304696c809 OutputDevices now take file_handler into account
CURA-1263
2016-11-09 14:03:57 +01:00
Ghostkeeper
bb32fcf0e9
Add context to 'ready to' buttons
This should make translating easier.
2016-11-01 13:39:06 +01:00
Arjen Hiemstra
448d7d890c Merge branch '2.3'
* 2.3:
  Set encoding to utf-8 when writing files
  Remove manually specified utf-8 encoding
  SettingInstanceManager now also watches containerchanged of extruder stacks
2016-10-24 14:30:22 +02:00
Arjen Hiemstra
bfec96f584 Set encoding to utf-8 when writing files
Since we assume utf-8 in a lot of places.

Contributes to CURA-2692
2016-10-24 14:28:20 +02:00
Ghostkeeper
96e516c676
Allow for saving multiple scene nodes at the same time
The selection saving saves the entire current selection and their child nodes.

Contributes to issue CURA-2617.
2016-10-17 15:53:33 +02:00
Ghostkeeper
b3e3053323
Move automatic file name generating to separate function
This will make it easier to have multiple nodes here in the future. I'll have to modify this function for that, but I'll do that in a separate commit.

Contributes to issue CURA-2617.
2016-10-17 15:53:33 +02:00
fieldOfView
15a870c050 Add some documentation
CURA-2544
2016-10-11 13:39:44 +02:00
fieldOfView
d04e6a6644 Use buffered writing for writing gcode to removable drives
GCode files are still written line by line, but python is instructed to use buffering. This greatly decreases the total time required to write large(ish) files to USB drives, while having minimal impact on memory use.

CURA-2544
2016-10-11 13:34:48 +02:00
fieldOfView
cdba3640a0 Move showing eject success message until after the safe to remove message is hidden
CURA-2341
2016-09-26 16:10:57 +02:00
Jaime van Kessel
7a7b634108 Eject message is now hidden when eject is done
CURA-2200
2016-08-26 16:23:23 +02:00
Jaime van Kessel
4f594c9cf3 Removed the timeout for the eject SD card message 2016-08-25 14:21:26 +02:00
Jaime van Kessel
93227c0b56 Updated removabledrive plugin to use metadata
CURA-1278
2016-05-10 11:28:57 +02:00
Jaime van Kessel
6237767ba5 Fixed error message when using locked SD
CURA-1187
2016-03-29 11:52:14 +02:00
Ghostkeeper
de9a66e1f4 Merge branch '2.1'
Conflicts:
	plugins/RemovableDriveOutputDevice/OSXRemovableDrivePlugin.py
	plugins/RemovableDriveOutputDevice/WindowsRemovableDrivePlugin.py
	plugins/USBPrinting/PrinterConnection.py
	resources/machines/fdmprinter.json
	resources/profiles/ultimaker2+/abs_0.4_high.curaprofile
2016-03-17 15:24:00 +01:00
Jaime van Kessel
7c22fe1eb5 Removable drive plugin is now forced to use machine preference for output type
Fixes CURA-1165
2016-03-15 16:43:14 +01:00
Thomas-Karl Pietrowski
6cd1171051 Removing unused imports 2016-03-15 12:53:07 +01:00
Ghostkeeper
6bcce7ca8e Repair saving to removable drive
Typo. Sorry.

Contributes to issue CURA-611.
2016-02-10 15:05:44 +01:00
Ghostkeeper
edb7803760 Make the machine file types filter optional for OutputDevice
The call to OutputDevice from the save button filters by the file types available to the machine. The call to OutputDevice from the application menu doesn't.

Contributes to issue CURA-611.
2016-02-10 13:39:49 +01:00
Ghostkeeper
bc18b078ab Let Removable Drive auto-detect file format from machine
Instead of only writing g-code, the Removable Drive output device will now try to write a file format that the current machine supports. It just picks the first one it finds.

Contributes to issue CURA-611.
2016-02-09 17:57:19 +01:00
Ghostkeeper
bc0207cd14 Add invisible preference for file type of output
This preference can't be made visible since a string freeze is into effect, but at least a user could go into the .cfg file and set the setting manually.

Contributes to issue CURA-611.
2016-01-18 17:36:41 +01:00
Ghostkeeper
1db430c61a Log errors in case the file writing fails
An error message is written to the log including the file that was not written to and the stringified exception.
2015-12-03 14:09:22 +01:00
Arjen Hiemstra
3e2797d727 Properly raise DeviceBusyError in RemovableDriveOutputDevice
Contributes to CURA-448
2015-11-16 12:20:03 +01:00
Arjen Hiemstra
3029409b89 Properly emit writeStarted in RemovableDriveOutputDevice
Contributes to CURA-319
2015-11-06 15:43:11 +01:00
Arjen Hiemstra
5b2cdb8012 Update RemovableDrive and USB output devices to use the new file_name parameter
Contributes to CURA-183
2015-09-23 18:21:04 +02:00
Tamara Hogenhout
4a9bf2b4d6 adds/adapts translation context markers
all nescessary in folder: Cura/plugins

Contributes to: issue CURA-116
2015-09-08 15:26:49 +02:00
Arjen Hiemstra
85a13b7ad7 Add proper translation contexts to RemovableDriveOutputDevice 2015-08-18 15:19:09 +02:00
Arjen Hiemstra
825349b47b Add RemovableDrive plugin that has been moved from Uranium
Since it now depends on GCodeWriter we should put it somewhere where
GCodeWriter actually exists.
2015-07-30 17:14:22 +02:00