Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
NHSA_Rainer
Posts: 104 Joined: Mon Aug 30, 2021 3:37 pm
Post
by NHSA_Rainer » Wed Jun 22, 2022 11:15 pm
Hi,
I have been searching for a while but did not find anything and so I ask here.
How can I change the colour Green and Red of the measure lines and is there a way to change the font thickness to bold ?
Thanks Rainer
Change_Measure_Line_Colour.JPG (34.88 KiB) Viewed 1332 times
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: Spanish/Latin America (es_419)
Installed mods:
* fcgear
* ThreadProfile
Shalmeneser
Veteran
Posts: 9475 Joined: Wed Dec 23, 2020 12:04 am
Location: Fr
Post
by Shalmeneser » Wed Jun 22, 2022 11:22 pm
Always a good idea to provide a file (helpers need sometime to play with something real).
NHSA_Rainer
Posts: 104 Joined: Mon Aug 30, 2021 3:37 pm
Post
by NHSA_Rainer » Wed Jun 22, 2022 11:28 pm
Shalmeneser wrote: ↑ Wed Jun 22, 2022 11:22 pm
Always a good idea to provide a file (helpers need sometime to play with something real).
Sorry. Here it is
Shalmeneser
Veteran
Posts: 9475 Joined: Wed Dec 23, 2020 12:04 am
Location: Fr
Post
by Shalmeneser » Wed Jun 22, 2022 11:34 pm
Sorry but measure will dissappear when closing the file
Part_Measure_Linear
Description
This tool measures the distance between two selected topology elements (vertex, edge, face) and displays the measurement in the 3D view. The shortest distance between the two elements is shown in red , and delta measurements (distances parallel to standard X, Y, Z axes) are shown in green .
NHSA_Rainer
Posts: 104 Joined: Mon Aug 30, 2021 3:37 pm
Post
by NHSA_Rainer » Wed Jun 22, 2022 11:37 pm
Hi,
I really just want to know if I can change the colours of the lines and the text size.
Those colours are hard to read and the text too as it is so fine.
Thanks
Bance
Veteran
Posts: 4186 Joined: Wed Feb 11, 2015 3:00 pm
Location: London
Post
by Bance » Wed Jun 22, 2022 11:50 pm
I don't think it's customisable, that's what shalm was trying to say.
There were some efforts towards a colour scheme for common colour blindness (Sorry I don't know how else to phrase that.)
You would need to search the forum.
vm4dim
Posts: 129 Joined: Tue Nov 23, 2021 1:05 am
Post
by vm4dim » Thu Jun 23, 2022 12:03 am
Color may be changed
https://github.com/FreeCAD/FreeCAD/blob ... #L246-L250
Code: Select all
GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("View");
App::Color c(1.0,0.0,0.0);
c.fromHexString(group->GetASCII("Dimensions3dColor", c.asHexString().c_str()));
App::Color d(0.0,1.0,0.0);
d.fromHexString(group->GetASCII("DimensionsDeltaColor", d.asHexString().c_str()));
thomas-neemann
Veteran
Posts: 11801 Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:
Post
by thomas-neemann » Thu Jun 23, 2022 4:43 am
NHSA_Rainer wrote: ↑ Wed Jun 22, 2022 11:37 pm
...
I really just want to know if I can change the colours of the lines and the text size.
Those colours are hard to read and the text too as it is so fine.
...
if you change the background color and body color/transparency and reduce the screen resolution, it could get better
NHSA_Rainer
Posts: 104 Joined: Mon Aug 30, 2021 3:37 pm
Post
by NHSA_Rainer » Thu Jun 23, 2022 6:35 pm
if you change the background color and body color/transparency and reduce the screen resolution, it could get better
Hi,
Thanks everybody and so I think as I read somewhere this is a so called hardcoded issue and well will have to live with it
And really am I the only one having trouble reading the measure lines ?
adrianinsaval
Veteran
Posts: 5541 Joined: Thu Apr 05, 2018 5:15 pm
Post
by adrianinsaval » Thu Jun 23, 2022 7:20 pm
vm4dim wrote: ↑ Thu Jun 23, 2022 12:03 am
Color may be changed
https://github.com/FreeCAD/FreeCAD/blob ... #L246-L250
Code: Select all
GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("View");
App::Color c(1.0,0.0,0.0);
c.fromHexString(group->GetASCII("Dimensions3dColor", c.asHexString().c_str()));
App::Color d(0.0,1.0,0.0);
d.fromHexString(group->GetASCII("DimensionsDeltaColor", d.asHexString().c_str()));
but how to set those parameters? freecad's way of saving color parameters has always been weird