Announce first iteration of NaviCube for FreeCAD

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: Announce first iteration of NaviCube for FreeCAD

Post by ickby »

As to why I did not use the python commands was that I could not find
python commands for the "left_rear","top_right_front" etc commands...
If the python commands are available I would like to change this
of course.
That would indeed be something we could add to the python interface. But not a super high priority IMHO, your way is fine too for now.
So you mean it should look more like the navigation cube itself?
No, I mean the exact view that the 3d view is rotated to when one hits the navicube corner. The view angle is different to what happens when you hit the navigation toolbar axiometric view. There is a sight mismatch in view angle. Is this intentional?
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: Announce first iteration of NaviCube for FreeCAD

Post by nyholku »

As to why I did not use the python commands was that I could not find
python commands for the "left_rear","top_right_front" etc commands...
If the python commands are available I would like to change this
of course.
That would indeed be something we could add to the python interface. But not a super high priority IMHO, your way is fine too for now.
Ok with that.
So you mean it should look more like the navigation cube itself?
No, I mean the exact view that the 3d view is rotated to when one hits the navicube corner. The view angle is different to what happens when you hit the navigation toolbar axiometric view. There is a sight mismatch in view angle. Is this intentional?
Ah, well yes and no, I tried to match the Onshape angles, if there are more or less similar but more standard angle I'm fine with that too.
User avatar
f3nix
Posts: 346
Joined: Sat May 30, 2015 11:58 am

Re: Announce first iteration of NaviCube for FreeCAD

Post by f3nix »

Hi @nyholku!

Is it supposed to move the FPS counter under it?
fps_position.png
fps_position.png (45.89 KiB) Viewed 2172 times
Cheers,
Mateusz
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: Announce first iteration of NaviCube for FreeCAD

Post by nyholku »

No, sorry, I don't have that on, so it moves along ? That is unintentional side effect. Thanks for reporting.
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: Announce first iteration of NaviCube for FreeCAD

Post by nyholku »

BTW you can drag the cube to a desired position, took me months to notice that too ...
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Announce first iteration of NaviCube for FreeCAD

Post by sgrogan »

Hello nyholku,
It seems, on win, the bin directory isn't created in the build folder?
"fight the good fight"
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: Announce first iteration of NaviCube for FreeCAD

Post by nyholku »

Hi,

I can't test this as I'm MacOs only as far compiling FreeCAD is concerned.

However, I very much doubt this has anything to do with my changes as all I did to the
the code in 'master' branch was add to lines to an existing .cpp file, added the
dependency to library that is already used in the project and added couple of
files. Should have had no effect on weather the output is produced or not.

To verify you could download the 'master' branch and see if that compiles for you
and produces the code in 'bin'.

wbr Kusti
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Announce first iteration of NaviCube for FreeCAD

Post by yorik »

looks great nyholku! Have you tried when using a white background in the 3D view? Some arrows might be difficult to see...
User avatar
pablogil
Posts: 882
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Announce first iteration of NaviCube for FreeCAD

Post by pablogil »

Really cool!
would it be possible to pack it as an plugin or the final idea is to merge it into master?
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
pablogil
Posts: 882
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Announce first iteration of NaviCube for FreeCAD

Post by pablogil »

yorik wrote:looks great nyholku! Have you tried when using a white background in the 3D view? Some arrows might be difficult to see...
I would recommend adding an option inside Preferences to set the color of the NaviCube so that it could be set in contrast with the custom background...
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Post Reply