[Solved] Navicube not reponding to "Steps by turn" preference

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!
Post Reply
heron
Posts: 307
Joined: Mon Apr 20, 2020 5:32 pm

[Solved] Navicube not reponding to "Steps by turn" preference

Post by heron »

Hello,
When changing te "Steps by turn" preference Navicube continue same as before.
This occurs in my current version of FreeCAD:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.29997 (Git)
Build type: Release
Branch: master
Hash: b52967d52ac46eff7c59e74d991f3f5b298944ef
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: English/United States (en_US) [ OS: Spanish/Spain (es_ES) ]
With previus realeases this worked as expected as far as i remember, for example in this:

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.21.29393 (Git)
Build type: Release
Branch: master
Hash: 6820e0a9ec85203a6f342ca72a2ff8fd417beaf1
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US) [ OS: Spanish/Spain (es_ES) ]

I was looking into and I find out that in the current freecad when changing the preference, a variable "NaviStepByTurn" is created or modificated in the Parameter Editor with next location: BaseApp/Preferences/Navicube.
While in the previous version (0.21.393) the same variable is created or modificated in: Base/App/Preferences/View.

If I modify directly the variable "NaviStepByTurn" at location Base/App/Preferences/View, Navicube responds as expected.
Last edited by heron on Mon Aug 15, 2022 5:11 am, edited 1 time in total.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Navicube not reponding to "Steps by turn" preference

Post by Syres »

This is a recent change git commit 1b5285b , @uwestoehr is this related?
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Navicube not reponding to "Steps by turn" preference

Post by openBrain »

This line is incorrect : https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L1270

It should point to 'NaviCube' group, not to 'View'. Can be merged with below line too.
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Navicube not reponding to "Steps by turn" preference

Post by openBrain »

Syres wrote: Sat Aug 13, 2022 10:05 am This is a recent change git commit 1b5285b , @uwestoehr is this related?
Yes. This one introduced the regression.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Navicube not reponding to "Steps by turn" preference

Post by uwestoehr »

openBrain wrote: Sat Aug 13, 2022 10:24 am This line is incorrect : https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L1270

It should point to 'NaviCube' group, not to 'View'. Can be merged with below line too.
Thanks!
This slipped through but is now fixed:
git commit d78d1bbe
heron
Posts: 307
Joined: Mon Apr 20, 2020 5:32 pm

Re: [Solved] Navicube not reponding to "Steps by turn" preference

Post by heron »

Tested with new weekly builds. Now it is ok.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30089 (Git)
Build type: Release
Branch: master
Hash: 335196a468fcf069f365dcbb24279a8295cc4683
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: English/United States (en_US) [ OS: Spanish/Spain (es_ES) ]
Installed mods: 
I mark the topic with "[Solved]".

Many Thanks!
Post Reply