From 8070fe8875280136acf6b7ceb03508692821ea70 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Wed, 17 Apr 2024 14:33:32 -0500 Subject: [PATCH] main.cpp -> add std::cout to testOCCT function --- src/serializer/main.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/serializer/main.cpp b/src/serializer/main.cpp index df5d9e8..783c171 100644 --- a/src/serializer/main.cpp +++ b/src/serializer/main.cpp @@ -59,8 +59,12 @@ py::bytes _testOCCT() { auto pt2 = gp_Pnt(1,2,3); auto line = BRepBuilderAPI_MakeEdge(pt1,pt2).Edge(); std::ostringstream buf; - BinTools::Write(line, buf); - return py::bytes(buf.str()); + std::cout << "before bintools write"; + BinTools::Write(shape, buf); + std::cout << "after bintools write"; + std::cout << buf.str(); + std::cout << "after buf.str"; + return py::bytes(std::move(buf.str())); } py::bytes _testSTRreturn() {