mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Update file format and removed 'Sketch' flavor option
The file format 'application/x-makerbotsketch' has been updated to 'application/x-makerbot-sketch' across all instances in the code base. In addition, the 'Sketch' option for gcode flavor has been removed from all printer selection menus in different sections of the code. This should be added again once the code is implemented in gcode for this flavor. Also, change flavor in ultimaker_sketch.def.json file CURA-11777
This commit is contained in:
parent
4e36c570ed
commit
0bbde663e4
6 changed files with 4 additions and 8 deletions
|
@ -41,7 +41,7 @@ class MakerbotWriter(MeshWriter):
|
|||
)
|
||||
MimeTypeDatabase.addMimeType(
|
||||
MimeType(
|
||||
name="application/x-makerbotsketch",
|
||||
name="application/x-makerbot-sketch",
|
||||
comment="Makerbot Toolpath Package",
|
||||
suffixes=["makerbot"]
|
||||
)
|
||||
|
@ -106,7 +106,7 @@ class MakerbotWriter(MeshWriter):
|
|||
self.setInformation(gcode_writer.getInformation())
|
||||
return False
|
||||
|
||||
if file_format == "application/x-makerbotsketch":
|
||||
if file_format == "application/x-makerbot-sketch":
|
||||
filename, filedata = "print.gcode", gcode_text_io.getvalue()
|
||||
else:
|
||||
filename, filedata = "print.jsontoolpath", du.gcode_2_miracle_jtp(gcode_text_io.getvalue())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue