Commit Graph

36 Commits

Author SHA1 Message Date
marioalexis
464a50d60e Fem: Clean up constraint view providers 2024-06-24 11:15:14 -05:00
wmayer
56820718c5 Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
AgCaliva
1f9bae0de7 Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-25 22:58:23 -03:00
wmayer
b8b94c249e Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
AgCaliva
4a504437d3 merge master via cli 2023-09-16 02:12:58 -03:00
AgCaliva
bcd1ebe537 fixing DOMDocument redefinition on windows 2023-09-09 04:58:38 -03: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
wmayer
a9b9899846 FEM: move to new style connect() 2023-01-15 19:50:46 +01:00
Uwe
1a32e6ad9c [FEM] TaskFemConstrain*: remove unused includes
- also sort includes
2022-10-03 05:20:52 +02:00
luz paz
1a7ddfdc24 Fix typos and whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +02:00
Uwe
fc548a4b34 [FEM] remove superfluous nullptr checks 2022-07-18 01:45:19 +02:00
wmayer
7ae9fc0d67 Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Ajinkya Dahale
0aeed0e53b [FEM] Add modal add/remove for dispacement constraint
With this, add/remove buttons for displacement constraint will put the user in a
selection mode if pressed when nothing is selected.

Superclass `TaskFemConstraintOnBoundary` Allows code reuse for other
constraints. We do not need this in `TaskFemConstraints` because it is only used
in a subset of constraints, particularly that applies on only some of the
boundary entities.

TODO: Confirm Undo/Redo works appropriately.
TODO: Optimize `onSelectionChanged()`.
2022-01-07 05:33:42 +01:00
wmayer
e1b03bc0eb [skip ci] fix some typos 2021-12-31 14:03:51 +01:00
Bernd Hahnebach
c8ea17681a FEM: constraint VP, comments 2020-02-25 20:45:49 +01:00
donovaly
520cfd8953 [FEM] constraint contact: sort out already available function
additionally add some comments in TaskFemConstraint.cpp
2020-02-25 19:59:01 +01:00
donovaly
d19d5b5fce FEM: constraint dialogs: sort out commonly used function
additionally remove double code from TaskFemConstraintForce.cpp
2020-02-24 20:12:10 +01:00
wmayer
389b26c48e PartDesign/Fem: [skip ci] when handling Del key make sure that deleteAction is instantiated 2020-02-19 11:31:40 +01:00
donovaly
97de09ad6f [FEM] add shortcut to delete constraints from list in dialog
see https://forum.freecadweb.org/viewtopic.php?f=18&t=43402
2020-02-19 10:15:10 +01:00
luz.paz
1baf5da3cf FEM: [skip ci] fix header uniformity
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +01:00
Abdullah Tahiri
241c370f5f PCH: Fem Gui 2019-05-16 21:43:08 +02:00
wmayer
560b415f19 Replace Base::Exception with appropriate subclass 2018-11-14 17:19:30 +01:00
wmayer
09737f2db3 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +02:00
wmayer
f44df3cdf0 do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00
wmayer
32aa72e94c fix Coverity issues 2016-08-21 15:13:32 +02:00
Bernd Hahnebach
b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
14eb6869a9 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
vginkeo
f14758d5e5 FEM: C++98 compatible fix to constraint displacement reference deletion, update vertice, edge, face selection 2016-02-29 13:06:16 +01:00
Yorik van Havre
577f208da7 Revert "FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection."
This reverts commit ac4d466443.
2016-02-19 00:05:55 -02:00
vginkeo
ac4d466443 FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection. 2016-02-18 19:15:16 -02:00
vginkeo
80a791021b 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
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
834c0a642d + include missing header files 2015-07-01 13:02:29 +02:00
jrheinlaender
f5c6e4eae3 Improvements to FEM constraint objects 2013-03-21 16:58:01 +04:30
jrheinlaender
d48542cf56 Split code into separate files for each constraint type 2013-03-21 16:56:57 +04:30
jrheinlaender
918291f81f Created FEM constraint document object 2013-03-21 16:52:10 +04:30