Commit Graph

28765 Commits

Author SHA1 Message Date
wmayer
735eecc42b Part: fix build failures with OCC >= 7.6 2022-08-09 18:42:38 +02:00
wmayer
2062f9ce87 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
Chris Hennes
4638bbf8ed Addon Manager: Unit tests for cache loading 2022-08-09 10:23:27 -05:00
Chris Hennes
54e06a759b Addon Manager: Improve unit tests for utlility 2022-08-09 10:23:27 -05:00
Chris Hennes
44cbd88830 Addon Manager: Refactor to improve testability 2022-08-09 10:23:27 -05:00
Chris Hennes
99084f1a62 Addon Manager: Add unit test for addon fetch 2022-08-09 10:23:27 -05:00
Chris Hennes
616a343973 Addon Manager: Fix macro-loading bug from refactoring 2022-08-09 10:23:27 -05:00
Chris Hennes
4c63094331 Addon Manager: Worker refactor (round 1) 2022-08-09 10:23:26 -05:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
0c70d45c83 Gui: Use override etc 2 2022-08-09 12:43:23 +02:00
berniev
3891e85c32 App: Use override etc 2 2022-08-09 12:42:02 +02:00
wmayer
91ea39a5c0 Base: extend Placement/Rotation API
* Add Placement::isSame() and expose to Python
* Add Placement::multRight/Placement::multLeft
* Fix PlacementPy::rotate
* Add Rotation::multRight/Rotation::multLeft
* Add a test feature FeatureTestPlacement for uni tests
* Add unit tests
2022-08-09 11:54:05 +02:00
wmayer
6067b18774 Base: [skip ci] improve whitespaces 2022-08-09 08:25:59 +02:00
Markus Fröschle
4b538a38ab Fix Placement.rotate() to match documentation
Documentation for Placement.rotate() claims this function would be
compatible to TopoShape.rotate() which isn't exactly correct as the
generated placements differ because of backwards multiplication.

This commit adds a "comp" (as in "compatible") keyword argument that -
when "True" (default is False) - produces a Placement that is interchangable with the one
that is generated from TopoShape.rotate().
2022-08-09 07:22:46 +02:00
Uwe
4571206be5 [FEM] Elmer: fix broken example
- (a regression to FC 0.20.0), use new settings ("direct" is already the default, iterative solving takes here about 5 times longer, DisplaceMesh must be False)
2022-08-09 05:38:02 +02:00
Uwe
7f23e793eb [FEM] increase size of generic solver task panel
- increase it to size of CCX panel to create more room for the log output
2022-08-09 03:23:12 +02:00
sliptonic
4b861b1083 Merge pull request #7333 from mlampert/bugfix/external-thread-issues
PATH: Bugfix/external thread issues
2022-08-08 10:11:23 -05:00
berniev
915369d8a2 Mod: Redundant_string_initialization 2022-08-08 16:52:42 +02:00
berniev
50ee321fa8 Gui: Redundant_string_initialization 2022-08-08 16:51:32 +02:00
berniev
e5d4c09ce2 App: Redundant_string_initialization 2022-08-08 16:50:25 +02:00
Uwe
6f546de8f0 [Gui] fix typos
- fix a typo found by codespell
- rename variables to please codespell
2022-08-08 14:14:23 +02:00
Uwe
a32e927227 [FEM] Elmer: scale EigenMode results
- for an not yet known reason the result from Elmer are only for eigen analyses a factor 1000 (we send the mesh scaled to Elmer and it seems the eigen solver does not notice this)
Therefore scale these results
2022-08-08 12:33:57 +02:00
Uwe
515584c81b [FEM] fix warp filter factor
- since our mesh is in mm, we must multiply the set factor by 1000 to get the real factor. This applies also for pipelines from CCX results.
Now the factor fits with the factor one can set in the CCX results dialog
2022-08-08 12:20:47 +02:00
wmayer
617f213d2f TD: [skip ci] help code analyzers with export macro 2022-08-08 12:03:25 +02:00
wmayer
0c7e521ff5 Gui: set width of list box according to text length 2022-08-08 11:36:35 +02:00
wmayer
55fa3d8a77 Mod: [skip ci] improve whitespace 2022-08-08 10:46:04 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
wmayer
311abcc43e Gui: [skip ci] include header with export macros 2022-08-08 10:22:59 +02:00
berniev
656ef8961f Gui: redundant void 2 2022-08-08 10:21:44 +02:00
wmayer
ec72d96038 App: [skip ci] improve whitespace 2022-08-08 10:11:22 +02:00
berniev
7f699c3dad App: redundant void 2 2022-08-08 09:45:36 +02:00
Markus Lampert
0200c8d70a Fixed radii calculations and their processing for external threads 2022-08-07 18:01:07 -07:00
Markus Lampert
1e8d1c621c Fixed external thread milling orientation and direction 2022-08-07 18:01:07 -07:00
Markus Lampert
38e34758c7 Fixed logic error in path selection drill gate. 2022-08-07 18:01:07 -07:00
Markus Lampert
ffe0961853 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07:00
Roy-043
2e646c9147 Sketcher: Fix sWhatsThis for Sketcher_CompConstrainRadDia (#7324) 2022-08-08 02:11:06 +02:00
luz paz
d02f6330fc FEM: remove trailing whitespace from various FEM files 2022-08-08 02:10:17 +02:00
Uwe
d438514d9f [FEM] fix pipeline recompute issue
- after a simulation was run, the pipelines and its childs are recomputed but its shape coloring is not updated.

- also update XML documentation
- also remove comment in tasks.py for now
2022-08-08 02:04:07 +02:00
Uwe
8b06680eb8 [FEM] add framework to scale result mesh values
- it seems that we will need to scale result values (probably for the Elmer Eigen solver)
  This PR adds the framework to do this. It is meant for Elmer but designed versatile.
2022-08-08 01:48:08 +02:00
Uwe
90afc19382 [FEM] fix pipeline recompute bug
- on recomputing scalar or warp filters the information about the field was lost.
  This is because the validity of an array was tested before it is actually filled

- also fix MSVC warning of using a C++ keyword as variable
- also avoid an unnecessary recompute after Elmer solver was run
2022-08-08 00:06:54 +02:00
wmayer
c4547c03e1 Gui: improve integrated Python console:
* correctly handle the case that Py_BuildValue() can return a null pointer
* fix a latin1 <-> UTF-8 conversion problem
2022-08-07 17:50:28 +02:00
Uwe
460efa3a72 [FEM] Elmer: use defaults of ElmerGUI
- use also for the linear solver the defaults of ElmerGUI
2022-08-07 16:19:20 +02:00
Uwe
753a034708 [FEM] Elmer: fix for electricforce
- the default is to execute this solver after previous solution converged. This has to be output via the Exec Solver parameter
2022-08-07 16:17:55 +02:00
Uwe
bcc25f9bc7 [FEM] pipeline fix when there is no field
- for the case that pipeline with a field is active, then another pipeline that does not display any field, we cannot just return because the pipeline cannot have the color bar range of the prevision pipeline
2022-08-07 15:17:50 +02:00
Uwe
678fc54358 [FEM] [skip CI] set unit for potential loads 2022-08-07 15:15:23 +02:00
Bernd Hahnebach
7a1c9303d3 FEM: Python pep8 code formatting 2022-08-07 09:56:52 +02:00
Uwe
b52967d52a [FEM] update Elmer test files 2022-08-07 06:54:16 +02:00
Uwe
38aaf9bfb3 [FEM] Elmer: fix pipeline update issue
- the existing result pipeline can have several children. They must all be updated.
2022-08-07 06:22:42 +02:00
Uwe
e4e34affac [FEM] Elmer: resale the mesh using Elmer
- according to Peter from the Elmer team, we can use Elmer for both, scaling in and scaling back just for consistency
2022-08-07 05:32:54 +02:00
Uwe
42b3b8daed [FEM] [skip CI] fix a typo for nonlinear solving 2022-08-07 05:24:37 +02:00