83 Commits

Author SHA1 Message Date
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00
Ghostkeeper
c235f339ae
Increment API version to 6
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.

Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
fieldOfView
9ac744b9ba Remove unnecessary import and declaration of i18n in plugins 2018-10-03 22:00:24 +02:00
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
Ian Paschal
d0c68f8e94 Fixes for WindowsRemovableDrivePlugin 2018-07-05 15:46:16 +02:00
Ghostkeeper
5a5766f11a
Choose correct stream depending on output mode
We need a binary stream if we're writing in a binary format.

Contributes to issue CURA-5097.
2018-03-16 14:54:56 +01:00
Ghostkeeper
e74191f2db
Cache preferred format
I think that makes the code a bit easier to read. This is not really done to make it faster, just more semantic.

Contributes to issue CURA-5097.
2018-03-16 14:54:48 +01:00
Ghostkeeper
32cee75e47
Respect order of preference of output formats
Contributes to issue CURA-5097.
2018-03-16 11:49:51 +01:00
Ghostkeeper
b0f7a5b358
Fix translation of there being no file formats available
This entry said that it had a context, but it had none. As a result, the whole string was seen as a context.
2018-03-15 16:53:26 +01:00
Mark
913bcf45b1 Add stderr to send errors to 2017-11-14 11:53:24 +01:00
Ghostkeeper
b142a15266
Remove unused import
And fixed the header and documentation spelling.
2017-10-04 14:59:39 +02:00
Ghostkeeper
0fab6fcc21
Merge branch 'thopiekar-RemovableDrivePlugin-cleanup' 2017-10-04 14:55:36 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
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