+ add overloaded methods of write() and read() to write and read from streams

This commit is contained in:
wmayer
2016-06-11 14:47:01 +02:00
parent e8acca597a
commit ec82ea252a
2 changed files with 106 additions and 33 deletions

View File

@@ -359,7 +359,7 @@ PyObject* TopoShapePy::exportBrep(PyObject *args)
PyObject* input;
if (PyArg_ParseTuple(args, "O", &input)) {
try {
// read brep
// write brep
Base::PyStreambuf buf(input);
std::ostream str(0);
str.rdbuf(&buf);