View Issue Details

IDProjectCategoryView StatusLast Update
0004124SketcherBugpublic2021-02-20 17:33
Reporterdimitar Assigned To 
PrioritynormalSeverityminorReproducibilityrandom
Status newResolutionopen 
PlatformWindowsOSWindowsOS Version10
Product Version0.18 
Target Version0.20 
Summary0004124: Sketcher angle produces errors when units set in m/kg/degree
DescriptionSketcher Angle produces errors when in meters constantly when creating angle constraints. As per the forum below, it seems to be an imprecision issue.

Even, as in the suggestion of the forum, creating enabling advanced solver, and enabling sketch size multiplier, the issue persists.

Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=37716&hilit=angle
 
Steps To Reproduce1. Create a sketch
2. Create 2 lines a good distance away from the sketch origin
3. Add angle constraint
4. Leave the sketch
5. Adjust the angle constraint in the sketch properties
6. Sometimes the sketch fails to recompute throwing an Sketcher Invalid Constraint Index 22 or just an Error or Error 3.
Additional InformationOS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Tags#pending-forum, units
FreeCAD Information

Activities

dimitar

2019-09-11 20:43

reporter  

edgeAngleError.FCStd (13,889 bytes)

dimitar

2019-09-12 00:26

reporter   ~0013582

I've started another thread with a fresh example. In the attached file, if the spreadsheet number gets changed, the angle sometimes adjusts itself, sometimes it doesn't.

https://forum.freecadweb.org/viewtopic.php?f=3&t=39276

dimitar

2019-09-13 17:05

reporter   ~0013592

i've just experienced this behavior with a radius constraint. I suspect it must be a rounding issue due to the fact that I am working in meters. In the following example, if i change the radius from 70m to 50m, i get the following error, also, if i go down to what it gives me and then try to go back up I also get and invalid constraints with index 8.
FreeCAD_Dv3e0Ajbbs.png (29,945 bytes)   
FreeCAD_Dv3e0Ajbbs.png (29,945 bytes)   
FreeCAD_wjaJcbFmgB.png (20,931 bytes)   
FreeCAD_wjaJcbFmgB.png (20,931 bytes)   
constraints issue.FCStd (15,072 bytes)

Kunda1

2021-02-20 17:33

administrator   ~0015391

Moved to Sketcher category

@abdullah care to take look?

yorik

2022-03-03 13:55

administrator   ~0016820

This ticket has been migrated to GitHub as issue 5986.

Issue History

Date Modified Username Field Change
2019-09-11 20:43 dimitar New Issue
2019-09-11 20:43 dimitar File Added: edgeAngleError.FCStd
2019-09-12 00:26 dimitar File Added: angled constraints issues.FCStd
2019-09-12 00:26 dimitar Note Added: 0013582
2019-09-12 16:24 Kunda1 Tag Attached: units
2019-09-12 16:24 Kunda1 Tag Attached: #pending-forum
2019-09-13 17:05 dimitar File Added: FreeCAD_Dv3e0Ajbbs.png
2019-09-13 17:05 dimitar File Added: FreeCAD_wjaJcbFmgB.png
2019-09-13 17:05 dimitar File Added: constraints issue.FCStd
2019-09-13 17:05 dimitar Note Added: 0013592
2021-02-06 06:50 abdullah Target Version => 0.20
2021-02-20 17:32 Kunda1 Project FreeCAD => Sketcher
2021-02-20 17:33 Kunda1 Note Added: 0015391