22 Commits

Author SHA1 Message Date
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +02:00
Remco Burema
04002056ae
Update SDK/API from 7.5.0 to 7.6.0 for 4.10
CURA-8320
2021-06-15 16:08:07 +02:00
Ghostkeeper
08be77adad
Increment SDK version to 7.5.0
The Cura 4.9 release will have expanded functionality. If you have a plug-in that uses this functionality, marking it as using SDK 7.5.0 will notify older Cura releases that they can't use that plug-in.
2021-04-06 13:28:08 +02:00
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
40327c4259 Convert doxygen to rst for GcodeReader, GcodeGzReader/Writer,
GCodeProfileReader
2020-05-08 15:58:51 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
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
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
alekseisasin
0d293ddced
Merge pull request #4251 from Ultimaker/CURA-5645_no_write_gcode_to_recent_files
CURA-5645 Do not add saved gcodes to recent files list
2018-08-22 16:28:58 +02:00
Lipu Fei
1079a9be2c Do not add saved gcodes to recent files list 2018-08-17 10:53:30 +02:00
Lipu Fei
f42dc24d95 Do not show gcode.gz as an option in save file dialog
CURA-5649
2018-08-16 15:16:32 +02:00
Diego Prado Gesto
38a0c9b66d Add some extra information when the Cura can't write the files. 2018-08-03 12:02:11 +02:00
Ghostkeeper
10f22f9c25
Cast result of getPluginObject to the plug-in type it implements
We know for sure what the type of that plug-in is, only we can't import that type because it's a plug-in. We can (and did) import the plug-in type object MeshWriter though.

Contributes to issue CURA-5330.
2018-06-15 15:09:19 +02:00
Lipu Fei
de455a9a64 Use gcode.gz as extension for GzWriter
CURA-5343

We have the custom save file dialog on OS X now so there is no need to
use .gz to bypass the extension problem on the native dialog.
2018-05-23 15:48:30 +02:00
Lipu Fei
b763b2a5a0 Fix gcode.gz double extension problem on Mac
CURA-5228
2018-04-17 15:02:29 +02:00
Ghostkeeper
88912e3973
Encode as UTF-8 before writing to gz
Turns out that gzip only accepts bytes as input, not str.

Contributes to issue CURA-5097.
2018-03-16 16:06:46 +01:00
Ghostkeeper
c1ea1320f0
Implement GCodeGzWriter
This plug-in outputs g-code to a gzipped archive. It is used for sending prints to the Ultimaker 3 family faster.

Contributes to issue CURA-5097.
2018-03-16 16:06:35 +01:00