mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Set OCC geometry in GenerateMesh()
This commit is contained in:
parent
37198d0cee
commit
22a894b8cf
@ -185,8 +185,8 @@ DLL_HEADER void ExportNgOCC(py::module &m)
|
|||||||
}
|
}
|
||||||
geo->SetOCCParameters(occparam);
|
geo->SetOCCParameters(occparam);
|
||||||
auto mesh = make_shared<Mesh>();
|
auto mesh = make_shared<Mesh>();
|
||||||
geo->GenerateMesh(mesh, mp);
|
|
||||||
mesh->SetGeometry(geo);
|
mesh->SetGeometry(geo);
|
||||||
|
geo->GenerateMesh(mesh, mp);
|
||||||
SetGlobalMesh(mesh);
|
SetGlobalMesh(mesh);
|
||||||
ng_geometry = geo;
|
ng_geometry = geo;
|
||||||
return mesh;
|
return mesh;
|
||||||
|
Loading…
Reference in New Issue
Block a user