Help to show the gradient bar

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Help to show the gradient bar

Post by johnwang »

Hi,

When viewing the result, the gradient bar is missing. Where is the setting to show it?

Cheers,

John
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Help to show the gradient bar

Post by wmayer »

There is no setting to show or hide it. Its appearance is handled by the view provider class by overriding the method getFrontRoot().
See e.g. ViewProviderFemPostObject::getFrontRoot()
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Re: Help to show the gradient bar

Post by johnwang »

Thx. Which part I should read?
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
vm4dim
Posts: 129
Joined: Tue Nov 23, 2021 1:05 am

Re: Help to show the gradient bar

Post by vm4dim »

part?
This is only the second way of displaying the result, already using a color scale.
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Re: Help to show the gradient bar

Post by johnwang »

vm4dim wrote: Sat Jun 04, 2022 10:52 pm part?
This is only the second way of displaying the result, already using a color scale.
Ah, it's the second way. It works. Thanks.
Still wondering why I can't see the scale in the first way.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Re: Help to show the gradient bar

Post by johnwang »

wmayer wrote: Mon May 30, 2022 11:09 am There is no setting to show or hide it. Its appearance is handled by the view provider class by overriding the method getFrontRoot().
See e.g. ViewProviderFemPostObject::getFrontRoot()
Just can't see this scale.
res.jpg
res.jpg (4.95 KiB) Viewed 1138 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Help to show the gradient bar

Post by uwestoehr »

johnwang wrote: Sun Jun 05, 2022 12:19 am Just can't see this scale.
What do you do? Can you give a step by step instruction to reproduce?
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Help to show the gradient bar

Post by wmayer »

johnwang wrote: Sun Jun 05, 2022 12:19 am Just can't see this scale.
What version do you use? Recently the issue was fixed to not truncate the text any more for some screen sizes. Make sure to use the latest version.
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Re: Help to show the gradient bar

Post by johnwang »

Utilities/Open FEM examples/Solvers/Calculix/Box Analysis Frequency

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.28717 (Git)
Build type: Release
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
Post Reply