Mesh: [skip ci] support of asymptote export

This commit is contained in:
wmayer
2020-08-27 09:51:35 +02:00
parent 6ca3a56c47
commit 7ae2d7e495
4 changed files with 84 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ PyObject* MeshPy::read(PyObject *args, PyObject *kwds)
ext["PLY" ] = MeshCore::MeshIO::PLY;
ext["APLY"] = MeshCore::MeshIO::APLY;
ext["PY" ] = MeshCore::MeshIO::PY;
ext["ASY" ] = MeshCore::MeshIO::ASY;
PyObject* input;
char* Ext;
@@ -228,6 +229,7 @@ PyObject* MeshPy::write(PyObject *args, PyObject *kwds)
ext["PLY" ] = MeshCore::MeshIO::PLY;
ext["APLY"] = MeshCore::MeshIO::APLY;
ext["PY" ] = MeshCore::MeshIO::PY;
ext["ASY" ] = MeshCore::MeshIO::ASY;
static char* keywords_path[] = {"Filename","Format","Name","Material",NULL};
if (PyArg_ParseTupleAndKeywords(args, kwds, "et|ssO", keywords_path, "utf-8",