mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +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);
|
||||
auto mesh = make_shared<Mesh>();
|
||||
geo->GenerateMesh(mesh, mp);
|
||||
mesh->SetGeometry(geo);
|
||||
geo->GenerateMesh(mesh, mp);
|
||||
SetGlobalMesh(mesh);
|
||||
ng_geometry = geo;
|
||||
return mesh;
|
||||
|
Loading…
Reference in New Issue
Block a user