From 892b391ad3545e2f803d2ae5b396856d3643f1d8 Mon Sep 17 00:00:00 2001 From: Christoph Wintersteiger Date: Thu, 1 Jun 2017 17:09:02 +0200 Subject: [PATCH] add boundary condition and maxh to base of SplineSurface --- libsrc/csg/python_csg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/csg/python_csg.cpp b/libsrc/csg/python_csg.cpp index 5c43e23e..c85480da 100644 --- a/libsrc/csg/python_csg.cpp +++ b/libsrc/csg/python_csg.cpp @@ -441,6 +441,9 @@ DLL_HEADER void ExportCSG(py::module &m) } spsol->AddSurfaces(self); int tlonr = self.SetTopLevelObject(spsol->GetSolid(), surf.get()); + self.GetTopLevelObject(tlonr) -> SetBCProp(surf->GetBase()->GetBCProperty()); + self.GetTopLevelObject(tlonr) -> SetBCName(surf->GetBase()->GetBCName()); + self.GetTopLevelObject(tlonr) -> SetMaxH(surf->GetBase()->GetMaxH()); for(auto p : surf->GetPoints()) self.AddUserPoint(p); self.AddSplineSurface(surf);