Commit Graph

27 Commits

Author SHA1 Message Date
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
f467451ae3 [FEM] remove more superfluous nullptr checks 2022-07-18 02:34:57 +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
wmayer
af42f439d9 PVS: V612 The '(4) / 3' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part 2020-07-18 10:59:28 +02:00
Bernd Hahnebach
e9df57bdd4 FEM: rename icon, Constraint Force 2020-03-06 08:39:03 +01:00
luz.paz
73b8ee91ee FEM: [skip ci] fix header uniformity
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +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
11a1de07d1 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
vginkeo
034e377dd0 FEM: Implement constraint displacement in C++ 2016-02-12 11:09:58 +02:00
vginkeo
38b8d172c2 FEM: Constraint view sizing and scaling of indicators for force, pressure and fixed constraints and limit on steps. 2016-02-01 10:52:37 +02:00
wmayer
2a2b40e50e + fix memory leaks 2015-11-13 16:06:43 +01:00
Przemo Firszt
83ae8e497d FEM: Rename Fem_ConstraintForce icon to fem-constraint-force
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:34 -03:00
wmayer
6b3340e7b5 + include missing header files 2015-07-01 13:02:29 +02:00
wmayer
2ee400b679 + fix rendering problems for FEM elements 2015-04-13 22:11:27 +02:00
wmayer
ee6cb252fa + fix issues with force constraint 2014-10-10 17:42:33 +02:00
wmayer
05e8a4f74c + fixes #0001549: crash with Draft move tool while sketch is in edit mode 2014-05-20 15:25:03 +02:00
wmayer
7a13cb8d09 + Fix compiler warnings 2013-10-11 12:24:49 +02:00
jriegel
00ea24e07e Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
jrheinlaender
c24465a594 Added icons for FEM constraints, courtesy of jmaustpc 2013-03-21 16:58:39 +04:30
jrheinlaender
909265cac9 Improvements to FEM constraint objects 2013-03-21 16:58:01 +04:30
jrheinlaender
7670c6b13c Fixed problems with loading of FEM constraint objects 2013-03-21 16:56:57 +04:30
jrheinlaender
4755859cb6 Split code into separate files for each constraint type 2013-03-21 16:56:57 +04:30