View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004501 | GCS | Bug | public | 2020-11-24 19:02 | 2021-01-23 07:00 |
Reporter | chrisb | Assigned To | abdullah | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Summary | 0004501: Solver doesn't find redundancy | ||||
Description | If more constraints are added, even though the solver shows an error, then the solver may reach a state where he doesn't report redundancies correctly, see forum post. On MacOS the solver suggests wrong DOF, see the first post in the same topic as above: forum topic. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | OS: macOS 10.15 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.23058 (Git) Build type: Release Branch: master Hash: 6e60870ebcb2df018adb7a1281c00dde87750f11 Python version: 3.8.6 Qt version: 5.12.5 Coin version: 4.0.0 OCC version: 7.4.0 Locale: C/Default (C) | ||||
FreeCAD: master 5609269c 2021-01-19 18:54:50 Committer: abdullahtahiriyo Details Diff |
GCS: New Constraint for equal size lines, avoiding to use an extra parameter ============================================================================ This specific constraint removes the free parameter of the previous implementation. This solves: https://tracker.freecadweb.org/view.php?id=4501 fixes 0004501 However, this implementation of equal size produces zero gradients when coordinates of lines are aligned, e.g. vertical or horizontal. These zero gradients, which are mathematically right ruin the diagnosis, which regards corresponding elements as fully constraint (because they are locked from a solver point of view), when they are simply locked, but are movable and constrainable. For this, when the rightful gradient is small enough (<1e-10) it is substituted by a surrogate gradient of 1e-10, which solves the problem with the diagnose, which treats as zero only values under 1e-13 (pivot threshold used in QR decomposition). This special behaviour fixes the wrong detection here: https://forum.freecadweb.org/viewtopic.php?f=8&t=53466&start=40#p464168 It also fixes this one: https://forum.freecadweb.org/viewtopic.php?p=468585#p468587 |
Affected Issues 0004501 |
|
mod - src/Mod/Sketcher/App/planegcs/Constraints.cpp | Diff File | ||
mod - src/Mod/Sketcher/App/planegcs/Constraints.h | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-24 19:02 | chrisb | New Issue | |
2020-11-24 19:02 | chrisb | Status | new => assigned |
2020-11-24 19:02 | chrisb | Assigned To | => abdullah |
2020-11-27 23:27 | chrisb | Summary | Solver suggests wrong DOF => Solver doesn't find redundancy |
2020-11-27 23:27 | chrisb | Description Updated | |
2021-01-23 07:00 | abdullah | Changeset attached | => FreeCAD master 5609269c |
2021-01-23 07:00 | abdullah | Note Added: 0015218 | |
2021-01-23 07:00 | abdullah | Status | assigned => closed |
2021-01-23 07:00 | abdullah | Resolution | open => fixed |