Cube menu

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
pablogil
Posts: 882
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Cube menu

Post by pablogil »

Awesome!!

I can't wait till the PR is merged
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: Cube menu

Post by fc_tofu »

triplus wrote: Mon Mar 23, 2020 3:13 pm There is now a pending PR against navigation cube and later in the day some changes will get added to cube menu module. Once cube menu module is installed, navigation cube menu gains a few additional commands by default:

...
Cannot see the full setting dialog. But it seems that the font family and label text can be customized now?
If true, that's marvellous!
User avatar
-alex-
Veteran
Posts: 1861
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Cube menu

Post by -alex- »

Nice improvements, thanks a lot!
dxp.dev
Posts: 280
Joined: Tue Dec 11, 2018 12:57 pm

Re: Cube menu

Post by dxp.dev »

carlopav wrote: Mon Mar 23, 2020 3:32 pm wow!
I have a question triplus: you have been working a lot on FreeCAD UI. And AFAICS you always created wonderful external modules. I am just asking myself: why some of them (like this one for the navicube) don't go into the FreeCAD Master? They are obvious enhancements from all points of view.
Agreed ! This should be in master
Find your user.cfg and system.cfg files : Macro_findConfigFiles

Imperial system makes no sense, go metric ! ! !
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Cube menu

Post by triplus »

Thanks for all the positive feedback
fc_tofu wrote: Mon Mar 23, 2020 6:10 pm Cannot see the full setting dialog. But it seems that the font family and label text can be customized now?
Yes, as discussed here:

Image
carlopav wrote: Mon Mar 23, 2020 3:32 pm wow!
I have a question triplus: you have been working a lot on FreeCAD UI. And AFAICS you always created wonderful external modules. I am just asking myself: why some of them (like this one for the navicube) don't go into the FreeCAD Master? They are obvious enhancements from all points of view.
At minimum i need to tackle AccessoriesMenu module first. After some mature modules, such as the CubeMenu, could be upstreamed (Tux module) if desired.
User avatar
pablogil
Posts: 882
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Cube menu

Post by pablogil »

Hi triplus,

Would it be easy to add support for visible buttons like the unique dropdown one? something like the following (in my mockup I have added the buttons horizontally and vertically but, of course, it would only be visible one option):
buttons.png
buttons.png (22.54 KiB) Viewed 1969 times
It would be very handy and it's something that other software already uses (2 fast examples: Blender and Solidworks):
blender.png
blender.png (188.88 KiB) Viewed 1969 times
solidworks.png
solidworks.png (46.11 KiB) Viewed 1969 times

Cheers
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Cube menu

Post by Kunda1 »

pablogil wrote: Mon Mar 30, 2020 10:00 am Would it be easy to add support for visible buttons like the unique dropdown one? something like the following (in my mockup I have added the buttons horizontally and vertically but, of course, it would only be visible one option)
This sounds like combining some PieMenu features with Navicube. Good idea!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: Cube menu

Post by fc_tofu »

Version: FreeCAD_0.19.20310-Win-Conda_vc14.x-x86_64.7z
OS: Windows 10 x64

I just tested Navicube (r20200324) on latest Freecad build, and found marvellous new enhancements, such as,
- toggle off cordinated axis
- offset between axis and cube
- offset between cube and viewport border
- cube size
- stretch size
- colors
fsc_2020-03-29_205204.jpg
fsc_2020-03-29_205204.jpg (57.42 KiB) Viewed 1946 times
@triplus, you coders, are making NaviCube a piece of art. Thank you.

New param "font weight" help enhance sharpness of cube label, but still not completely.
Below is Chinese label text on default size (132 px) NaviCube. Font fallbacks from default "Helvetica" to SimSun (a Serif-style Chinese character font, Win 10 pre-installed).
When font weitght is set as maximun 99, there is still a stroke missing.
fsc_2020-03-29_202821.jpg
fsc_2020-03-29_202821.jpg (4.77 KiB) Viewed 1946 times
fsc_2020-03-29_202821_crb.jpg
fsc_2020-03-29_202821_crb.jpg (11.03 KiB) Viewed 1946 times
So, I'm still waiting for good news from font selector and font hinting improvement.
In this build, running font selector cause error msg and failure.

Code: Select all

Traceback (most recent call last):
  File "E:\WINAPP_B\FreeCAD_0.19.20310-Win-Conda_vc14.x-x86_64\Mod\CubeMenu\CubeMenuPreferences.py", line 1666, in onBtnFontString
    pCube.SetString("FontString", font.toString())
AttributeError: 'bool' object has no attribute 'toString'
Just tiny and humble proposals for Cube Menu's UI.
1.
fsc_2020-03-30_184846.jpg
fsc_2020-03-30_184846.jpg (9.63 KiB) Viewed 1946 times
How about,
"Face color" for "Front color",
"Frame color" for "Back color",
"Hover color" for "Hilite color",
for easier understanding?

2. Cordinate axis name (letter X, Y, Z) scale propotionally with cube size.
Last edited by fc_tofu on Mon Apr 06, 2020 11:13 am, edited 5 times in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Cube menu

Post by Kunda1 »

fc_tofu wrote: Mon Mar 30, 2020 1:46 pm "Hover color" for "Hilite color",

Should be 'Highlight'
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply