How to transfinite a curve and also do boolean operation in Python API
Dear Community, Hope doing well and being healthy. I a using Python API of gmsh version 4.7.0. I have hundreds of points, lines and surfaces in my model. I am using a boolean operation at the end of my script:
gmsh.model.occ.fragment([(0,i) for i in range(..., ...)], [(3,1)])
gmsh.model.occ.fragment([(2,i) for i in range(..., ...)], [(3,1)])
gmsh.model.occ.fragment([(2,7)], [(3,1)])
Before these line, I am transfiniting some of my lines (gmsh.model.mesh.setTransfiniteCurve(13, 10, "Progression")
). But after running the boolean operation, the results of transfinite cannot be seen anymore. It seems the boolean operation removed the inflence of transfinite. I have put the boolean operation at the end of my script but it is still removing the tranfinite result. I have too many points, lines and surfaces and finding the tag number of them updated after boolean operation is almost impossible. Is there any way to save my transfinite from the boolean operation?
In advance, I do appreciate any help.