Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Surface max mesh size

More
4 years 8 months ago #1781 by OCCUser
Hello everybody,
Is it possible to set surface max mesh size with python, the same as it is in GUI Geometry->Edit Face Mesh Size and apply max mesh size for every surface.
Thanks
More
4 years 7 months ago #1799 by christopher
Replied by christopher on topic Surface max mesh size
I've exported the function to Python. If you update to a nightly release you should be able to set the meshsize for an occ face with
Code:
geo.SetFaceMeshsize(facenr, maxh)

but you have to somehow know your face enumeration.

Best
Christopher
Time to create page: 0.150 seconds