mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
set domain names in revolve
This commit is contained in:
parent
8f11802953
commit
e64d07aab3
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user