That is understandable as the DraftGeomUtils.findIntersection() function looks for endpoints that exactly match first. In that case it just returns that point without calculating the intersection. If the edges are from a single triangular wire an exact match will be found. With one edge from the sketch and one edge from the wire there is a minute tolerance between the endpoints that apparently match.
Draft is not showing the correct angle dimension
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Draft is not showing the correct angle dimension
Re: Draft is not showing the correct angle dimension
With the center being wrong, the resulting angle depends on which endpoint of the edges is used in the calculations.
Re: Draft is not showing the correct angle dimension
@Roy_043 I also notice that in the previous version and current version that linear dimensions are correct in all views including home view. But angle dimensions are not correct in home view but other views are correct. This is a different test: Attached
The 125.26 is the correct angle.
The 125.26 is the correct angle.
- Attachments
-
- s6.png (28.79 KiB) Viewed 851 times
-
- s5.png (24.78 KiB) Viewed 851 times
-
- line_angle7.FCStd
- (7.36 KiB) Downloaded 20 times
Re: Draft is not showing the correct angle dimension
That is a different issue. You need to ensure that the draft working plane is correctly aligned before creating an angular dimension.
Re: Draft is not showing the correct angle dimension
@Roy_043 Okay going back to the original problem and in current version:
If I make a wire over the lines, including the sketch line, then delete the sketch, The angle from the wire is correct: Attached
Edit:
All was even with screen as I again used the Align_View_to_Face.FCMacro. But even aligned, a dimension to the sketch line shows wrong, but I know the angle is correct, verified with @edwilliams16 macro and sketcher is correct.
If I make a wire over the lines, including the sketch line, then delete the sketch, The angle from the wire is correct: Attached
Edit:
All was even with screen as I again used the Align_View_to_Face.FCMacro. But even aligned, a dimension to the sketch line shows wrong, but I know the angle is correct, verified with @edwilliams16 macro and sketcher is correct.
- Attachments
-
- s7.png (23.64 KiB) Viewed 815 times
-
- line_angle8.FCStd
- (6.25 KiB) Downloaded 20 times
Last edited by jfc4120 on Sun Jan 29, 2023 10:17 pm, edited 1 time in total.
Re: Draft is not showing the correct angle dimension
I have already explained that. It does not make sense to add more files when the cause of the problem has already been identified.
Re: Draft is not showing the correct angle dimension
Alright, I will start a new post concerning home view dimensions, since that is a different issue. Thanks
Also will the issue here be corrected soon?
Also will the issue here be corrected soon?
- thomas-neemann
- Veteran
- Posts: 11919
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Draft is not showing the correct angle dimension
workaround: draw an additional polyline before dimensioning
Re: Draft is not showing the correct angle dimension
Thanks, but this solution has already been given twice in this topic.