Dimensions thicker before save & load

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
hko
Posts: 96
Joined: Thu Apr 23, 2020 10:44 pm

Dimensions thicker before save & load

Post by hko »

I noticed that if I add new dimensions to my model, they look thicker than the old ones even though line thickness property is identical. It seems this extra thickness goes away with save & close & load.

My model has a lot of dimensions that I've been adding over the months. I feel this issue has appeared within the last two months or so in master branch (yes, I'm a bit late reporting it and at first I thought that default thickness was changed or something). I can try to bisect when I find some time.

Steps to reproduce:
1. Create a new file.
2. Create a dimension.
3. Save file.
4. Close file.
5. Load the saved file.
6. Create another dimension.
7. Observe that the second dimension looks thicker than the first (loaded) one.

In the image below, the bottom two dimensions have been loaded and the top one is a "fresh" one.
first.png
first.png (12.89 KiB) Viewed 666 times

In the image below, I have saved and loaded the situation in the previous image. I did nothing else. Camera position etc. is the same. As you can see, now the top dimension looks more or less identical to the rest.
second.png
second.png (12.69 KiB) Viewed 666 times

I tested that this happens both with antialiasing off and on (MSAA 4x).

There are some thickness differences depending on how camera is positioned and antialiasing can affect things, but this seems clearly something different.

Code: Select all

OS: Ubuntu 20.04.5 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: recent master branch (see hash)
Build type: Debug
Branch: master
Hash: 5df954690787dedbbf3c35f658f010f388474676
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.3.0
Locale: English/United States (en_US)
Installed mods: 
  * 3DfindIT 1.2.0
  * Render 2022.2.0
  * BIM 2021.12.0
  * Reinforcement
  * Manipulator 1.4.9
  * Assembly4.backup1662941442.2770898
  * parts_library
  * Assembly4 0.12.4
  * fasteners 0.4.10
  * dodo
Post Reply