Skip to content

SmoothMeshLines2() stuck in infinite loop #356

@B137P107

Description

@B137P107

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions