Commit Graph

23859 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
ac8099d1f6 [TechDraw] Remove deprecated replaceCenterLine 2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
b36d6b53cd [TechDraw] Remove deprecated replaceCosmeticEdge 2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
a017cb41bc [TechDraw] Remove deprecated replaceCosmeticVertex 2022-08-02 16:09:54 -04:00
wmayer
7e230725b9 Fem: [skip ci] replace the SoAnnotation with an SoSeparator to fix rendering artifacts for non-convex objects 2022-08-02 19:09:05 +02:00
Yorik van Havre
79d42f2b41 Merge pull request #7295 from carlopav/DraftFixEditBSpline
[Draft] Fix Draft Edit AddPoint with BSpline
2022-08-02 10:56:57 +02:00
Uwe
1f9b9e8c17 [FEM] remove some unused includes 2022-08-02 05:15:31 +02:00
carlopav
58054f13bc [Draft] Fix Draft Edit AddPoint with BSpline
ref. https://forum.freecadweb.org/viewtopic.php?p=613622#p613622

Fix Bug when adding point to a BSpline.
2022-08-01 22:15:51 +02:00
Yorik van Havre
54dcf4d4e1 Merge pull request #7259 from Roy-043/Draft-Fix-handling-of-groups-on-move-copy-and-rotate-copy
Draft: Fix handling of groups on move-copy and rotate-copy
2022-08-01 17:06:09 +02:00
wmayer
fd6dc844be Spreadsheet: fixes #7285: [Bug] FreeCAD crashes if cell value ' is set in Spreadsheet 2022-08-01 08:09:34 +02:00
Uwe
c61ca0d0a7 [FEM] Elmer: fixes for the point filter
- use correct names and support all possible outputs
2022-08-01 04:33:06 +02:00
Uwe
d2cbf80d3c [FEM] Elmer: update .sif files
- because of solver default settings change
2022-08-01 04:27:38 +02:00
Uwe
ea8e13dfa0 [FEM] Elmer: don't push mesh scaled to Elmer
- the mesh scaling was a hack to work around the fact that FC's mesh is in mm while all input units are in SI. It turned out that this made more problems than it solved because Elmer checks the length unit and makes internal recalculations. So the mesh must not be scaled when send to Elmer (despite the ElmerGrid docs doesn't state this).
forum thread: https://forum.freecadweb.org/viewtopic.php?p=614162#p614162
2022-08-01 03:58:09 +02:00
Uwe
927cecc742 [FEM] Elmer: set sensible defaults for elasticity equation
- for BiCGstabl the minimal degree is 2, but 3 is recommended
- when adding the equation, it should do something, therefore enable the calculation of the principal stresses (as it was, nothing was calculated except of the displacement)
2022-08-01 03:42:57 +02:00
Bernd Hahnebach
5d4b753940 FEM: python code formatting 2022-07-31 23:47:45 +02:00
Chris Hennes
c9ad07a47e Addon Manager: pylint cleanup of list diplay 2022-07-31 15:38:42 -05:00
Uwe
02b994a3fb [FEM] importVTKResults: assure user gets a visible object
- on importing a .vtu/.vtk file the new created should be a visible one. Therefore set its display to surface like we do when a new pipeline is created from within FC by the user
2022-07-31 22:32:04 +02:00
Uwe
62bc30ddf4 [FEM] [skip CI] PropertyPostDataObject: some .clang changes 2022-07-31 22:08:43 +02:00
Uwe
b458ef0208 [FEM] Constraint: BodeHeat: fix regression from commit 4a349525
- a simple indentation mistake
2022-07-31 21:17:52 +02:00
Chris Hennes
66f452c01b Addon Manager: fix thread termination bug 2022-07-31 13:02:14 -05:00
wmayer
a5ccef8146 Fem: use SoAnnotation to highlight result pipeline objects 2022-07-31 17:51:31 +02:00
Uwe
4a030cd949 [FEM] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-07-31 15:36:54 +02:00
Uwe
c5a7e13172 [Part] ViewProvider: 2 to M: remove unused includes 2022-07-31 15:36:20 +02:00
Uwe
6de14cd3a0 [Part] ViewProvider: P to T: remove unused includes 2022-07-31 14:55:19 +02:00
luz paz
bf030f76aa Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
wmayer
9ddbecb864 Fem: implement a selection observer to notify a ViewProviderFemPostObject when its selection status has changed 2022-07-31 14:01:23 +02:00
Uwe
474981d7b6 [Test] remove unnecessary Python check
we only support Python 3
2022-07-31 05:28:47 +02:00
Uwe
6943408cb2 [Spreadsheet] remove unnecessary Python check
we only support Python 3
2022-07-31 05:28:19 +02:00
Uwe
4dd623466d [PD] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:45 +02:00
Uwe
d1332def5c [Path] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:03 +02:00
Uwe
0c02c28cf4 [SCAD] remove unnecessary Python 3 check
we only support Python 3
2022-07-31 05:26:03 +02:00
Uwe
bb667b516f [FEM] Elmer: fix small number property handling
- use an expression as discussed: https://forum.freecadweb.org/viewtopic.php?p=613897#p613897
2022-07-31 05:19:45 +02:00
luz paz
aec90797b4 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-30 22:41:31 -04:00
Chris Hennes
0f1d9e35e7 Addon Manager: Add other_files download for wiki macros 2022-07-30 21:31:26 -05:00
Uwe
f532fa9a1b [FEM] Elmer: fix eigenmode results for point filter
Elmers' eigenmode results have a different result name
2022-07-31 04:30:31 +02:00
Uwe
5107590917 [FEM] add missing eigenfrequcy calculation for Elmer
- while for CCX we output the eigenfrequency, for Elmer the user had to perform the calculation of a sqrt of the complex result.
This is inconvenient and error-prone and also requires the knowledge where the result is output by Elmer and in what format. (cast me more than an hour to find this out)
Therefore perform the calculation for the user and output the result.
2022-07-31 02:31:26 +02:00
Uwe
cbf3de264f [FEM] utils: remove unused import 2022-07-31 02:08:16 +02:00
wmayer
7628569b43 Base: add Precision class
and move the Python binding from Part to Base module
2022-07-30 17:10:56 +02:00
Uwe
52b2bc6e38 [FEM] Elmer: add missing direct variant MUMPS
- also use capitalized wording to Umfpack as Elmer does
2022-07-30 14:40:10 +02:00
luz paz
ca52b33763 PD: Remove unnecessary semicolons in FeatureHole.py
Discovered through github action check.  
[skip ci]
2022-07-30 13:17:18 +02:00
luzpaz
ef3324fa9e PD: Fix 'testing inequality to None' syntax (#7279)
* PD: Fix 'testing inequality to None' syntax

- Substitute `is not None` for `!= None`
- Fix trailing whitespace
2022-07-30 04:01:40 +02:00
luzpaz
673181a747 Arch: Fix 'testing inequality to None' syntax (#7274)
* Arch: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
-Trim trailing whitespace on touched files
2022-07-30 00:28:20 +02:00
luzpaz
95070bded4 Draft: Fix 'testing inequality to None' syntax (#7275)
* Draft: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
- Trim trailing whitespace on touched files
2022-07-30 00:26:56 +02:00
Uwe
922f6b83d6 [Part] [skip CI] SectionCutting: silence MSVC compiler warning
- also fix a typo
2022-07-30 00:20:30 +02:00
Benjamin Bræstrup Sayoc
abaee2d0fe [TechDraw] Improve readability of DrawWeldSymbol.cpp 2022-07-29 14:39:21 -04:00
Benjamin Bræstrup Sayoc
692838bd53 [TechDraw] Improve readability of DrawViewSpreadsheet.cpp 2022-07-29 14:39:21 -04:00
wmayer
8fb716643c Mod: [skip ci] fix warning: [-Wreturn-std-move] 2022-07-29 18:55:10 +02:00
wmayer
fc72a7979b Part: [skip ci] fix typo 2022-07-29 18:50:35 +02:00
Yorik van Havre
a5c64777b1 Arch: Removed leftover debug messages 2022-07-29 14:01:56 +02:00
Uwe
40e9759070 [TD] silence a MSVC compiler warning
- as suggested here: https://forum.freecadweb.org/viewtopic.php?p=613409#p613409
2022-07-29 02:21:21 +02:00
Uwe
6c7cf1c276 [Sketcher] fix icon name
- fix a FIXME, Sketcher_CreateEllipse depicts already the right thing, it just has to be renamed
2022-07-29 01:26:00 +02:00