Commit Graph

4654 Commits

Author SHA1 Message Date
marioalexis
60e782223b Fem: Avoid unnecessary method overriding 2024-06-21 19:26:18 -05:00
Chris Hennes
e3509a37d1 Merge pull request #14773 from wwmayer/fix_fem
FEM: Fix linking errors & clean-up code
2024-06-18 18:41:01 -05:00
wmayer
57489af043 Fem: Clean-up code 2024-06-18 19:58:16 +02:00
wmayer
b7e0313591 Fem: Refactor DefineNodesCallback and DefineElementsCallback
Refactor the two methods to reduce code duplication.
2024-06-18 18:48:14 +02:00
wmayer
47a9ec8481 FEM: Fix linking errors
The static members of FemSetElementNodesObject are not defined in Fem but FemGui which the MSVC compiler doesn't like.
Furthermore it's a code smell to make them public and static and they are not even used by the class itself.
2024-06-18 18:14:10 +02:00
wmayer
6c0f42bb15 Fem: Fix copyright notices
Do not clutter copyright notices with changes made to a file. That's the task of the VCS
2024-06-18 18:01:22 +02:00
Chris Hennes
a36a60d29d Fem/Sketcher: Fix missing PreCompiled.h files 2024-06-18 08:05:32 -05:00
wmayer
27c61ef137 FEM: Fix several issues
* Move global (non-static) variables into anonymous namespace to avoid possible linking issues that may cause UB
* Fix compiler warnings
* Do not reinvent the wheel and use boost::to_upper_copy instead of own implementation
2024-06-17 19:57:04 +02:00
marioalexis
767bbb8436 Fem: Fix height of reference list widget in spring constraint task panel 2024-06-17 11:18:00 -05:00
Chris Hennes
c726198106 Merge branch 'main' into erase-version-4 2024-06-17 11:10:12 -05:00
marioalexis
3d7d5ab785 Fem: Remove dependency of calculix solver classes on user parameters - fixes #13383 2024-06-17 10:58:57 -05:00
marioalexis
f8027a16d0 Fem: Force z=0 for plane stress, plane strain and axisymmetric elements in writeABAQUS - fixes #12875 2024-06-17 10:57:31 -05:00
marioalexis
9774cd5750 Fem: Write reaction force from rigid body nodes - fixes #14558 2024-06-17 10:38:39 -05:00
wmayer
9b198c7704 MSVC: Fix warnings and build failure 2024-06-12 10:36:58 -05:00
wmayer
dd816a635c Fix several compiler warnings
* variable 'xAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* variable 'yAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* variable 'zAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* unused variable 'base' [-Werror,-Wunused-variable]
* unused variable 'extrude' [-Werror,-Wunused-variable]
2024-06-11 11:42:12 +02:00
Chris Hennes
472493f876 Merge pull request #14353 from marioalexis84/fem-constraint_transform
Fem: Cleanup ViewProviderFemConstraint and update constraint transform
2024-06-10 11:18:57 -05:00
Chris Hennes
5b3b293811 Merge pull request #14417 from marioalexis84/fem-constraint_body_heat_source
Fem: Add body heat source to CalculiX writer - fixes #11650
2024-06-10 10:38:26 -05:00
marioalexis
108a66f960 Fem: Add license to constraints symbol files 2024-06-05 13:12:25 -03:00
marioalexis
f17ad4f143 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
marioalexis
536a2b0aad Fem: Move functions to Tools class 2024-06-05 13:12:25 -03:00
marioalexis
b93274ceef Fem: Cleanup ViewProviderFemConstraint class 2024-06-05 13:12:25 -03:00
marioalexis
e3648061fd Fem: Set license for Python generated examples 2024-06-04 11:38:29 -03:00
marioalexis
609da5cf04 Fem: Set compatible license in test files - fixes #8894 2024-06-04 04:30:03 -03:00
Chris Hennes
696196d8f0 Update translations 2024-06-03 11:04:42 -05:00
marioalexis
13f7b03d83 Fem: Improve constraint BodyHeatSource 2024-06-03 03:15:14 -03:00
marioalexis
8ec0916efb Fem: Add body heat source to CalculiX writer - fixes #11650 2024-06-02 18:38:15 -03:00
David Carter
8b5a3b1124 Material: Appearance Updates 2
Improves the use of the ShapeAppearance property for the Part workbench.

    removes DiffuseColor property
        adds Python compatibility using custom attributes
        transitions DiffuseColor to ShapeAppearance on open
    Improved UI elements for setting object appearance, and appearance per face
    Lays the foundation for future texture support
2024-06-01 19:57:16 -05:00
wmayer
4185605d5e clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
dzid26
61e5c27065 Enforce OpenMP version 4.0 2024-05-27 11:44:05 -05:00
FEA-eng
10715056bb Update Command.cpp 2024-05-27 11:03:19 -05:00
marioalexis
dd95fec1fa Fem: Update ReferenceNode property from task dialog - fixes #14172 2024-05-27 11:02:59 -05:00
marioalexis
459a5563f2 Fem: Increase size of reference node symbol in rigid body constraint - fixes #14133 2024-05-27 10:34:12 -05:00
marioalexis
0041ec220f Fem: Don't hide input filter with DataAtPoint and DataAlongLine - fixes #14135 2024-05-27 10:31:28 -05:00
Chris Hennes
d4f780782d Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
pre-commit-ci[bot]
2b619949eb [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-22 10:21:10 +02:00
mos
bf1f16ac53 [fem] clean
clean unused code
2024-05-22 10:21:10 +02:00
FEA-eng
6786fed067 Update checksanalysis.py 2024-05-20 11:28:50 -05:00
FEA-eng
0c6ae9672d Update TaskFemConstraintRigidBody.ui 2024-05-20 11:25:54 -05:00
marioalexis
7c34978f0b Fem: Highlight active Analysis according to user defined color 2024-05-20 11:01:18 -05:00
marioalexis84
33e4a5baed Fem: Improve constraint section print (#14046)
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-05-20 11:00:48 -05:00
marioalexis
a73d081a46 Fem: Load heat flux from CalculiX results - fixes #12117 2024-05-20 11:00:19 -05:00
Chris Hennes
8157504bdd Merge pull request #14004 from wwmayer/prop_item
Gui: move to new-style connect() in createEditor()
2024-05-20 10:45:54 -05:00
FEA-eng
5b0be7f2fe FEM: Further improvement of the misleading constraint descriptions regarding the geometry selection (#14002)
* Update TaskFemConstraintFixed.ui

* Update TaskFemConstraintDisplacement.ui

* Update TaskFemConstraintSpring.ui

* Update TaskFemConstraintForce.ui

* Update TaskFemConstraintPressure.ui

* Update TaskFemConstraintHeatflux.ui

* Update TaskFemConstraintTemperature.ui
2024-05-16 21:20:16 -04:00
marioalexis
e307595586 Fem: Update CalculiX writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
marioalexis
35db988ca0 Fem: Update task dialog of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
03dc234970 Fem: Update view provider of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
b799b390b9 Fem: Change properties of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
505579dd8d Fem: Add transform for extra symbol in constraints 2024-05-16 12:51:37 -05:00
FEA-eng
f1547eaff4 Fem: Add ConstraintRigidBody icon 2024-05-16 12:51:37 -05:00
FEA-eng
3739d06528 Fem: Update writer of the constraint rigid body 2024-05-16 12:51:37 -05:00