- Thank you received: 0
Surface max mesh size
5 years 3 months ago #1781
by OCCUser
Surface max mesh size was created 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
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
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
5 years 3 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
but you have to somehow know your face enumeration.
Best
Christopher
Code:
geo.SetFaceMeshsize(facenr, maxh)
but you have to somehow know your face enumeration.
Best
Christopher
Time to create page: 0.089 seconds