[bug 4495] 45° rotation via NaviCube does not work

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!
User avatar
uwestoehr
Posts: 2394
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany

[bug 4495] 45° rotation via NaviCube does not work

Postby uwestoehr » Fri Nov 13, 2020 1:58 pm

The NaviCube offers the 6 main faces, but also each a face on every edge and each at every corner.

The problem is that the faces at the edges and corners do not work as expected - It should rotate the part by 45°but it rotates the party by 90°. here is an example:
aUP5tvQSLS.gif
example screenshot
aUP5tvQSLS.gif (237.88 KiB) Viewed 530 times
Can anyone confirm this bug or do i make a mistake?

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23004 (Git)
Build type: Release
Branch: master
Hash: f8ac3ea14a83eebe276079dd8bcb7fcb4adb6d1a
Python version: 3.6.8
Qt version: 5.12.6
Coin version: 4.0.0a
OCC version: 7.4.0.beta
Locale: German/Germany (de_DE)
Last edited by uwestoehr on Mon Nov 16, 2020 1:24 am, edited 1 time in total.
User avatar
uwestoehr
Posts: 2394
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany

Re: 45° rotation via NaviCube does not work

Postby uwestoehr » Fri Nov 13, 2020 2:02 pm

I see there a related issue (perhaps technically the same origin as the one I reported in the initial post):

- click on a corner of the NaviCube
- then try to select an edge of the cube

result: this is not possible. When you click on what is offered, you end up on a base plane of the cube, despite you explicitly have not clicked on a base plane. Here an example:
TscI19pGjT.gif
screencast showing the issue
TscI19pGjT.gif (138.13 KiB) Viewed 525 times
openBrain
Posts: 5496
Joined: Fri Nov 09, 2018 5:38 pm

Re: 45° rotation via NaviCube does not work

Postby openBrain » Fri Nov 13, 2020 2:10 pm

uwestoehr wrote:
Fri Nov 13, 2020 1:58 pm
The problem is that the faces at the edges and corners do not work as expected - It should rotate the part by 45°but it rotates the party by 90°.
Is this documented somewhere ? Or is there some other evidence (eg. in the code) that this behavior should exist ? (Sorry if dumb question).
User avatar
Roy_043
Posts: 2567
Joined: Thu Dec 27, 2018 12:28 pm

Re: 45° rotation via NaviCube does not work

Postby Roy_043 » Fri Nov 13, 2020 2:22 pm

The same issue is mentioned in the wiki documentation:
Navigation_Cube
User avatar
uwestoehr
Posts: 2394
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany

Re: 45° rotation via NaviCube does not work

Postby uwestoehr » Fri Nov 13, 2020 3:38 pm

Roy_043 wrote:
Fri Nov 13, 2020 2:22 pm
The same issue is mentioned in the wiki documentation:
Navigation_Cube
Thanks for the pointer. I searched the bug database before I posted here. I wonder that this issue is not yet reported. I will do this.
Who added the NaviCube to FC, maybe he/she is interested in having a look?
Garya?
garya wrote: .
User avatar
watsug
Posts: 99
Joined: Sat Sep 26, 2020 10:51 pm

Re: 45° rotation via NaviCube does not work

Postby watsug » Fri Nov 13, 2020 4:01 pm

The first issue you describe is that when you mouse over the edge, the blue you see is actually the side face in perspective, through the cube. And when you press it, you are aligned to look at it. I just assumed this was intended behaviour.

I agree it would be good to be able to choose edges. But then you can't select the side-faces, since they are behind the edge.

PS in Preferences > General > Navigation you can press "Enable Animation". I think the navigation cube is much more enjoyable that way.
kisolre
Posts: 3145
Joined: Wed Nov 21, 2018 1:13 pm

Re: 45° rotation via NaviCube does not work

Postby kisolre » Sun Nov 15, 2020 5:27 pm

Maybe the edge selection was just forgotten? As I see it there should be thin white selectable areas in the middle of the edge chamfer so you still can click through the chamfer to reach back facing orientations.
User avatar
uwestoehr
Posts: 2394
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany

Re: 45° rotation via NaviCube does not work

Postby uwestoehr » Mon Nov 16, 2020 1:24 am

kisolre wrote:
Sun Nov 15, 2020 5:27 pm
As I see it there should be thin white selectable areas in the middle of the edge chamfer so you still can click through the chamfer to reach back facing orientations.
The chamfer planes don't work and this is the bug. In the OCC examples one can see that they are working in principle.

Here is the bug report: https://tracker.freecadweb.org/view.php?id=4495
kisolre
Posts: 3145
Joined: Wed Nov 21, 2018 1:13 pm

Re: [bug 4495] 45° rotation via NaviCube does not work

Postby kisolre » Mon Nov 16, 2020 9:19 am

uwestoehr wrote:
Mon Nov 16, 2020 1:24 am
The chamfer planes don't work and this is the bug.
My point was that there is nothing to click there. On the sides you have big light rounded rectangles. On the vertices you have light circled. But nothing you can select on the edges(chamfers). So who ever made that probably just did not realize the functionality for some reason.
chrisb
Posts: 32181
Joined: Tue Mar 17, 2015 9:14 am

Re: [bug 4495] 45° rotation via NaviCube does not work

Postby chrisb » Mon Nov 16, 2020 10:30 am

I usually don't use the NaviCube, but I am pretty sure that the chamfers worked with 45° turns, when it was introduced.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.