Commit Graph

18 Commits

Author SHA1 Message Date
marioalexis84
0be9e68fcd Fem: Constraint symbol scaling (#13274)
* Fem: Constraint symbols rescaling

* Fem: Add constraint symbol .iv files

* Fem: Fix contact constraint symbol rescaling

* Fem: Fix displacement constraint symbol rescaling

* Fem: Fix fixed constraint symbol rescaling

* Fem: Fix force constraint symbol rescaling

* Fem: Fix heat flux constraint symbol rescaling

* Fem: Fix plane rotation constraint symbol rescaling

* Fem: Fix pressure constraint symbol rescaling

* Fem: Fix spring constraint symbol rescaling

* Fem: Fix temperature constraint symbol rescaling

* Fem: Add tie constraint symbol
2024-04-22 11:49:13 -04:00
wmayer
3863cff6c0 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
2bcec7717d Fem: modernize C++: use equals default 2023-08-21 13:35:54 +02:00
wmayer
89b9a7ae0f FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
Uwe
c9cb01531f [FEM] extend displacement constraint
- add fields to specify a formula for the displacement, this is necessary to make transient deformation analyses with Elmer
- add option to set displacement from result of flow equation
- this way also a major overhaul -> simpler dialog logic etc.
2023-03-22 15:23:32 +01:00
marioalexis
21aee496ef Fem: Remove property name comparison 2023-03-12 18:27:39 +01:00
Uwe
a134cfea93 [FEM] ViewProviderFemConstrain*: remove unused includes - part 1
- also sort includes
- also fix warnings about too long lines
2022-10-03 17:10:36 +02:00
wmayer
a9a4cf3d6d Fem: [skip ci] Fix several clazy issues:
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Missing emit keyword on signal call FemGui::PointMarker::PointsChanged [-Wclazy-incorrect-emit]
2022-07-25 12:11:47 +02:00
Uwe
5e634c5995 [FEM] remove superfluous nullptr checks 2022-07-18 01:45:19 +02:00
wmayer
bde17e1b9f Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Ajinkya Dahale
94a71f67aa [FEM] Add reference highlighting for FEM constraints
Following constraints affected:

`ViewProviderFemConstraint`
`ViewProviderFemConstraintDisplacement`
`ViewProviderFemConstraintFixed`
`ViewProviderFemConstraintFluidBoundary`
`ViewProviderFemConstraintForce`
`ViewProviderFemConstraintHeatflux`
`ViewProviderFemConstraintPressure`
`ViewProviderFemConstraintSpring`
`ViewProviderFemConstraintTemperature`
2022-01-19 22:22:42 +01:00
Bernd Hahnebach
fb3a3f6a33 FEM: rename icon, Constraint Displacement 2020-03-06 08:38:59 +01:00
Zheng, Lei
5214f5b7ce Gui: add coinRemoveAllChildren to work around Coin3D bug
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff

Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.

All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
Abdullah Tahiri
0382e2dd75 PCH: Fem Gui 2019-05-16 21:43:08 +02:00
Bernd Hahnebach
bf03c91781 FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
Bernd Hahnebach
267aec014a FEM: replace tabs at line start by spaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
3091fd5973 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
vginkeo
034e377dd0 FEM: Implement constraint displacement in C++ 2016-02-12 11:09:58 +02:00