[SOLVED] Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

[SOLVED] Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by Kunda1 »

issue #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry
Description
When you create a sketch on a Datum Plane and want to select external geometry the datum plane often covers the underlying features or datum geometry by switching to solid yellow.

Steps To Reproduce
create a PAD , create a datum plane above or on surface of the PAD. Create sketch on this plane and try to select any external geometry. Randomly the plane switches to solid yellow covering the objects below.
Image
Last edited by Kunda1 on Fri Sep 17, 2021 1:55 am, edited 1 time in total.
Reason: Added [Solved] to thread title
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by chrisb »

That's the (normal) preseselction mechanism. It can be switched off in the preferences, or you simply hide the DatumPlane when working in Sketcher.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by TheMarkster »

Even if the datum plane remained transparent I think it still blocks being able to select the objects behind it. We don't want to change this behavior because sometimes the datum plane is what we want to select, or datum line or datum point.

But I also think preselection should respect the current transparency setting. It is very annoying when you have transparency to something other than 0 and the preselection mechanism hides the internals of the object. I've seen some color picker dialogs that allow you to enter 2 more digits in the hex color box to represent the desired alpha. I think it was in Gimp2. If that were the case we could select a transparency setting for the preselection color.
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by HarryGeier »

The annoying Thing is, it does not switch to opaque all ways, just occasionally. Meanwhile i got accustomed to it and i switch the datum planes off most every time i go into a sketch. I also see no real reason why to select a datum plane inside sketcher, or do i miss something here ?
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
User avatar
chennes
Veteran
Posts: 3883
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by chennes »

So this bug, issue #3370 (dated 2018-03-12!!) is still open... but I think it's been fixed. If anyone else has a few minutes, could you please download the attached FCStd file, open the sketch called "Sketch 001", and try to create an edge linked to external geometry. Move the mouse around and verify that at no point does the datum plane become opaque, and that you can easily select edges from the real (non-datum) geometry. Please report your About... version info, and what your results are. Thanks!
Attachments
yellow_plane.FCStd
(20.84 KiB) Downloaded 36 times
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by Roy_043 »

I can't reproduce the bug.

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git)
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Dutch/Netherlands (nl_NL)
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by GeneFC »

No problem seen with LibPack or Conda versions

Code: Select all

OS: Windows 7 SP 1 (6.1)
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git)
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)

OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git)
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
I did see a warning/error message about TempoViz.

Code: Select all

<string>(1)<class 'ModuleNotFoundError'>: No module named 'Show.TempoVis'
I see this from time to time, but I do not know why.

Gene
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by Bance »

No problems here either:-

OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: makepkg
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.9.6
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)
User avatar
chennes
Veteran
Posts: 3883
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Ticket #3370: Datum Plane in Sketcher often switches to opaque Yellow when selecting external Geometry

Post by chennes »

Thanks everyone for testing: I'm going to call this one "solved." Bug closed.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply