Sketcher dimension lines with only one arrow!

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!
Post Reply
GigiG
Posts: 104
Joined: Mon Feb 17, 2014 9:07 am
Location: Torino, Italy
Contact:

Sketcher dimension lines with only one arrow!

Post by GigiG »

Suddenly the dimension representations shows like the following snapshot (only one arrow at the end of dim. line), I don't why and when it started to happen.
freecad06.png
freecad06.png (22.23 KiB) Viewed 993 times
OS: Linux Mint 20 (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: f5710fb5cf551b026617f6248afd5cc2c48a3750
Python version: 3.8.2
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)
-----------------------------------------------------------------------------------------------------------------------
0.0 VGA compatible controller: NVIDIA Corporation G92GLM [Quadro FX 3700M] (rev a2)
model name : Intel(R) Core(TM)2 Duo CPU T9800 @ 2.93GHz
cpu MHz : 1579.383
model name : Intel(R) Core(TM)2 Duo CPU T9800 @ 2.93GHz
cpu MHz : 1601.611
X.Org version: 1.20.8
dimensions: 1920x1200 pixels (508x317 millimeters)
depth of root window: 24 planes
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
OpenGL vendor string: nouveau
OpenGL renderer string: NV92
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.8
Linux 5.4.0-48-generic
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Sketcher dimension lines with only one arrow!

Post by DeepSOIC »

Can you please try reset your freecad settings?

There is a button at the bottom of preferences dialog. But I recommend you to back up your config files, for both your convenience, and to help reproduce the bug. The directory of config files can be queried by typing App.getUserAppDataDir() to FC's python console.

Can you also try viewing sketch from the back? to see if the different arrows show up from behind? (then it's a face orientation issue)
GigiG
Posts: 104
Joined: Mon Feb 17, 2014 9:07 am
Location: Torino, Italy
Contact:

Re: Sketcher dimension lines with only one arrow!

Post by GigiG »

freecad07.png
freecad07.png (74.45 KiB) Viewed 967 times
from bottom:
freecad08.png
freecad08.png (22.68 KiB) Viewed 967 times
after reset settings (before FC restart):
freecad09.png
freecad09.png (73.35 KiB) Viewed 967 times
after FC restart:
freecad10.png
freecad10.png (74.18 KiB) Viewed 967 times
[EDIT] My .FreeCAD zipped folder is too big to attach (8.1MB)
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketcher dimension lines with only one arrow!

Post by chrisb »

Just upload the user.cfg file. The whole directory contains all your addons too.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
GigiG
Posts: 104
Joined: Mon Feb 17, 2014 9:07 am
Location: Torino, Italy
Contact:

Re: Sketcher dimension lines with only one arrow!

Post by GigiG »

My user.cfg file
Attachments
user.cfg.txt
renamed to .txt
(46.81 KiB) Downloaded 28 times
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Sketcher dimension lines with only one arrow!

Post by Syres »

Fault occurs when the line 488 in user.cfg under View parameter group:

Code: Select all

          <FCInt Name="RenderCache" Value="0"/>
or

Code: Select all

          <FCInt Name="TransparentObjectRenderType" Value="1"/>
is present. I'll do a bit more digging into the code to see if I can have a go at preventing future occurrences.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Sketcher dimension lines with only one arrow!

Post by Syres »

So from a GUI point of view the setting that appears to be the root cause is in Edit > Preferences > Display > 3D View tab > Transparent objects:

With Backface Pass set causes the only one arrow head to show therefore changing to One Pass corrects the issue. It's now looking as though the Render Cache is a red herring and can be ignored.
zetka
Posts: 22
Joined: Thu Oct 29, 2020 10:24 pm

Re: Sketcher dimension lines with only one arrow!

Post by zetka »

Thanks, it happened to me suddenly too, the solution in the GUI helped.
Post Reply