https://github.com/PrzemoF/FreeCAD_sf_m ... ree/fem_v3
In brief:
1. Materials now are read from 3 locations:
- standard FreeCAD material directory
- a sub directory "Materials" in user settings directory, on linux it's i.e. "~/.FreeCAD/Materials"
- an user defined directory that can be set in FEM preferences
Each location has it's own icon assigned
2. Material description is show below Poisson ratio
3. Location of CalculiX ccx binary can be defined in FEM preferences. That location overrides the usual ccx location
Summary:
Przemo Firszt (8):
FEM: Add option to define ccx path in Preferences
FEM: Read materials from user settings directory
FEM: Rename dirname to sytem_mat_dir
FEM: Add option to define custom material directory
FEM: Add icons to materials
FEM: Use chooseMat directly set set initial value for material
FEM: Add function for adding materiales from a directory
FEM: Show material description below combo box
src/App/Application.h | 1 +
src/App/ApplicationPy.cpp | 11 +++
src/Gui/Icons/resource.qrc | 1 +
src/Gui/Icons/user.svg | 645 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/Mod/Fem/Gui/DlgSettingsFem.ui | 195 +++++++++++++++++++++++++++++++++---------
src/Mod/Fem/Gui/DlgSettingsFemImp.cpp | 4 +
src/Mod/Fem/MechanicalAnalysis.py | 19 +++--
src/Mod/Fem/MechanicalMaterial.py | 39 +++++++--
src/Mod/Fem/MechanicalMaterial.ui | 10 +++
9 files changed, 867 insertions(+), 58 deletions(-)
create mode 100644 src/Gui/Icons/user.svg
Please test!
