From ea32b203d68e2af039466c8e753029a09a9e23f5 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Sat, 8 Jul 2023 20:40:25 +0200 Subject: [PATCH] remove propagateproperties from makefillet2d properties are propagated anyway and it is crashing with function call --- libsrc/occ/python_occ_shapes.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index df2138c5..45a5098f 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -1060,7 +1060,8 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) for (auto [v, r] : fillets) mkFillet2d.AddFillet(TopoDS::Vertex(v), r); mkFillet2d.Build(); - PropagateProperties (mkFillet2d, shape); + // TODO: CL I think we shouldn't do this here but, double check + // PropagateProperties (mkFillet2d, shape); return mkFillet2d.Shape(); } BRepFilletAPI_MakeFillet mkFillet(shape); @@ -1080,7 +1081,8 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) for (auto e : edges) mkFillet.AddFillet (TopoDS::Vertex(e), r); mkFillet.Build(); - PropagateProperties (mkFillet, shape); + // TODO: CL I think we shouldn't do this here but, double check + // PropagateProperties (mkFillet, shape); return mkFillet.Shape(); } BRepFilletAPI_MakeFillet mkFillet(shape);