From e64d07aab302d1ba003cab90d83bf25f6123511e Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 26 Jan 2023 17:00:18 +0100 Subject: [PATCH] set domain names in revolve --- libsrc/occ/python_occ_shapes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index cb17666e..1de7025f 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -1049,7 +1049,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) // return BRepPrimAPI_MakeRevol (shape, A, D*M_PI/180).Shape(); BRepPrimAPI_MakeRevol builder(shape, A, D*M_PI/180, true); - for (auto typ : { TopAbs_EDGE, TopAbs_VERTEX }) + for (auto typ : { TopAbs_FACE, TopAbs_EDGE, TopAbs_VERTEX}) for (TopExp_Explorer e(shape, typ); e.More(); e.Next()) { auto prop = OCCGeometry::GetProperties(e.Current());