Anisotropic meshes with OCC

Hello,

I have read this article on anisotropic mesh generation with great interest:
https://docu.ngsolve.org/latest/netgen_tutorials/meshsize.html

The article uses CSG. I want to reproduce the illustration on the bottom of the article using OCC, but I have been unsuccessful because I have not found the OCC-equivalent of
CSGeometry().CloseSurfaces
Does such an equivalent exist?
If not, is there any other simple way to reproduce the illustration using OCC?

Best,
Sindre

Hi Sindre,
Yes that’s possible. You are lucky: this feature is so new that there is no documentation yet

Here is the example from the documentation using OCC (we still have problems in the forum with attachments, that’s why I’m using a github gits):

Best,
Matthias

Great! Thanks a lot for the gist :slight_smile:
Best,
Sindre