In the latest release v0.0.36 using Octave 10.2.0
The function SmoothMeshLines2() is used in AutoSmoothMeshLines(), and the latter is used in SmoothMesh().
By using the following set of values, SmoothMeshLines2() ends up by beeing stuck in while(1) loop (line 76) :
lines = [-22 -1.414 -0.25 0.25 1.414 2 22];
max_res = 14.99;
ratio = 1.5;
lines = SmoothMeshLines2(lines, max_res, ratio);
This can be easily avoided by making a slight change of the ratio, or by adding a line in the mesh.
In the latest release v0.0.36 using Octave 10.2.0
The function SmoothMeshLines2() is used in AutoSmoothMeshLines(), and the latter is used in SmoothMesh().
By using the following set of values, SmoothMeshLines2() ends up by beeing stuck in while(1) loop (line 76) :
lines = [-22 -1.414 -0.25 0.25 1.414 2 22];
max_res = 14.99;
ratio = 1.5;
lines = SmoothMeshLines2(lines, max_res, ratio);
This can be easily avoided by making a slight change of the ratio, or by adding a line in the mesh.