5 Commits

Author SHA1 Message Date
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