Mesh: add basic support of 3MF file format

This commit is contained in:
wmayer
2021-10-22 17:11:16 +02:00
parent c2502b09db
commit e3ebe4bc9f
4 changed files with 114 additions and 1 deletions

View File

@@ -222,6 +222,7 @@ PyObject* MeshPy::write(PyObject *args, PyObject *kwds)
ext["APLY" ] = MeshCore::MeshIO::APLY;
ext["PY" ] = MeshCore::MeshIO::PY;
ext["ASY" ] = MeshCore::MeshIO::ASY;
ext["3MF" ] = MeshCore::MeshIO::ThreeMF;
static char* keywords_path[] = {"Filename","Format","Name","Material",NULL};
if (PyArg_ParseTupleAndKeywords(args, kwds, "et|ssO", keywords_path, "utf-8",