set domain names in revolve

This commit is contained in:
Matthias Hochsteger 2023-01-26 17:00:18 +01:00
parent 8f11802953
commit e64d07aab3

View File

@ -1049,7 +1049,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
// return BRepPrimAPI_MakeRevol (shape, A, D*M_PI/180).Shape(); // return BRepPrimAPI_MakeRevol (shape, A, D*M_PI/180).Shape();
BRepPrimAPI_MakeRevol builder(shape, A, D*M_PI/180, true); 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()) for (TopExp_Explorer e(shape, typ); e.More(); e.Next())
{ {
auto prop = OCCGeometry::GetProperties(e.Current()); auto prop = OCCGeometry::GetProperties(e.Current());