Cube menu

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

User avatar
pablogil
Posts: 856
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Cube menu

Postby pablogil » Mon Mar 23, 2020 3:44 pm

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: 654
Joined: Sun Jan 05, 2020 4:56 pm

Re: Cube menu

Postby fc_tofu » Mon Mar 23, 2020 6:10 pm

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-
Posts: 834
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Cube menu

Postby -alex- » Mon Mar 23, 2020 6:22 pm

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

Re: Cube menu

Postby dxp.dev » Tue Mar 24, 2020 12:53 pm

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
Imperial system makes no sense, go metric ! ! !
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Cube menu

Postby triplus » Sat Mar 28, 2020 7:45 pm

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: 856
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Cube menu

Postby pablogil » Mon Mar 30, 2020 10:00 am

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 607 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 607 times
solidworks.png
solidworks.png (46.11 KiB) Viewed 607 times

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

Re: Cube menu

Postby Kunda1 » Mon Mar 30, 2020 12:41 pm

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:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
fc_tofu
Posts: 654
Joined: Sun Jan 05, 2020 4:56 pm

Re: Cube menu

Postby fc_tofu » Mon Mar 30, 2020 1:46 pm

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 584 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 584 times
fsc_2020-03-29_202821_crb.jpg
fsc_2020-03-29_202821_crb.jpg (11.03 KiB) Viewed 584 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 584 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
Posts: 10245
Joined: Thu Jan 05, 2017 9:03 pm

Re: Cube menu

Postby Kunda1 » Mon Mar 30, 2020 1:51 pm

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:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features