+ add overloaded methods of write() and read() to write and read from streams
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user