looo wrote: ↑
Mon Apr 27, 2020 4:33 pm
Whats the easiest way to align to the new interface?
An option might be to add an implementation of OCCGenerateMesh to NETGENPlugin_Mesher.cxx in order to reduce the amount of changes. It could look like this:
Code: Select all
int OCCGenerateMesh(OCCGeometry& geo, shared_ptr<Mesh>& mesh, MeshingParameters& mp)
auto value = geo.GenerateMesh(mesh, mp);
Or should we use the python bindings they provide to interface the meshing functionality?
I wouldn't do that because it could become quite inefficient because the functions which call OCCGenerateMesh can be invoked many times.
a new function and if yes what's the type of occparam