Commit Graph

706 Commits

Author SHA1 Message Date
luz paz
95fbe4a753 Mesh: separating translation section in Mesh.qrc 2021-11-03 11:17:05 -04:00
wmayer
87169c8119 Mesh: embed Evaluation dialog into a scroll area 2021-10-24 21:36:44 +02:00
wmayer
505e8564b2 Mesh: Mesh.createBox() now accepts a bounding box as argument 2021-10-23 18:58:43 +02:00
wmayer
5abe0ba77f Mesh: add basic support of 3MF file format 2021-10-22 17:11:16 +02:00
wmayer
508d113e21 Mesh: improve MeshGeomFacet::IntersectWithFacet 2021-10-20 19:42:39 +02:00
wmayer
124d06b7f7 Mesh: extend API to access edges of a facet via Python 2021-10-20 13:01:11 +02:00
wmayer
5c59b8e050 Mesh: [skip ci] add unit tests for coplanar and intersecting triangles 2021-10-19 20:31:39 +02:00
wmayer
fe070903d3 Mesh: add method to get intersection of edges 2021-10-19 19:22:21 +02:00
wmayer
277c5ef9e9 Mesh: [skip ci] update tri-tri-intersection 2021-10-19 15:14:36 +02:00
wmayer
bbe2865059 Mesh: expose trimByPlane to Python 2021-10-15 23:07:59 +02:00
wmayer
c0445e5094 Mesh: [skip ci] add unit test for self-intersection 2021-10-13 17:29:18 +02:00
Noah
c482e90efc Mesh: fix WildMagic4 build on Darwin AArch64 (Apple M1)
A previous fix from 2012 excluded the x86_64 platfrom from using 32-bit Carbon APIs.

- https://tracker.freecadweb.org/view.php?id=656 (WildMagic4 doesn't build on 64-bit Mac OS)

Apply the same fix for AArch64 to ensure that the Mesh module can be built on Apple M1.
2021-10-06 22:47:48 +02:00
wmayer
2fe6ffcaf6 Mesh: [skip ci] add unit test for corrupted facets 2021-10-06 21:58:37 +02:00
wmayer
9eedb17b70 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
wmayer
b5c012a301 Mesh: implement sub-element handling 2021-10-06 17:19:38 +02:00
bartus
6766932b35 Fix linux build: undefined std:string_view
Pop 'mesh' library c++ stranderd to c++17
Add required <string_view> header
2021-10-03 14:36:16 +02:00
Chris Hennes
231a3b1d4d Mesh: remove unused variable in Nastran reader 2021-09-29 16:34:58 -05:00
wmayer
d22c70c9a4 Mesh: add method MeshAlgorithm::GetFacetsBorders 2021-09-29 22:33:45 +02:00
wmayer
c702fd07eb Mesh: [skip ci] rename MeshAlgorithm::GetMeshBorder to MeshAlgorithm::GetFacetBorder 2021-09-29 19:38:52 +02:00
wmayer
210eac2a09 Mesh: improve function to fix points on edge 2021-09-29 19:32:18 +02:00
Yorik van Havre
140e03301e Updated ts files 2021-09-29 14:32:12 +02:00
wmayer
2b12fe5c1a 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
3922a6ac73 Mesh: detect points on edges 2021-09-28 22:30:21 +02:00
Chris Hennes
0a4648101d [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
d7bf76e3cc Merge branch 'master' into meshNastranFileFormat 2021-09-25 16:34:33 -05:00
Chris Hennes
ba5adca79b [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
8041f98ab7 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
6ad3530981 Merged crowdin translations 2021-09-23 17:14:48 +02:00
Chris Hennes
63369a9c38 [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
519caa51b5 Merge pull request #5047 from chennes/lgtmMeshEmptyBlocks
[Mesh] Implement high-precision NASTRAN GRID* element
2021-09-22 09:22:48 -05:00
wmayer
a6ae1d9c56 port to MSYS2/clang: suppress 'undefined-var-template' warnings 2021-09-22 14:09:07 +02:00
Chris Hennes
9b57a7867a [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
8cbd92d874 port to MSYS2/clang 2021-09-19 19:49:44 +02:00
wmayer
5694f08f15 Mesh: add function section() to Mesh class 2021-09-16 17:31:45 +02:00
wmayer
2295c4b9a3 Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes 2021-09-14 23:01:29 +02:00
wmayer
a40d37a980 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
74623847b7 Mesh: fix infinite loop when repairing mesh facet indices 2021-09-12 09:13:57 +04:30
Yorik van Havre
e47ee43a22 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
a9717a1e17 Merged crowdin translations 2021-09-07 11:26:48 +02:00
Ajinkya Dahale
0fad21daf0 [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
199e8a8d6e Merged crowdin translations 2021-08-26 14:51:36 +02:00
Yorik van Havre
834933866e Merged crowdin translations 2021-07-08 16:06:38 +02:00
Yorik van Havre
da508e30b0 Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
acedf491f3 Merged crowdin translations 2021-06-24 17:22:19 +02:00
Yorik van Havre
ee6a9b8c7d Merged crowdin translations 2021-06-10 12:24:24 +02:00
Yorik van Havre
9f81ca933d merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
dd1220b345 Merged crowdin translations 2021-05-27 14:51:33 +02:00
Yorik van Havre
0be2757e13 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
91ea7fbba8 Updated ts files 2021-05-11 13:05:20 +02:00
wmayer
a6e7bdf849 allow to enable PCH for gcc and clang 2021-05-03 17:37:58 +02:00