How to translate a built-in cad face to occ face?
Hello, everybody!
I want to deal with a terrain stl file by boolean command.
Refered to the terrain case, I translated the stl file to a gmsh built-in surface by the command gmsh.model.getEntities(2)
, and when I tried to cut the stl file, it caused a error. If I use a occ surface instead of the stl generated surface, the error is gone.
What I can do is to find a way to use built-in cad boolean calculation of translate the built-in cad face to occ face. The former could't achieve because boolean operations are only available with the occ kernel. I tried the command gmsh.model.occ.getEntities(2)
, but it can't find anything. Is there any command like gmsh.model.occ.mesh.createGeometry()
to generate a occ face, or other command to translate a built-in cad face to occ face?
Hope for your reply. Thanks!