FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Arc length constraints not applying correctly until next invocation of solve · Issue #1378 · solvespace/solvespace · GitHub

Arc length constraints not applying correctly until next invocation of solve #1378

Description

System information

  • SolveSpace version: 3.1~70bde63c
  • Operating system: Windows 10

Expected behavior

Constraints regarding arc lengths apply upon solve.

Actual behavior

There are cases in which constraints regarding arc lengths aren't solved when the values are set, but only when the solver is called again.

arcs.zip

In the attached file, updating the ratio constraint between arcs to be 5:1 will not actually apply correctly. The constraint is solved, only once the solver is called again (by dragging, adding a new constraint, etc.)

Additional information

I believe that the constraint formulas are based off the initial central angle of the arc, and different formulas are used depending on whether that angle is greater/less than 180 degrees. If that threshold is crossed during the solve step, the formula is not updated, so the solver ends up solving for the incorrect arc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL