Merge branch 'occ_extrude_prolongate_names' into 'master'

[occ] also prolongate names of solids and faces in extrude

See merge request jschoeberl/netgen!466
This commit is contained in:
Joachim Schöberl 2022-01-17 18:26:15 +00:00
commit a6a7d278dc

View File

@ -912,7 +912,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
}
BRepPrimAPI_MakePrism builder(shape, h*edir, true);
for (auto typ : { TopAbs_EDGE, TopAbs_VERTEX })
for (auto typ : { TopAbs_SOLID, TopAbs_FACE, TopAbs_EDGE, TopAbs_VERTEX })
for (TopExp_Explorer e(shape, typ); e.More(); e.Next())
{
auto prop = OCCGeometry::global_shape_properties[e.Current().TShape()];