mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:55:54 +08:00
Allow multiple file types per mesh reader
A mesh reader plugin now uses a list of file types that it can offer to read, instead of being limited to one. Contributes to issue CURA-266.
This commit is contained in:
parent
bcaea7db09
commit
d23cf97214
@ -15,10 +15,12 @@ def getMetaData():
|
|||||||
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading 3MF files."),
|
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading 3MF files."),
|
||||||
"api": 2
|
"api": 2
|
||||||
},
|
},
|
||||||
"mesh_reader": {
|
"mesh_reader": [
|
||||||
"extension": "3mf",
|
{
|
||||||
"description": catalog.i18nc("@item:inlistbox", "3MF File")
|
"extension": "3mf",
|
||||||
}
|
"description": catalog.i18nc("@item:inlistbox", "3MF File")
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
|
@ -15,10 +15,12 @@ def getMetaData():
|
|||||||
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."),
|
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."),
|
||||||
"api": 2
|
"api": 2
|
||||||
},
|
},
|
||||||
"mesh_reader": {
|
"mesh_reader": [
|
||||||
"extension": "gcode",
|
{
|
||||||
"description": catalog.i18nc("@item:inlistbox", "Gcode File")
|
"extension": "gcode",
|
||||||
}
|
"description": catalog.i18nc("@item:inlistbox", "Gcode File")
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user