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
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
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
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
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
wmayer
5479a886df
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
0fcbe04dcf
Mesh: [skip ci] fix regular expression in MeshInput
2021-03-10 17:49:05 +01:00
wmayer
4a2d131cb6
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
wmayer
815333c68e
Mesh: [skip ci] implement splitFacet
2021-02-14 00:54:30 +01:00
Chris Hennes
16b8e02969
Correct minimum distance calculation in SplitFacet
...
Found via LGTM.
2021-02-12 21:59:50 +01:00
Chris Hennes
c5c419e55a
LGTM: Eliminate float-to-double overflow warning
...
LGTM complains if this calculation is done from inside the sqrt() call
because it sees the explicit cast to float and assumes that sqrt() is
intended to take a double. By adding an intermediate step it should be
clear to LGTM that the float version of sqrt is intended.
2021-02-09 20:01:13 +01:00
Chris Hennes
27a5fea60e
Remove extra comma in Asymptote surface color definition
...
Found via LGTM.
2021-02-08 10:50:18 +01:00
wmayer
2b50e59d48
Mesh: [skip ci] improve reading OFF mesh format
2020-11-03 11:15:37 +01:00
wmayer
53e440497c
Mesh: [skip ci] improve reading OFF mesh format
2020-11-02 16:36:07 +01:00
wmayer
587362af98
C++11: [skip ci] replace deprecated function std::mem_fun_ref with lambda functions
2020-10-15 18:55:29 +02:00
wmayer
56c6db10e0
C++11: replace deprecated function std::bind2nd with lambda functions
2020-10-15 14:46:02 +02:00
wmayer
ce0e0ca143
Gui/Mesh: [skip ci] make sure object fits into canvas
2020-09-08 15:12:09 +02:00
wmayer
514a93185b
Gui/Mesh: [skip ci] add Iso view position button to Web 3d page
2020-09-07 17:43:04 +02:00
wmayer
208c2f5e6c
Gui/Mesh: [skip ci] put view positions at top of Web 3d page
2020-09-07 14:18:01 +02:00
sgrogan
6d0c257ede
fix build on Win
2020-09-01 17:57:36 +02:00
wmayer
9dfd40e4d3
Mesh: [skip ci] allow to set custom size for asymptote output
2020-08-29 19:05:28 +02:00
wmayer
c0588f0c41
Mesh: [skip ci] support compressed X3D output
2020-08-29 14:56:41 +02:00
wmayer
6f5c2179d0
Mesh: [skip ci] improve color support for X3D and X3DOM output
2020-08-29 14:23:38 +02:00
wmayer
4da114a8c7
Mesh: [skip ci] support of WebGL/X3D export
2020-08-28 18:06:55 +02:00
wmayer
3bc31a6f47
Mesh: [skip ci] fix bug in binary PLY export for mesh with colors
2020-08-27 15:11:30 +02:00
wmayer
fec66c423b
Mesh: [skip ci] improve support of asymptote export
2020-08-27 15:10:23 +02:00
wmayer
588fc3b0da
Mesh: [skip ci] adjust MeshInput::supportedMeshFormats()
2020-08-27 14:08:04 +02:00
wmayer
e8c364190b
Mesh: [skip ci] improve support of asymptote export
2020-08-27 12:53:36 +02:00
wmayer
74e475bebb
Mesh: [skip ci] improve support of asymptote export
2020-08-27 11:37:15 +02:00
wmayer
7ae2d7e495
Mesh: [skip ci] support of asymptote export
2020-08-27 09:51:35 +02:00
wmayer
adf662b13d
remove superfluous includes of iostream, use iosfwd instead
2020-07-28 15:22:23 +02:00
wmayer
45e0673645
LGTM: [skip ci] fix: Declaration hides parameter
...
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
wmayer
c162037476
LGTM: [skip ci] fix: Large object passed by value
2020-07-24 18:32:31 +02:00
wmayer
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
8b5e05d1dc
Fix -Wdeprecated-copy
2020-06-12 17:51:33 +02:00
wmayer
730154a684
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
3632c81435
clang/gcc/cmake: move handling of suppressed deprecated-copy warnings from source file to CMake file to more easily support gcc 10
2020-06-09 15:30:42 +02:00
wmayer
f4c97263a5
Mesh: [skip ci] fix regression in PlaneSurfaceFit::Initialize
2020-06-04 19:29:00 +02:00
wmayer
4d85f73302
Mesh: [skip ci] perform initial plane fit inside PlaneSurfaceFit::Initialize
2020-05-28 11:44:05 +02:00
wmayer
be8634d05c
Handle clang 10 warnings:
...
+ fix -Wtautological-bitwise-compare
+ fix -Wimplicit-int-float-conversion
+ fix -Wmisleading-indentation
+ fix -Wrange-loop-construct
+ suppress -Wdeprecated-copy of 3rd party libs
2020-05-25 15:34:43 +02:00
wmayer
1d7299391c
Mesh: [skip ci] cleanup cylinder fit
2020-05-12 15:11:01 +02:00