Using API for Boolean operations
My model consists of two surfaces, which are intersected by a curve, as shown in the picture below:
I have written the Example.geo file that initially applies BooleanIntersection so that the curve is split into two curves, with common joint at the boundary of the two surfaces. Then it applies BooleanFragment to make the mesh conformal and to embed the curves. This is working correctly as it appears in the picture below:
I have tried to replicate the same example using the API, for which I've written the program in the file ExampleAPI.txt. The resulting mesh appears in the picture below. It seems that something is not working correctly.
Any advice would be greatly appreciated.
Files:
- Example.geo Example.geo
- ExampleAPI.txt ExampleAPI.txt