[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: 957
Joined: Sat Aug 03, 2019 8:45 pm

[Sketcher] Arrow heads disappear on hiding the grid

Post by FBXL5 »

I observed a strange behaviour: :shock:
When I toggle the sketcher grid off, some arrow heads disappear:
ArrowHeads1.png
ArrowHeads1.png (82.01 KiB) Viewed 3440 times
ArrowHeads2.png
ArrowHeads2.png (54.69 KiB) Viewed 3440 times
It looks rather like a bug than a feature. 8-)
Is this a known issue?

VanishingArrowHeads.FCStd
(69.52 KiB) Downloaded 63 times

Code: Select all

OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.21.29997 (Git)
Build type: Release
Branch: master
Hash: b52967d52ac46eff7c59e74d991f3f5b298944ef
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * Reinforcement
  * Render 2022.2.0
  * sheetmetal 0.2.56
  * Help 1.0.3
  * Curves 0.5.4
  * Assembly3 0.11.3
User avatar
Shalmeneser
Veteran
Posts: 9443
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

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

Post by Shalmeneser »

I've encounter this bug before.
* Don't know where it comes from
* Don't know how it has autorepaired
chrisb
Veteran
Posts: 53785
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

No problem here. Did you reset the config?

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.29997 (Git)
Build type: Release
Branch: master
Hash: b52967d52ac46eff7c59e74d991f3f5b298944ef
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * FC_SU
  * FeedsAndSpeeds 0.4.0
  * fcgear 1.0.0
  * fasteners 0.3.51
  * sheetmetal 0.2.56
  * ExplodedAssembly
  * Curves 0.5.4
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
jnxd
Posts: 951
Joined: Mon Mar 30, 2015 2:30 pm
Contact:

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

Post by jnxd »

Shalmeneser wrote: Wed Aug 10, 2022 11:17 am I've encounter this bug before.
* Don't know where it comes from
* Don't know how it has autorepaired
Could you at least post your about info? Could give some clues of what's happening. It doesn't have to be able to reproduce the bug right now, but it will help if it's close enough to a version that does.
My latest (or last) project: B-spline Construction Project.
User avatar
Shalmeneser
Veteran
Posts: 9443
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

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

Post by Shalmeneser »

Too many versions. :lol:
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

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

Post by adrianinsaval »

I can reproduce too

Code: Select all

OS: Linux 5.18.16-arch1-1 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.29967 (Git)
Build type: None
Branch: master
Hash: 43dcbe4a315171b62642a95a0e54ba1c394edab5
Python 3.10.5, Qt 5.15.5, Coin 4.0.1, Vtk 9.1.0, OCC 7.5.3
Locale: C/Default (C) [ OS: English/United Kingdom (en_GB) ]
Installed mods: 
  * fasteners 0.3.50
  * Assembly3 0.11.3
  * CfdOF 1.17.7
  * Plot 2022.4.17
  * Curves 0.5.4
  * DynamicData 2.46.0
  * Dracula 0.0.2
  * SelectorToolbar
  * FC_SU
  * A2plus 0.4.56a
  * AirPlaneDesign
  * Glass
  * Assembly4 0.12.3
  * CurvedShapes 1.0.4
  * CubeMenu
  * sheetmetal 0.2.56
User avatar
FBXL5
Posts: 957
Joined: Sat Aug 03, 2019 8:45 pm

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

Post by FBXL5 »

Found it! :D
A property in the preferences hides the arrow heads.

Preferences - Display - 3D Viev - Transparent objects:

- One pass: Arrow heads all visible
- Bacface pass: Hides arrow heads.

Can you confirm?
chrisb
Veteran
Posts: 53785
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

FBXL5 wrote: Thu Aug 11, 2022 8:58 am Can you confirm?
Confirmed.

How did you find it? I ask because I currently have issues with my config as well.

And by the way: what does this setting do?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
FBXL5
Posts: 957
Joined: Sat Aug 03, 2019 8:45 pm

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

Post by FBXL5 »

chrisb wrote: Thu Aug 11, 2022 12:12 am Did you reset the config?
Yes, I renamed user.cfg and FreeCAD created a new one.
All arrow heads were visible, with or without grid enabled.
chrisb wrote: Thu Aug 11, 2022 9:52 am How did you find it?
I started editing the preferences with sketcher open and grid disabled.
When I hit apply after switchng from One pass to Backface pass i noticed that the arrow heads were invisible again.

Then I reaktivated my old user.cfg and I was able toggle the arrow heads with the same property as well.
chrisb wrote: Thu Aug 11, 2022 9:52 am And by the way: what does this setting do?
I have no clue now, but I may had one when I switched to Backface pass some time ago. :)
I'll have a look what the wiki has to offer about this property.

Edit:
That is what the wiki knows: Preferences_Editor#3D_View

arrow1.png
arrow1.png (100.45 KiB) Viewed 3113 times
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

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

Post by Roy_043 »

I saw a mention of this on the Sketcher_Preferences page.

I can't reproduce this in either V0.19, V0.20 or V0.21. So this bug may be OS or hardware related.

@FBXL5 Do you still get this in more recent dev versions?

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Build type: Release
Branch: (HEAD detached from 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Dutch/Netherlands (nl_NL)
Installed mods:
Post Reply