Thomas Karl Pietrowski
fc8cbedc82
Sorting imports and removing superfluous import
...
.. Logger has been imported twice..
2017-09-26 09:39:18 +02:00
Ghostkeeper
e092b908a0
Add message content for WriteRequestFailedErrors
...
The content of the exception is directly put inside a message, so we should give the exception a message.
2017-09-15 11:06:32 +02:00
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
ef51897b71
Fixed removable drive error spam on Windows
2017-07-05 14:48:02 +02:00
Ghostkeeper
cd4bffb380
Set author to Ultimaker B.V. instead of Ultimaker
...
To be consistent with the rest of the plug-ins and with the material files.
Contributes to issue CURA-3857.
2017-06-28 13:50:37 +02:00
Lipu Fei
5900bb8622
Use "Ultimaker" as the author for ultimaker plugins
...
CURA-3712
2017-06-22 08:58:54 +02:00
Lipu Fei
4ea8cc448a
Use semantic versioning for all plugin.json
...
CURA-3712
2017-06-22 08:57:47 +02:00
Lipu Fei
73f598ff9f
Fix code style
...
CURA-3712
2017-06-22 08:54:04 +02:00
Jaime van Kessel
e3629cec39
Replaced catalog metadata entry with i18n-catalog
...
CURA-3712 & Cura-3856
2017-06-21 14:24:00 +02:00
Jaime van Kessel
44125d3275
Moved certain meta data entries to seperate file
...
CURA-3856 & CURA-3712
2017-06-21 11:22:35 +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
Simon Edwards
4ab6b74930
Fixed a bunch of error which were reported by PyCharm's code analysis.
2017-02-26 21:05:09 +01:00
Simon Edwards
1b43e4981e
Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.)
2017-01-17 16:57:37 +01:00
Thomas Karl Pietrowski
5891709800
Using UM.Platform and correcting something minor
...
Since we already have UM.Platform, I think it is worth to get constancy into our code and use UM.Platform for our detection.
Additionally, I corrected the head of the file, because I think I shall mention Cura and not Uranium. I guess the plugin was moved to Cura, so this was missed.
2017-01-11 19:08:46 +01:00
Arjen Hiemstra
ae389742ff
Update OSX removable drive code to handle 10.12 plist format
...
Fixes CURA-2618
2016-12-08 14:23:33 +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
fieldOfView
fcf89b79c6
Update wording of error messages
2016-09-06 08:55:32 +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
Arjen Hiemstra
79892daa5e
Bump API version of plugins that do not need extra porting
...
Contributes to CURA-1615
2016-05-30 15:29:10 +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
dc1630c268
Merge branch '2.1' of https://github.com/Ultimaker/Cura
2016-04-08 15:02:30 +02:00
Jaime van Kessel
24950627dc
Removable drives with any name are now accepted by OSX
...
I have no idea why the old plugin only accepted drives with the name
"MASS STORAGE DEVICE", but it now simply lists all removable drives
CURA-1365
2016-04-07 13:31:20 +02:00
Ghostkeeper
0684cee681
Merge branch '2.1'
...
Conflicts:
resources/machines/fdmprinter.json
resources/machines/innovo-inventor.json
resources/profiles/general/High+Quality.cfg
resources/profiles/general/Low+Quality.cfg
resources/profiles/general/Normal+Quality.cfg
resources/profiles/general/Ulti+Quality.cfg
resources/profiles/ultimaker2+/pla_0.4_high.curaprofile
2016-04-04 18:49:09 +02:00
Jaime van Kessel
6237767ba5
Fixed error message when using locked SD
...
CURA-1187
2016-03-29 11:52:14 +02:00
Ghostkeeper
a89e128f72
Add period after description
...
This is in line with most other descriptions.
Contributes to issue CURA-1190.
2016-03-22 17:02:42 +01:00
fieldOfView
a78e1a62d4
Fix ctypes imports in WindowsRemovableDrivePlugin
...
See 9684ca80d7912daed1db2cf0bdebf75fe204562f
2016-03-17 20:34:18 +01: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
9684ca80d7
Removing unused imports, reorder them and replace windll with ctypes.windll (the same)
2016-03-15 12:53:29 +01:00
Thomas-Karl Pietrowski
6cd1171051
Removing unused imports
2016-03-15 12:53:07 +01:00
Thomas-Karl Pietrowski
0b93328aeb
Using PyDev compatible tags
2016-03-15 12:52:29 +01:00
Thomas-Karl Pietrowski
5a5664e164
RemovableDriveOutputDevice: Use device.getId()
...
Should fix unmounting on OSX. Found this solution in Linux*.py.
Untested and fingers crossed...
2016-03-14 17:07:02 +01:00
Thomas-Karl Pietrowski
3b8000035d
Remove unneeded imports
2016-03-14 17:06:44 +01:00
Thomas-Karl Pietrowski
19ccfdfbd7
RemovableDriveOutputDevice: Same for OSX
...
See 0b0bc8080591a5cce098e9d47ff12224c924347d
2016-03-14 17:04:51 +01:00
Thomas-Karl Pietrowski
0b0bc80805
RemovableDriveOutputDevice: Making output of uname command useful
2016-03-14 17:03:08 +01:00
Ghostkeeper
54ceafbcd0
Handle the flux capacitive fizbit ambigruously
...
Makes the unambigruous fizbit warp correctly when subjugated to the flux capacitor. The limit of the reciprocative function seems to be computed correctly now.
Contributes to no issue.
2016-03-11 17:39:53 +01:00
daid
8980600292
CURA-1104: Fix the incorrect "failed to eject drive" message for windows.
...
The C windows API call was wrong. The lpBytesReturned parameter was set to
NULL. While the docmentation at:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa363406(v=vs.85).aspx
states that it CANNOT be NULL if lpOverlapped is NULL. Overlapped is for
async operations. So the easiest way to fix this is to supply a proper
pointer.
I've also removed unused includes. And supplied the DeviceIoControl with
proper ctypes calling information to prevent other python->c problems.
2016-03-11 15:13:09 +01:00
Jaime van Kessel
3b66e887b0
Added logging
2016-03-11 14:49:21 +01:00