request for input: default for NaviCube font
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: request for input: default for NaviCube font
Well, Zbrush uses the sculpt's outer shape at thumbnail size for the viewcube. But it's an obvious exception from a non-CAD program.
Re: request for input: default for NaviCube font
Have you checked that the new font preferences for the NaviCube are reasonable/exist. In my machine the navicube works otherwise nicely when setting the prefs correctly, but when the rendered text is slanted the text becomes unreadable because of texture rendering does not have proper unisotropic filtering https://en.wikipedia.org/wiki/Anisotropic_filtering.wandererfan wrote: ↑Thu Feb 02, 2023 2:55 pm Right now, I have a blank cube, so any solution would be an improvement.
I'd also prefer this. Just to note, the latest master already has adjustable cube and font sizes added by Uwe (thanks!).I would go with translatable text, trimmed to fit the available space in the same font as the rest of the UI. The font size should be adjustable for those of us whose eyes are not as strong as they used to be. If that means that I get text of "Fron" and "Righ", so be it.
Re: request for input: default for NaviCube font
I don't care too much to have navicube show "orientation" in my language, so having a "precise indication" on what is the viewport I'm seeing is most important, why not utilize something similar to icons in the toolbar.
This is "language proof" and not ambiguos at all, maybe having in a couple of variants or colors to adapt to differente tastes should work.
Regards
Carlo D.
This is "language proof" and not ambiguos at all, maybe having in a couple of variants or colors to adapt to differente tastes should work.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- Shalmeneser
- Veteran
- Posts: 9560
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: request for input: default for NaviCube font
You need TWO colored faces for complete disambiguation : eg. Front and Top
Re: request for input: default for NaviCube font
Not necessarily, it suffice to place a mark on Top face, an international symbol like a dot or a circle will do the job.Shalmeneser wrote: ↑Fri Feb 03, 2023 10:58 am You need TWO colored faces for complete disambiguation : eg. Front and Top
Eventually an arrow on "Front" face pointing up?
The point is to have a "language agnostic" indication and maybe a tooltip with localized "orientation string".
But it is only an idea. This way even with fonts problems you will have a decent indication even if the tooltip will be totally messed up.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: request for input: default for NaviCube font
I think I need to see my eye doctor. I seem to have double vision.
viewtopic.php?p=657713#p657713
Gene
Re: request for input: default for NaviCube font
Probably Yes, but the idea was not to reuse the icons, only something similar, and probably with some colors.GeneFC wrote: ↑Fri Feb 03, 2023 2:20 pmI think I need to see my eye doctor. I seem to have double vision.
viewtopic.php?p=657713#p657713
Gene
Someone has proposed a "dice image" I was generalizing the thing, to show an image that have some meaning like those in the toolbar, that are not "unknown" to users.
But only to make something "language agnostic" to avoid problem with fonts, translation and similar.
But is it only an idea to evaluate, and maybe discuss on "what is better" or "how this can be done", without pretense to be an "optimal solution".
Just today i have seen in FreeCAD 0.21 that using this simple script will tune the visualization:
Code: Select all
import FreeCAD
fstring = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/NaviCube").GetString('FontString')
print(f'FontString: >{fstring}<')
fsize = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/NaviCube").GetInt('FontSize')
print(f'FontSize: {fsize}')
FreeCAD.ParamGet("User parameter:BaseApp/Preferences/NaviCube").SetString('FontString', 'Nimbus Sans Narrow')
FreeCAD.ParamGet("User parameter:BaseApp/Preferences/NaviCube").SetInt('FontSize', 92)
Code: Select all
OS: Artix Linux (openbox)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31741 (Git)
Build type: None
Branch: master
Hash: 693ec401f701d6ffa242cf63f666f091a0b2c1ca
Python 3.10.9, Qt 5.15.8, Coin 4.0.1, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US) [ OS: Italian/Italy (it_IT) ]
Installed mods:
* fcgear 1.0.0
* Assembly4 0.12.4
* toSketch 1.0.1
* Curves 0.5.8
* Help 1.0.3
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: request for input: default for NaviCube font
Did you check the new navicube preferences? There might be a conflict with your previous config or something like that
Re: request for input: default for NaviCube font
This question is adressing to me?adrianinsaval wrote: ↑Sat Feb 04, 2023 12:11 pm Did you check the new navicube preferences? There might be a conflict with your previous config or something like that
Yes and No, I could try to set a clean directory and check.
Test Done:
Navicube is working out of the box.ù
A minor thing this is the output of Tools >> Preferences when FreeCAD is started in the new blank dir:
This is what is shown after having simply changed the language to the "automatically guessed" Italian to English:
But I have not "Adobe Courier" font installed so I have to guess what font it is using in reality, probably a substitution fonts, set by FontConfig.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: request for input: default for NaviCube font
Ouch! Windows is a tricky beast in this regards. I might have a bug in the code but that it finds non-existing fonts, is weird.
However, a new font selection should not happen since the nice "Bahnschrift" was already found. To be able to fix this, can you please give me a step by step recipe to reproduce (I could not reproduce yet here).