Possible Bug. Sketcher issue when applying tangent to two arcs

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Karl1459
Posts: 13
Joined: Sat Nov 04, 2017 8:41 pm

Possible Bug. Sketcher issue when applying tangent to two arcs

Post by Karl1459 »

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

New Drawing.
In Part design create new body, then new sketch.
In sketcher,
Making two arcs with one point on each arc coincident to each other.
Then attempting to apply the tangent constraint.
Coincident constraint is BROKEN. Tangent is not applied.

Workaround.
Apply tangent constraint First.
Make arcs points coincident Second.
Attachments
SketcherBug1.FCStd
(4.95 KiB) Downloaded 38 times
SketcherBug2.FCStd
(4.84 KiB) Downloaded 38 times
SketcherBug3.FCStd
(4.97 KiB) Downloaded 53 times
SketcherBugStep1.jpg
SketcherBugStep1.jpg (107.33 KiB) Viewed 875 times
SketcherBugStep2.jpg
SketcherBugStep2.jpg (108.71 KiB) Viewed 875 times
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Possible Bug. Sketcher issue when applying tangent to two arcs

Post by DeepSOIC »

Karl1459 wrote: Sat Dec 21, 2019 8:14 pm Apply tangent constraint First.
Make arcs points coincident Second.
This is incorrect (well, it may not be from user's standpoint, but let's say it's a problem with how the solver works, fundamentally). You should select endpoints of the two arcs (before they are coincident), and apply tangent. This will make a tangent connection, with well-defined constraint math.

Sketcher attempted to fix your mistake, but it's been reported already that it doesn't work when auto-remove-redundants is enabled. That is indeed a bug.
Karl1459
Posts: 13
Joined: Sat Nov 04, 2017 8:41 pm

Re: Possible Bug. Sketcher issue when applying tangent to two arcs PREVIOUSLY REORTED

Post by Karl1459 »

Thanks for the quick evaluation and reply. Your time is appreciated!
I attempted the exercise with the "auto remove redundancies" box unchecked, and (from my users perspective) received the expected result. So that IS the issue.
Perhaps in the future, for those of us in the great unwashed masses not familiar with constraint math, documentation of the hierarchy of constraint actions would be helpful... maybe version 5.x or so...
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: Possible Bug. Sketcher issue when applying tangent to two arcs

Post by chrisb »

There is quite some documentation on sketching. You may have a look at https://owncloud.gwdg.de/index.php/s/HS ... I/download
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply