[Sketcher] Arrow heads disappear on hiding the grid

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!
User avatar
FBXL5
Posts: 988
Joined: Sat Aug 03, 2019 8:45 pm

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by FBXL5 »

Roy_043 wrote: Mon Apr 17, 2023 7:32 pm Do you still get this in more recent dev versions?
Yes. With this weekly build

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.0.32532 (Git)
Build type: Release
Branch: master
Hash: 20e44eba50e1365b9e7bb9c5c244afe96a627a28
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * freecad.gears 1.0.0
  * fcgear 1.0.0
  * Render 2023.2.2
  * Curves.backup1662374221.0929039
  * fasteners 0.4.55
  * sheetmetal 0.2.63
  * Help 1.0.3
  * Curves 0.6.8
  * Assembly3 0.11.4
the arrows behave like this (have a look at the dimensions as well):
ArrowHeads3.png
ArrowHeads3.png (384.49 KiB) Viewed 2544 times
I skipped the back views for One pass since they match the correct front views.
Roy_043 wrote: Mon Apr 17, 2023 7:32 pm I saw a mention of this on the Sketcher_Preferences page.
The description according to the Transparent objects setting is still valid, but it seems to be independent of the grid now.
@chrisb and @adrianinsaval can you still reproduce this behaviour?

With adrianinsaval's Linux system and Chris' and my 3 macOS systems it seems to relate to unix-based OSs.
"There is another preference that has an influence on sketches." should better read "... that may have an influence..."
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by chrisb »

FBXL5 wrote: Tue Apr 18, 2023 8:13 am The description according to the Transparent objects setting is still valid, but it seems to be independent of the grid now.
@chrisb and @adrianinsaval can you still reproduce this behaviour?
Yes and even worse: If I have grid enabled plus One pass everything is ok. If I then switch the preferences while in Sketcher, the arrows disappear even with grid enabled:
Snip macro screenshot-7e7b50.png
Snip macro screenshot-7e7b50.png (3.21 KiB) Viewed 2526 times
I have the same version as you:

Code: Select all

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32532 (Git)
Build type: Release
Branch: master
Hash: 20e44eba50e1365b9e7bb9c5c244afe96a627a28
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * fasteners 0.4.15
  * sheetmetal 0.2.63
  * Curves 0.6.8
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roy_043
Veteran
Posts: 8541
Joined: Thu Dec 27, 2018 12:28 pm

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by Roy_043 »

Thanks.

I can't reproduce on Linux either (same computer). So perhaps it is hardware related.

Code: Select all

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git) Snap 517
Build type: Release
Branch: tag: 0.20.2
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
User avatar
FBXL5
Posts: 988
Joined: Sat Aug 03, 2019 8:45 pm

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by FBXL5 »

Roy_043 wrote: Tue Apr 18, 2023 10:05 am I can't reproduce on Linux either (same computer). So perhaps it is hardware related.
What should cause hardware to display arrow heads from one direction but not from the other?
If it is related to depth or visibility calculation I would rather think it is software causing calculation errors than hardware.

Are there known issues related to mac hardware?
Especially
- 2012 MacBook Pro i7 with NVIDIA/Intel graphic card
- 2015 iMac i7 with AMD graphic card

I'm still curious if adrianinsaval's linux machine still reproduces this imperfection.
User avatar
Shalmeneser
Veteran
Posts: 9548
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by Shalmeneser »

OpenGL ?
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by chrisb »

Shalmeneser wrote: Tue Apr 18, 2023 10:06 pmOpenGL ?
I don't think so. I tried with SoftwareOpenGL and it's the same.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
FBXL5
Posts: 988
Joined: Sat Aug 03, 2019 8:45 pm

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by FBXL5 »

Shalmeneser wrote: Tue Apr 18, 2023 10:06 pmOpenGL ?
Neither OpenGL setting has an impact.
heron
Posts: 307
Joined: Mon Apr 20, 2020 5:32 pm

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by heron »

Hello, did you test it with a clean setup?
I mean by deleting user.cfg to get a reseted preferences and parameters.
User avatar
FBXL5
Posts: 988
Joined: Sat Aug 03, 2019 8:45 pm

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by FBXL5 »

heron wrote: Wed Apr 19, 2023 12:34 pm Hello, did you test it with a clean setup?
I mean by deleting user.cfg to get a reseted preferences and parameters.
Yes, with a fresh .cfg file I found out that it depends on the Transparent objects setting back in August.
heron
Posts: 307
Joined: Mon Apr 20, 2020 5:32 pm

Re: [Sketcher] Arrow heads disappear on hiding the grid

Post by heron »

FBXL5 wrote: Wed Apr 19, 2023 1:25 pm setting back in August.
Ops, I missed the other page of the thread, sorry for the noise.
Post Reply