Commit Graph

1358 Commits

Author SHA1 Message Date
David Carter
6624fa3775 Material: Material handling enhancements
Rework of the material handling system.

This first part concntrates on a rework of the material cards.
Rather than use a fixed list of possible properties, properties can
be defined separately in their own files and mixed to provide a
complete list of possible properties. Properties can be inherited.

The cards then provide values for the properties. These can also
be inherited allowing for small changes in cards as required.

The new property definitions are more extensive than previously.
2 and 3 dimensional arrays of properties can be defined. Values
are obtained by calling an API instead of reading from a dictionary.

For compatibility, a Python dictionary of values can be obtained
similar to how it was done previously, but this is considered a
deprecated API and won't support the newer advanced features.

The editor is completely reworked. It will be able to edit older format
material cards, but can only save them in the new format.

For testing during the development phase, a system preference can
specifiy wether the old or new material editors are to be used. This
option will be removed before release.
2023-09-25 11:04:01 -04:00
wmayer
836c237d3c Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
b8b94c249e Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
59c7653584 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
FEA-eng
9260cd9502 FEM naming fix part 2 2023-09-25 12:17:43 +02:00
Chris Hennes
730d471fb1 Update translations 2023-09-19 22:25:14 -05:00
Chris Hennes
857ddacb6e Update translations (#10613)
* Update translations
* Start: Remove Start.ts
2023-09-10 13:06:26 -05:00
FEA-eng
4981b05fec Fixed minor typo in FEM preferences
solver --> solvers
2023-09-08 11:01:11 -05:00
kaktus Jacek
41fb0d45a3 Fem: Removing "constraint" from the names
Removing "constraint" from the names of most FEM workbench features.

https://github.com/FreeCAD/FreeCAD/discussions/10217
2023-09-03 22:29:35 -05:00
kaktus Jacek
671ca542c3 Update Workbench.cpp 2023-09-01 13:17:55 -05:00
kaktus Jacek
db4a4fabc2 FEM: disable the Constraints without solver submenu
Temporarily disable the Constraints without Solver submenu from the GUI.
https://github.com/FreeCAD/FreeCAD/issues/10135
2023-08-31 23:41:27 -05:00
kaktus Jacek
0445b88d55 Cleaning code from unnecessary strings generated to Crowdin 4 (#10426)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 12:57:26 -05:00
Chris Hennes
6bfafc62dc Update translations 2023-08-29 07:38:09 -05:00
kaktus Jacek
c0060277c8 Cleaning code from unnecessary strings generated to Crowdin 3 (#10420)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 07:35:04 -05:00
kaktus Jacek
43e247fb75 Cleaning code from unnecessary strings generated to Crowdin 2 (#10416)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-28 22:08:14 -05:00
wmayer
51b924fd81 FEM: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
d525e0d308 Fem: modernize C++: use equals default 2023-08-21 13:35:54 +02:00
wmayer
f2b46996d4 Fem: modernize C++: return braced init list 2023-08-19 11:35:41 +02:00
Chris Hennes
28f396cc75 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
wmayer
009f9f2222 FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
wmayer
9f456d712b modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
Chris Hennes
d3c08a2da9 Update translations 2023-08-08 17:52:59 -06:00
wmayer
d150fa7164 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
wmayer
4f10fc4fa0 modernize C++: use emplace 2023-08-06 20:29:56 -06:00
wmayer
2a88c7c7df modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
wmayer
39e53e5eb0 Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
luzpaz
16e083c8f3 Fix various typos 2023-08-04 19:46:12 +02:00
wmayer
eb49318ad6 Fem: modernize C++: use override 2023-08-04 17:09:53 +02:00
Yorik van Havre
ebc65ee713 Merged crowdin translations 2023-07-26 11:05:11 +02:00
Yorik van Havre
6bfeb5ff53 Update ts files 2023-07-26 11:04:24 +02:00
Chris Hennes
6838740153 Update translations 2023-07-24 13:37:52 +00:00
Chris Hennes
6f97b74fdb Apply translations 2023-07-09 18:09:53 -05:00
Chris Hennes
b529a0a67c FEM: Add missing translation string 2023-07-09 17:28:04 -05:00
Chris Hennes
97771dc673 Update translations 2023-07-06 08:20:59 -05:00
Chris Hennes
86d77c2814 Merge pull request #9786 from yorikvanhavre/translations
Translations
2023-06-26 20:53:55 -05:00
grubertechnic
45c009dff7 small gmsh panel tweak (#9569)
Co-authored-by: WandererFan <WandererFan@gmail.com>
2023-06-23 21:33:14 +02:00
Yorik van Havre
0977aac30d merged crowdin translations 2023-06-16 16:42:32 +02:00
Yorik van Havre
23491db16b Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
62434ea85b Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
f733aeeb9b Merge pull request #9561 from luzpaz/FEM_ClippingPlaneAdd-fix
Fix FEM_ClippingPlaneAdd.svg (#9550)
2023-06-12 15:19:29 -05:00
Chris Hennes
291b0f3aa6 FEM: Add translation for Electromagnetic Constraints 2023-06-06 11:31:12 -05:00
Chris Hennes
e405a0570a Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
a2d457e88f Update translations 2023-05-25 21:32:26 -05:00
Chris Hennes
20f073e84e Update translations 2023-05-21 19:13:11 -05:00
Chris Hennes
0b41c4a8a8 Update translations 2023-05-18 07:49:08 -05:00
Abdullah Tahiri
2eb7badb1e Fem: Remove Unused variable 2023-05-16 08:29:28 +02:00
luzpaz
9ce14bd93b Fix FEM_ClippingPlaneAdd.svg (#9550)
SVG was incorrectly edited in a previous commit.  
Fixes #9550
2023-05-13 09:26:45 -04:00
wmayer
7bb204b790 Fem: Create .qm out of .ts files 2023-05-07 08:46:14 +02:00
Chris Hennes
1a4b85121b Merged crowdin translations 2023-05-06 11:56:32 -05:00