The problem when creating an arc greater than 90° is, that we cannot know if it should be drawn in positive or negative mathematical direction.
This arises e.g. when a model is created with the JSON API and we perform boolean operations on the model. Then usually new geometrical entities are created and previously created arcs are recreated with new Gmsh IDs. If we want to recover the arc from the Gmsh model, we can't know in which direction the arc is drawn at the moment.
- Should we raise an error if a arc greater 90° is drawn?
- Can this issue be solved with Gmsh, because there must be the information somewhere...?
For now this is mainly an issue when plotting the arc in PyEMMO. For know we always plot the arc in the "shorter" direction.
The problem when creating an arc greater than 90° is, that we cannot know if it should be drawn in positive or negative mathematical direction.
This arises e.g. when a model is created with the JSON API and we perform boolean operations on the model. Then usually new geometrical entities are created and previously created arcs are recreated with new Gmsh IDs. If we want to recover the arc from the Gmsh model, we can't know in which direction the arc is drawn at the moment.
For now this is mainly an issue when plotting the arc in PyEMMO. For know we always plot the arc in the "shorter" direction.