View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003286||GCS||[All Projects] General||public||2017-12-18 09:45||2018-10-06 15:38|
|Target Version||0.19||Fixed in Version|
|Summary||0003286: DogLeg bug (falling back to LevenbergMarquardt) and feature request|
|Description||FreeCAD 0.17 from 12813 Git.|
I am creating a (not-so complex) sketch for an internal project in my company, which also includes expressions linked to a spreadsheet.
The standard DogLeg solver apparently isn't able to solve the sketch when changing the parametrized dimension on first attempt, but I have to force a second recompute to let it solve correctly.
I am attaching the drawing to give you an idea.
Try changing the Variables.Stroke to something like 30mm and you'll notice that the two bodies are not updated correctly on first try. Console reports:
Recomputing the document manually with "Mark to recompute" and the Refresh button fixes it, but on a much larger file as the one I'm working on, this requires too much time, and for our use of FreeCAD, speed is critical.
This brings us to the second point: is it possible to force FreeCAD to use LevenbergMarquardt on recompute instead of just allowing DogLeg, which is currently bugged? I guess this would be easier and quicker to implement than fixing what ever is going wrong in DogLeg.
|Steps To Reproduce|
DogLegBug.FCStd (65,491 bytes)
||Please open a forum ticket to discuss with community. then bi-directionally link ticket<=>thread|
||please link ticket to forum and vice-a-versa|
||Link to forum: https://forum.freecadweb.org/viewtopic.php?f=8&t=25946|
Very interesting project, in which it is consistently reproducible the bug "Failed to ... broken face".
The feature request for general solver selection has also merit.
|2017-12-18 09:45||danidr||New Issue|
|2017-12-18 09:45||danidr||File Added: DogLegBug.FCStd|
|2017-12-18 09:45||danidr||Tag Attached: Solver|
|2017-12-18 12:16||Kunda1||Project||Sketcher => GCS|
|2017-12-18 12:16||Kunda1||Category||Bug => General|
|2017-12-18 12:16||Kunda1||Tag Attached: #post-to-forum|
|2017-12-18 12:17||Kunda1||Note Added: 0010616|
|2017-12-18 12:17||Kunda1||Status||new => feedback|
|2017-12-19 03:28||Kunda1||Note Added: 0010618|
|2017-12-19 09:08||danidr||Note Added: 0010619|
|2017-12-19 09:08||danidr||Status||feedback => new|
|2017-12-19 19:02||Kunda1||Severity||major => minor|
|2017-12-19 19:02||Kunda1||Tag Detached: #post-to-forum|
|2018-06-15 16:40||abdullah||Note Added: 0011441|
|2018-06-15 16:40||abdullah||Assigned To||=> abdullah|
|2018-06-15 16:40||abdullah||Status||new => assigned|
|2018-10-06 15:38||abdullah||Target Version||=> 0.19|