[bug] "revolve" function return wrong index of newly generated points, lines, and surface
When I use "revolve" only in python, it works fine. At the same time, I am also tring to reproduce a corresponding .geo file for further use (I know one can generate .msh file directly though
However, after I generate .geo file using the index get from "revolve", this .geo cannont build a correct geometry in gmsh.exe binary. Please find the attached "bug_example.py". By executing this file, you will get a file named "example.geo". I also attached a screenshot to show how this wrong "example.geo" should be corrected.
It will be nice if someone have the solution.
Thanks!