In my script I want to create a mesh from points, read from a .txt file. However I get the error:
Exec error : Error points border points to close < diameter*1e-7
– number :1
I have looked for a solution, but could not find out what is wrong. When I plot the boundaries it does not seem a direction error.
The code I use to read in the coordinates and create the mesh is the following:
I cannot upload the .txt file with the coordinates, but for the sake of completeness, this is in the .txt file:
81
0.026310 0.041032
0.026124 0.038610
0.027615 0.037678
0.028733 0.038796
0.029478 0.036560
0.027801 0.035442
0.028733 0.033578
0.029851 0.032087
0.030037 0.031715
0.030224 0.030037
0.030783 0.027615
0.030783 0.027615
0.030969 0.026124
0.031156 0.024819
0.031901 0.023888
0.032274 0.022024
0.033765 0.019974
0.034324 0.019042
0.036187 0.017738
0.037678 0.016061
0.038796 0.015129
0.041592 0.013452
0.041592 0.013452
0.042896 0.013638
0.046250 0.013452
0.048114 0.014570
0.051841 0.014197
0.052400 0.014570
0.053518 0.016061
0.054450 0.016247
0.057059 0.016620
0.058923 0.016993
0.063209 0.016993
0.063582 0.016993
0.065259 0.019229
0.066004 0.019974
0.066936 0.022210
0.068054 0.024447
0.066004 0.025565
0.066936 0.027801
0.067122 0.030783
0.068054 0.033765
0.067868 0.035814
0.068054 0.039355
0.068427 0.039542
0.068427 0.039542
0.066563 0.041778
0.066377 0.042151
0.065631 0.042896
0.065445 0.040473
0.064327 0.040287
0.063209 0.041405
0.062836 0.042151
0.063209 0.044014
0.063395 0.045319
0.064700 0.044760
0.065259 0.044200
0.066191 0.047741
0.064700 0.048673
0.063209 0.050164
0.062277 0.051655
0.061159 0.053146
0.060227 0.054077
0.058550 0.055009
0.057059 0.055941
0.055755 0.056500
0.053518 0.057804
0.051096 0.058177
0.049791 0.058177
0.047182 0.058177
0.045132 0.057804
0.042710 0.057245
0.040846 0.056873
0.038423 0.055196
0.035814 0.054450
0.033765 0.052027
0.033205 0.049232
0.031715 0.046809
0.030224 0.046064
0.028919 0.043828
0.026310 0.041032