wmayer
3dd5438880
Mesh: [skip ci] when points lie exactly on a plane it can happen that a plane fit creates U,V vectors with NaN while W is valid
2021-09-29 12:35:28 +02:00
wmayer
0a9d08218a
Mesh: detect points on edges
2021-09-28 22:30:21 +02:00
Chris Hennes
bd4623a2a3
[Mesh] Improve unit tests
...
Add a test for the CTRIA3 element, and add code to check the used nodes
and cancel the file load if they don't all exist.
2021-09-25 19:42:00 -05:00
Chris Hennes
b10dc6757a
Merge branch 'master' into meshNastranFileFormat
2021-09-25 16:34:33 -05:00
Chris Hennes
d3509a63fd
[Mesh] Add unit tests for NASTRAN reader
...
Also make some minor deprecation and verbosity cleanups to the Mesh unit
test cases.
2021-09-25 16:05:19 -05:00
wmayer
bd46e970d9
Mesh: [skip ci] change MeshTopoAlgorithm::SplitOpenEdge to return a boolean to indicate if the operation succeeded or not
2021-09-25 14:52:49 +02:00
Yorik van Havre
b042405933
Merged crowdin translations
2021-09-23 17:14:48 +02:00
Chris Hennes
7655e7347d
[Mesh] Improve NASTRAN input support
...
Adds support for original-NASTRAN fixed-field-width low-precision GRID
element (the existing code assumed space-delimited input).
2021-09-22 11:58:04 -05:00
Chris Hennes
e233ba54e6
Merge pull request #5047 from chennes/lgtmMeshEmptyBlocks
...
[Mesh] Implement high-precision NASTRAN GRID* element
2021-09-22 09:22:48 -05:00
wmayer
fc83fd1fc8
port to MSYS2/clang: suppress 'undefined-var-template' warnings
2021-09-22 14:09:07 +02:00
Chris Hennes
f9f08f8805
[Mesh] Implement GRID* input in NASTRAN
...
LGTM complained about two empty blocks in the Mesh NASTRAN reader: those
blocks related to the code skipping the input of the high-precision GRID
element. This commit adds support for that element.
2021-09-20 10:32:10 -05:00
wmayer
e211b89cf8
port to MSYS2/clang
2021-09-19 19:49:44 +02:00
wmayer
3ab5dadd82
Mesh: add function section() to Mesh class
2021-09-16 17:31:45 +02:00
wmayer
33f3fa6865
Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes
2021-09-14 23:01:29 +02:00
wmayer
40d2955c66
Base: split export/import macros from FCConfig.h and move them to FCGlobal.h
...
The FCGlobal.h can be included in a Global.h header file of an extension module.
The reason is that some IDEs (e.g. QtCreator) fails to detect the export/import macros when only defined in the PreCompiled.h files and thus raise a parser warning.
2021-09-14 16:40:30 +02:00
Megidd Git
c3df0db4f7
Mesh: fix infinite loop when repairing mesh facet indices
2021-09-12 09:13:57 +04:30
Yorik van Havre
642836d58a
Merge pull request #5002 from AjinkyaDahale/fix-4732-self-int
...
[Mesh] Avoid false negatives during self-intersection checks
2021-09-08 12:31:30 +02:00
Yorik van Havre
89e1a97d80
Merged crowdin translations
2021-09-07 11:26:48 +02:00
Ajinkya Dahale
11f89dd641
[Mesh] Skip false positive tests for coplanar self-intersections
...
Fixes issue #4732 .
Within the code, a different algorithm is used for intersection checks when
faces are found to be coplanar. That algorithm does not return the "intersection
line", which is used to remove false-positives. This however results in
false-negatives.
2021-08-31 11:11:11 -04:00
Yorik van Havre
49abe81271
Merged crowdin translations
2021-08-26 14:51:36 +02:00
Yorik van Havre
1cee70cd62
Merged crowdin translations
2021-07-08 16:06:38 +02:00
Yorik van Havre
ed9dca288c
Merged crowdin translations
2021-07-01 13:56:25 +02:00
Yorik van Havre
c8b5d8d762
Merged crowdin translations
2021-06-24 17:22:19 +02:00
Yorik van Havre
4a9963a03f
Merged crowdin translations
2021-06-10 12:24:24 +02:00
Yorik van Havre
d0d637b2c6
merged crowdin translations
2021-06-03 15:43:34 +02:00
Yorik van Havre
b1d9a5607f
Merged crowdin translations
2021-05-27 14:51:33 +02:00
Yorik van Havre
7b0a6358b1
Merged crwodin translations
2021-05-12 16:36:31 +02:00
Yorik van Havre
81a44fcccb
Updated ts files
2021-05-11 13:05:20 +02:00
wmayer
b69ef38c7f
allow to enable PCH for gcc and clang
2021-05-03 17:37:58 +02:00
luz paz
086063f75e
Mesh: remove py2 code
2021-04-25 11:26:39 +02:00
wmayer
2c072c7092
Mesh: [skip ci] fixes #0004430 : Mesh_BuildRegularSolid: parametric mesh props have no units in Property editor
2021-04-21 14:50:45 +02:00
wmayer
6ce9ef387b
Mesh: properly handle small quantities in mesh primitive dialog
2021-04-20 17:11:17 +02:00
Mateusz Skowroński
92683e1f63
Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.
2021-04-19 15:10:53 +02:00
wmayer
a849f9f932
Mesh: [skip ci] in ViewProviderMesh::highlightSegments change material binding only if colors list is non-empty
2021-03-28 11:27:04 +02:00
wmayer
1ca3b36228
Mesh: [skip ci] use enum to define the various 2D meshing algorithms
2021-03-25 17:28:13 +01:00
donovaly
bf08e25f34
[Mesh] fix Gmsh mesh algorithms
...
the numbers written to the geo file were wrong
- also update the list of currently supported algorithms (as of Gmsh 4.6 or newer)
2021-03-25 17:20:15 +01:00
wmayer
f4e3e8abd6
Mesh: [skip ci] refactor Mesh open/import functions
2021-03-20 21:54:30 +01:00
wmayer
182952a881
Mesh: [skip ci] do not make lower case read lines of OBJ file as otherwise it may fail to load the MTL file
2021-03-20 19:19:30 +01:00
wmayer
9f937f765d
Mesh: [skip ci] fix regular expression in MeshInput
2021-03-10 17:49:05 +01:00
David Osterberg
43bc30da84
Beautify xml step 1: These changes do not affect the uic output
2021-03-02 16:29:11 +01:00
Yorik van Havre
958009c2ca
Merged crowdin translations
2021-02-25 13:27:48 +01:00
Yorik van Havre
5ba28fa7ff
Merged crowdin translations
2021-02-24 18:07:59 +01:00
luz paz
d761c9d2c0
Mesh: Crowdin: fix typo in translation [skip ci]
...
ref: https://crowdin.com/translate/freecad/561/en-en?filter=basic&value=0#6585564
2021-02-22 08:02:22 +01:00
wmayer
91c36f9ab1
Mesh: [skip ci] Fix coverity warning
...
Coverity warnings fixed:
CID 316517 (#1 of 1): Uninitialized scalar variable (UNINIT)
13. uninit_use_in_call: Using uninitialized value t. Field t.err is uninitialized when calling push_back
CID 316519 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value v. Field v.tstart is uninitialized when calling push_back
CID 316547 (#1 of 1): Uninitialized scalar variable (UNINIT)
13. uninit_use_in_call: Using uninitialized value t. Field t.err is uninitialized when calling push_back
CID 316556 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value v. Field v.tstart is uninitialized when calling push_back
2021-02-21 15:51:56 +01:00
bitacovir
27042216c9
[UI] Add tools to Mesh WB toolbar
2021-02-19 16:28:42 +01:00
wmayer
ed87303802
Mesh: add unit tests for splitting facets
2021-02-14 12:33:29 +01:00
wmayer
d941c114cb
Mesh: [skip ci] expose some mesh evaluation functions to Python
2021-02-14 12:02:45 +01:00
wmayer
00cce75bd5
Mesh: [skip ci] replace tabs with spaces
2021-02-14 11:26:53 +01:00
wmayer
1b42828d25
Mesh: [skip ci] implement splitFacet
2021-02-14 00:54:30 +01:00
Chris Hennes
feb4ffc693
Correct minimum distance calculation in SplitFacet
...
Found via LGTM.
2021-02-12 21:59:50 +01:00