colorValue in FemLb - required?

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

colorValue in FemLb - required?

Post by PrzemoF »

There is a file src/Mod/Fem/FemLib.py [1] that contains only of function that is not used anywhere:

Code: Select all

def colorValue(value,min,max)
Can we remove it?

There is also Driver directory and an empty file inside called Standard-Calculix.py [2] - I'm trying to understand why it's there.

I'm trying to make sense of what's inside FEM wb and having some stuff that is not being used anywhere doesn't make it any easier :)

[1] https://github.com/PrzemoF/FreeCAD_sf_m ... /FemLib.py
[2] https://github.com/PrzemoF/FreeCAD_sf_m ... Fem/Driver
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: colorValue in FemLb - required?

Post by sgrogan »

PrzemoF wrote:There is a file src/Mod/Fem/FemLib.py [1] that contains only of function that is not used anywhere:

Code: Select all
def colorValue(value,min,max)
Maybe in anticipation of user setting the scale of the colors. Min and Max are settings in the commercial software I use at work.

EX. min=Yield max=Ultimate then everything below yield is blue, everything above ultimate is red and the spectrum is everything in between.
"fight the good fight"
Post Reply