58 Commits

Author SHA1 Message Date
Ghostkeeper
6f833051f8
Close archive after writing
It gets flushed then and everything.

Contributes to issue CURA-4972.
2018-01-26 16:28:34 +01:00
Ghostkeeper
e3e8e8b170
Fix opening kitty file
Contributes to issue CURA-4872.
2018-01-26 16:21:01 +01:00
Ghostkeeper
20b903855f
Close streams before opening the next
Because zipfile can't handle multiple open streams at the same time.

Contributes to issue CURA-4872.
2018-01-26 16:15:30 +01:00
Ghostkeeper
b6c7a0829f
Use virtual_path parameter instead of target
This parameter was renamed.

Contributes to issue CURA-4872.
2018-01-26 15:43:14 +01:00
Ghostkeeper
d299786de7
Convert g-code to bytes before writing it to archive
Contributes to issue CURA-4872.
2018-01-26 15:41:39 +01:00
Ghostkeeper
8bd351c133
Add placeholder thumbnail to package
This kitten really likes boxes of all kinds: Cardboard and plastic boxes for sure, but also digital boxes such as the UFP.

Contributes to issue CURA-4872.
2018-01-26 13:52:20 +01:00
Ghostkeeper
8a3a3d32da
Fix imports to Charon classes
Contributes to issue CURA-4872.
2018-01-26 13:34:45 +01:00
Ghostkeeper
600e2abce1
Add basic UFP writer plug-in
This already implements most of it. Just the thumbnail must still be gotten and put inside the container.

Contributes to issue CURA-4872.
2018-01-26 13:25:49 +01:00