FC 0.17/Qt5 compatible NaviCube

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

FC 0.17/Qt5 compatible NaviCube

Post by nyholku »

Hi everyone,

I've updated my experimental NaviCube to FC 0.17 code base and refactored it to be compatible with Qt5.

You can find the code here:

https://github.com/nyholku/FreeCAD/tree/navicube-qt5

Screenshot below.

wbr Kusti

Screen Shot 2017-11-18 at 13.10.53.png
Screen Shot 2017-11-18 at 13.10.53.png (246.03 KiB) Viewed 4566 times
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FC 0.17/Qt5 compatible NaviCube

Post by Jee-Bee »

Nice work!!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FC 0.17/Qt5 compatible NaviCube

Post by triplus »

It works when compiled on Ubuntu 16.04 (Qt 5).

P.S. Has the size changed and it is a bit bigger?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FC 0.17/Qt5 compatible NaviCube

Post by Kunda1 »

Will this be part of 0.17 release ?
If not we should track it via the bugtracker as well.
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
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: FC 0.17/Qt5 compatible NaviCube

Post by nyholku »

Yes, it is a bit bigger, I felt it now optimal for me, but this is not final. Might be configurable. We'll see.
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: FC 0.17/Qt5 compatible NaviCube

Post by regis »

nyholku wrote: Sat Nov 18, 2017 11:12 am Hi everyone,

I've updated my experimental NaviCube to FC 0.17 code base and refactored it to be compatible with Qt5.

You can find the code here:

https://github.com/nyholku/FreeCAD/tree/navicube-qt5

Screenshot below.

wbr Kusti


Screen Shot 2017-11-18 at 13.10.53.png
Amazing, but I see a bunch of new icons, that i don't see often, what are those?
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: FC 0.17/Qt5 compatible NaviCube

Post by pablogil »

Hi,
I have the feeling it has been asked before but: could Navicube be ported to an “easy to install” addon?
It’s so cool that I feel it should go into master or shared as an addon...

Thanks
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Dacicusan
Posts: 6
Joined: Sat Nov 04, 2017 4:51 pm

Re: FC 0.17/Qt5 compatible NaviCube

Post by Dacicusan »

Very nice interface. This will make FreeCAD more usable.

The icons are also nice. They are available for download? Maybe a new icon theme using this icons will make the interface more pleasant to work with.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: FC 0.17/Qt5 compatible NaviCube

Post by looo »

It's a nice add-on but last time I tried it, it slowed down the scene quite a bit. I don't know how it is implemented, but it feels like a qt-widget overlay?
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: FC 0.17/Qt5 compatible NaviCube

Post by nyholku »

Slowed down?

Hmm, interesting, did not notice that.

It is not a qwidget it simply taps to the opengl render/redraw call on (on View3DInventorViewer) and renders to the OpenGL context (just like the standard XYZ axise orientation indicator) so I would not expect drawing twenty odd more polygons make any difference.

Hmm...perhaps it is the cursor tracking that takes time as this draws offscreen (but then again that is just the same few polygons).

I may have to investigate this further.

wbr Kusti

PS Those new icons are from here:

https://github.com/pgilfernandez/FreeCA ... eme_simple
Post Reply