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

This commit is contained in:
Christopher Lackner 2022-01-17 16:03:40 +01:00
parent 49cdba1046
commit e597ce996b

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()];