[BUG] Coincidence with external geometry in Sketcher WB

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

[BUG] Coincidence with external geometry in Sketcher WB

Post by openBrain »

Hi,

I create a new topic to ease bug identifying.
At this thread a potential bug was found and confirmed ATM by bejant.

Bug description : in the "Constraints" group of the Tasks tab (left combo view) when selecting a coincidence (point on point) constraint set between a sketch drawing line endpoint and an external geometry line endpoint, then the 3D view shows highlighted (dark green by default) both the constrained point but also the center (origin) point :!: This tends user to believe that point is constrained coincident with the center point while it isn't.
This wrong behavior seems to be not reproducible with other type of line than external geometry.
I attach a file that demonstrates the issue with a minimalist example (just select one of the constraints in the combo view with Sketch in edit mode).

Thans for further confirmation/investigation.

Bug currently confirmed with these FC infos :
---
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15780 (Git)
Build type: Release
Branch: master
Hash: f94e76c1116ec3b818961ff65131b3d86fa5b95e
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
---
OS: Ubuntu 18.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.18.15780 (Git)
Build type: Release
Branch: master
Hash: f94e76c1116ec3b818961ff65131b3d86fa5b95e
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
bug_display_coincidence.FCStd
(8.37 KiB) Downloaded 32 times
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by chrisb »

I added a comment in the linked post.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by openBrain »

chrisb wrote: Sun Feb 10, 2019 11:24 pm I added a comment in the linked post.
The file I attached to the OP is a pure 0.18 file created from scratch and ... it has the same problem in my configuration. ;)
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by kisolre »

Does the same here. If a coincidence constraint connects to an external geometry vertex when it is selected in the Tasks pannel the sketch RootPoint also becomes greem as if it is selected. This does not happen when coincidence does not include external geometry vertex.

OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15694 (Git)
Build type: Release
Branch: master
Hash: 96dee91d5e7d7fd37f43a4dcf406a120ae1f1b8a
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by chrisb »

openBrain wrote: Mon Feb 11, 2019 10:35 am The file I attached to the OP is a pure 0.18 file created from scratch and ... it has the same problem in my configuration. ;)
Very good example, would you please create a bug report?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by openBrain »

chrisb wrote: Mon Feb 11, 2019 7:47 pm Very good example, would you please create a bug report?
:? :? I'm still lacking an account there. :oops: May you or someone else with an account in the tracker do it ?
Do not hesitate to tell me if it's a pain for you, i'll create an account and do it by myself (even if I'll grumble about unavailable SSO :lol: )
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by bejant »

After looking at this again, it might be specific to that single file, posted in this topic:
https://forum.freecadweb.org/viewtopic. ... 43#p285180

I tested again and don't get that behavior in the file I uploaded in my reply to that one, but I Constrained differently.
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by chrisb »

A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by chrisb »

Bejant, could you please retest with the reproduction recipe I gave in the ticket?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: [BUG] Coincidence with external geometry in Sketcher WB

Post by kisolre »

chrisb, the description of the problem is somewhat misleading in the last step - selecting the connection point in 3D view works as expected. But selecting the coincidence constraint in Tasks panel highlights not only it but also the RootPoint of the sketch.
Post Reply