mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update formatting
CURA-9224
This commit is contained in:
parent
aa28f8abfb
commit
a27bf8f7ed
1 changed files with 3 additions and 2 deletions
|
@ -71,7 +71,8 @@ class UFPWriter(MeshWriter):
|
|||
try:
|
||||
gcode = archive.getStream("/3D/model.gcode")
|
||||
gcode.write(gcode_textio.getvalue().encode("UTF-8"))
|
||||
archive.addRelation(virtual_path = "/3D/model.gcode", relation_type = "http://schemas.ultimaker.org/package/2018/relationships/gcode")
|
||||
archive.addRelation(virtual_path = "/3D/model.gcode",
|
||||
relation_type = "http://schemas.ultimaker.org/package/2018/relationships/gcode")
|
||||
except EnvironmentError as e:
|
||||
error_msg = catalog.i18nc("@info:error", "Can't write to UFP file:") + " " + str(e)
|
||||
self.setInformation(error_msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue