[Problem] Sketcher: Rounded corners frame rectangle with negative thickness crashes FreeCAD #15834
Closed
2 tasks done
Labels
Mod: Sketcher
Related to the Sketcher Workbench
Type: Bug
This issue or PR is related to a bug
Type: Crash
For issues describing crashes or PRs fixing one
Is there an existing issue for this?
Problem description
In Sketcher, when drawing a "Centered rectangle" with modes "Rounded corners" and "Frame" activated, and On-View-Parameters (OVP) "Dimensions only", FreeCAD crashes when entering the final number for the thickness with a negative value (decimal numeral or not). See attached video.
With commercial tubes you normally know the external dimensions and the thickness.
The result is correct if "Rounded corners" are deactivated (only Frame mode). FreeCAD neither crashes if no numeral is entered in thickness OVP and it is latter assigned with a Construction line; then in the Report view appears this:
00:43:02 Sketch: Solving the sketch failed
00:43:02 Sketch: Solving the sketch failed
Attached the file with this last method that doesn't crash, if it helps.
Tested and found in 0.22 revisions 38419, 38385, 37543 and 35966. I suspect that somebody has spotted this problem before but I haven't found any related issue.
Full version info
Subproject(s) affected?
Sketcher
Anything else?
Rounded-2.mp4
Crash.FCStd.zip
Code of Conduct
The text was updated successfully, but these errors were encountered: