Constraint icons size at Sketcher edit (PR ready)

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Hologram
Posts: 201
Joined: Thu Nov 03, 2022 3:05 pm

Re: Constraint icons size at Sketcher edit (PR ready)

Post by Hologram »

chrisb wrote: Sat Jan 28, 2023 1:13 pm How about to increase the ViewScaleRatio and decrease the font size.
The view scale ratio only affects the thickness of elements on screen. So it influences the axes and annotation.
This is with a view scale of 4 and text size 30 (was 1,5 and 40 respectively):
Dimension text 2.png
Dimension text 2.png (22.28 KiB) Viewed 595 times
User avatar
bambuko
Veteran
Posts: 2161
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Constraint icons size at Sketcher edit (PR ready)

Post by bambuko »

chrisb wrote: Sat Jan 28, 2023 1:13 pm ...How about to increase the ViewScaleRatio ...
Only increases thickness of the sketch lines without affecting the display of constraint icons?
Plus... it is possible to type in, stupid (afa FreeCAD is concerned) values, without any warning.
In which case nothing happens i.e. ViewScaleRatio remains unchanged.
BTW this does not happen if you select value from drop down.

It took me sometime to work out that it cannot be smaller than 0.5 :mrgreen:

later edit:
sorry I typed while you posted @Hologram
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Constraint icons size at Sketcher edit (PR ready)

Post by chrisb »

Did you already check the feature requests?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Hologram
Posts: 201
Joined: Thu Nov 03, 2022 3:05 pm

Re: Constraint icons size at Sketcher edit (PR ready)

Post by Hologram »

I did now, there's no listing an independent constraint icon size setting.
So I have created a feature request here: https://github.com/FreeCAD/FreeCAD/issues/8288

It is unfortunate though, because in the earlier discussion of this thread, it was deemed unnecessary to scale the icons independently. Was nodding my head when reading that part.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Constraint icons size at Sketcher edit (PR ready)

Post by Syres »

Hologram wrote: Sat Jan 28, 2023 4:46 pm I did now, there's no listing an independent constraint icon size setting.
So I have created a feature request here: https://github.com/FreeCAD/FreeCAD/issues/8288
This is a proposed solution, I'm not even thinking of submitting a PR unless there's some proper support behind it https://github.com/FreeCAD/FreeCAD/comp ... D:patch-64 I personally have never needed anything other than default settings with regard to font size etc but I've only got a 2560x1440 monitor.
Post Reply