Commit Graph

4651 Commits

Author SHA1 Message Date
wmayer
d1e2d15b37 Fem: Clean-up code 2024-06-18 19:58:16 +02:00
wmayer
301b239767 Fem: Refactor DefineNodesCallback and DefineElementsCallback
Refactor the two methods to reduce code duplication.
2024-06-18 18:48:14 +02:00
wmayer
a2939767ce 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
b8905ff87e 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
wmayer
31725303fe 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
13c5ddbb6c Fem: Fix height of reference list widget in spring constraint task panel 2024-06-17 11:18:00 -05:00
Chris Hennes
3181c4f2a8 Merge branch 'main' into erase-version-4 2024-06-17 11:10:12 -05:00
marioalexis
aaef5236b8 Fem: Remove dependency of calculix solver classes on user parameters - fixes #13383 2024-06-17 10:58:57 -05:00
marioalexis
99aebd8a33 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
c1b2e933d2 Fem: Write reaction force from rigid body nodes - fixes #14558 2024-06-17 10:38:39 -05:00
wmayer
636fa43c99 MSVC: Fix warnings and build failure 2024-06-12 10:36:58 -05:00
wmayer
d88253c2a1 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
f433ff0467 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
3ecf2466b8 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
5f30e51894 Fem: Add license to constraints symbol files 2024-06-05 13:12:25 -03:00
marioalexis
d228d50755 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
marioalexis
25febcd7af Fem: Move functions to Tools class 2024-06-05 13:12:25 -03:00
marioalexis
047b184df4 Fem: Cleanup ViewProviderFemConstraint class 2024-06-05 13:12:25 -03:00
marioalexis
e8f161a792 Fem: Set license for Python generated examples 2024-06-04 11:38:29 -03:00
marioalexis
f8c2b8df55 Fem: Set compatible license in test files - fixes #8894 2024-06-04 04:30:03 -03:00
Chris Hennes
6404de9c21 Update translations 2024-06-03 11:04:42 -05:00
marioalexis
108687b938 Fem: Improve constraint BodyHeatSource 2024-06-03 03:15:14 -03:00
marioalexis
d8f1ade17d Fem: Add body heat source to CalculiX writer - fixes #11650 2024-06-02 18:38:15 -03:00
David Carter
5feb963f9d 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
560cab6f31 clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
dzid26
78eb91d8c3 Enforce OpenMP version 4.0 2024-05-27 11:44:05 -05:00
FEA-eng
f854eb2ee6 Update Command.cpp 2024-05-27 11:03:19 -05:00
marioalexis
6714af1bc8 Fem: Update ReferenceNode property from task dialog - fixes #14172 2024-05-27 11:02:59 -05:00
marioalexis
1f1dbc3271 Fem: Increase size of reference node symbol in rigid body constraint - fixes #14133 2024-05-27 10:34:12 -05:00
marioalexis
69731b9d1b Fem: Don't hide input filter with DataAtPoint and DataAlongLine - fixes #14135 2024-05-27 10:31:28 -05:00
Chris Hennes
73ae4102e6 Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
pre-commit-ci[bot]
d71bc637a5 [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
ab30391742 [fem] clean
clean unused code
2024-05-22 10:21:10 +02:00
FEA-eng
af6c844706 Update checksanalysis.py 2024-05-20 11:28:50 -05:00
FEA-eng
5810f8b88d Update TaskFemConstraintRigidBody.ui 2024-05-20 11:25:54 -05:00
marioalexis
9ef7328c42 Fem: Highlight active Analysis according to user defined color 2024-05-20 11:01:18 -05:00
marioalexis84
ecabfa1080 Fem: Improve constraint section print (#14046)
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-05-20 11:00:48 -05:00
marioalexis
8920d76d93 Fem: Load heat flux from CalculiX results - fixes #12117 2024-05-20 11:00:19 -05:00
Chris Hennes
407a572d2f 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
ff47cbd1d5 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
5da413e70f Fem: Update CalculiX writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
marioalexis
42d13a3747 Fem: Update task dialog of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
5911df4ea6 Fem: Update view provider of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
cddc7b6a29 Fem: Change properties of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
b5655c3a8a Fem: Add transform for extra symbol in constraints 2024-05-16 12:51:37 -05:00
FEA-eng
2d26fb5426 Fem: Add ConstraintRigidBody icon 2024-05-16 12:51:37 -05:00
FEA-eng
53b9c0b6e6 Fem: Update writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
FEA-eng
f012e92e33 Fem: Update properties of ConstraintRigidBody 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
845c0e7bcd FEM: Add unit test for new ConstraintRigidBody object 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
0a6a7155e5 FEM: Add rigid body constraint to ccx writer 2024-05-16 12:51:37 -05:00