Commit Graph

5010 Commits

Author SHA1 Message Date
Stefan Tröger
97d8608557 FEM: Fix test if VTK or VTK python is not available (#21168)
* FEM: Fix test if VTK or VTK python is not available
* FEM: Make test work if vtk python not installed
2025-05-08 15:55:45 -05:00
bofdahof
ba2c2ca5ad Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Benjamin Nauck
afc54f74e4 Merge pull request #21083 from 3x380V/exception-stage-1
Base: simplify Exception
2025-05-06 09:29:45 +02:00
Chris Hennes
6363da3ee9 Merge pull request #20891 from ickby/FEM_python_filter
FEM: Enabling postprocessing filters written in python, and adding a glyph example
2025-05-05 21:19:49 -05:00
Ladislav Michl
9683cf1e4f Base: rename Exception's PascalCase methods to camelCase 2025-05-05 23:50:01 +02:00
pre-commit-ci[bot]
4839988bb3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-02 07:29:09 +00:00
Stefan Tröger
f3edddcbdb FEM: Fix typos in python post processing code 2025-05-02 09:25:57 +02:00
Stefan Tröger
346558ab71 FEM: Handle python vtk user installs that conflict with FreeCAD VTK 2025-05-02 09:25:57 +02:00
Stefan Tröger
e6c82c1c20 FEM: Fix test with new python filter and other small fixes 2025-05-02 09:25:56 +02:00
Stefan Tröger
f20852e7e1 Fem: correctly handle python filters if vtk python is not available 2025-05-02 09:25:56 +02:00
Stefan Tröger
bbf5695562 Fem: make python filter build process more elegant 2025-05-02 09:25:56 +02:00
Stefan Tröger
9430bdde01 Fem: Implement basic python filter functionality and glyph example 2025-05-02 09:25:56 +02:00
marioalexis
d2e04a6326 Fem: Use string format to round Elmer quantity values - fixes #20938 2025-05-01 20:23:19 -03:00
marioalexis
e918952bb5 Fem: Move code from Elmer electrostatic writer to proxy class 2025-05-01 20:23:18 -03:00
Stefan Tröger
10eb015353 FEM: correct typos 2025-04-28 20:52:47 -05:00
Stefan Tröger
dcb35d0107 FEM: Post task dialog opens transaction only if none is pending. Fixes item 4 in #20263 2025-04-28 18:45:05 +02:00
Stefan Tröger
7a630f4b10 FEM: Add post pipeline for check analysis type. Fixes #20936 2025-04-28 18:45:05 +02:00
Stefan Tröger
642eff1663 FEM: Ensure finite frame values only. Fixes #20933 2025-04-28 18:45:05 +02:00
Stefan Tröger
ea6c95a870 FEM: Fix post object load of unsupported VTK data type 2025-04-28 18:45:05 +02:00
muezabdalla
1d0e6b368d making the buttons of the temperature constrain expandable (#20894) 2025-04-28 10:11:40 -05:00
Kacper Donat
9fba1b9fad Fem: Use freecad_cast whenever possible 2025-04-26 14:23:25 +02:00
Kacper Donat
b24af528d5 Merge pull request #20778 from FlachyJoe/LockedProperty2
Prevent user to remove core properties
2025-04-23 00:23:37 +02:00
Pieter Hijma
a1239688af [Core] Allow creating an editor with a frame
The default is to not have a frame as is custom before this change.
2025-04-22 23:56:07 +02:00
Florian Foinant-Willig
3064c7705f Fem: Prevent user to remove core properties 2025-04-22 23:52:17 +02:00
3x380V
ad244bf8d4 Fix SolverCalculiX object refactor (#20913)
Rename original SolverCalculix.ui to SolverCcxTools.ui to prevent
collision on case insensitive filesystems.

Fixes: 4f7a835e22 ("Fem: SolverCalculiX object refactor")
2025-04-22 16:53:58 -03:00
Chris Hennes
cc1c6c2ab0 Merge pull request #20609 from marioalexis84/fem-ccx_refactor
Fem: SolverCalculiX refactor - Add option to import results as pipeline - Fixes #20541
2025-04-21 11:01:23 -05:00
Chris Hennes
f1ef2159ee Merge pull request #20835 from oursland/python-binding-generator-const
python: Make const methods declared const in C++.
2025-04-21 10:58:21 -05:00
Florian Foinant-Willig
ef0ca1cff3 Core: Part::PartFeature should be Part::Feature 2025-04-21 10:51:15 -05:00
Luz Paz
914e756cf0 FEM: fix source typos
ConstraintDisplacmentPrescribed → ConstraintDisplacementPrescribed
FemConstraintDisplacment → FemConstraintDisplacement
2025-04-21 10:12:49 -05:00
Jacob Oursland
5c251e73ac python: apply const method annotations to impls. 2025-04-16 20:32:04 -07:00
marioalexis
da3af1af5b Fem: Update command FEM_SolverRun 2025-04-15 08:49:23 -03:00
marioalexis
006b73bf54 Fem: Add option to set data mode for SolverCalculiX 2025-04-15 08:49:23 -03:00
Benjamin Nauck
21fbf8e539 Use Base::toRadians() instead of manually converting 2025-04-15 07:16:36 +02:00
Chris Hennes
e2c2017df5 Merge pull request #20649 from pieterhijma/viewprovider-toggle-visibility
[Core] Allow setting visibility toggling in the ViewProvider
2025-04-14 10:45:14 -05:00
marioalexis
bdcfc7f6de Fem: Add preference to create CalculiX result as pipeline - fixes #20541 2025-04-13 15:04:01 -03:00
marioalexis
f0324df06b Fem: Rename VectorMode view property to Component 2025-04-13 15:04:01 -03:00
marioalexis
6acb3bda91 Fem: Update test 2025-04-13 15:04:01 -03:00
marioalexis
424e193ae7 Fem: SolverCalculiX object refactor 2025-04-13 15:03:55 -03:00
marioalexis
bf79ca2a0f Fem: Add properties to FemSolverObject 2025-04-12 02:10:25 -03:00
marioalexis
ce068a71c4 Fem: Rename base_femmeshtaskpanel to base_femlogtaskpanel 2025-04-12 02:10:24 -03:00
Kacper Donat
77e40b9747 Base: Use explicit pointer syntax for freecad_cast (#20694)
* Base: Use explicit pointer syntax for freecad_cast

This aligns our custom cast with other casts

* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
9d97d1c895 Base: Rename Base::freecad_dynamic_cast into freecad_cast
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
Pieter Hijma
524d3c41c0 [Core] Disable toggling visibility for objects
- VarSet
- Spreadsheet
- FEM objects
2025-04-05 16:12:49 +02:00
Pieter Hijma
2b2da596ff [Core] Remove various DisplayModes from FEM 2025-04-05 15:57:49 +02:00
marioalexis84
61b95ac6cd Fem: Update modification time for FemFrameSourceAlgorithm - fixes #20543 (#20548) 2025-04-01 23:19:53 -05:00
Kacper Donat
5658274bb8 Merge pull request #20559 from hyarion/refactor/add-limits
Add `#include <limits>` in all files where it is used
2025-04-01 17:11:50 +02:00
marioalexis
a1bc141c74 Fem: Add method to rename pipeline VTK data arrays 2025-04-01 06:35:17 +02:00
Benjamin Nauck
7c6db638c8 Fem: Add #include <limits> where used 2025-03-31 23:51:06 +02:00
marioalexis
f452d58943 Fem: Capitalize label in material task panel 2025-03-31 23:00:50 +02:00
Luz Paz
97e172334b Fix typos
Found via `codespell -q 3 -L aci,addmin,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,aply,apoints,ba,beginn,behaviour,bloaded,bottome,brushin,bu,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,documentin,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,findn,fle,freez,graphin,hist,iff,incrementin,indexin,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,leadin,localy,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,renderin,rin,ro,rougly,sectionin,seperator,serie,shs,sinc,siz,som,strack,substraction,te,technic,thist,thru,tread,tru,ue,uint,unter,uptodate,vas,vertexes,vew,wallthickness,whitespaces -S "./.git,*.po,*.ts,*.pdf,./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/SourceDoc,./tools/build/WindowsInstaller/lang,./src/Mod/TechDraw/Templates/locale"`
2025-03-31 23:00:32 +02:00