Commit Graph

161 Commits

Author SHA1 Message Date
wmayer
fc47266829 fix memory leak in SMDS_MeshNode::getCoord() 2018-06-02 15:33:07 +02:00
wmayer
753f514d3b proper fix to keep nodes order intact when exporting to UNV format
For more detailed information have a look here:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27744&sid=9a966f15219a156c83f12be7ac055791&start=70#p233460
2018-05-13 18:05:07 +02:00
Gabriel Souza Franco
4594583613 Fix compilation with GCC 8 2018-05-11 10:20:35 -03:00
Mateusz Skowroński
23cdde88e0 Fix some GCC 7 warnings:
* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
2017-12-05 17:22:00 +01:00
wmayer
8c7bb0cd55 fix warning 2017-11-14 21:47:56 +01:00
wmayer
04ea295280 add kd tree class
add mesh decimation algorithm
2017-11-14 14:17:19 +01:00
wmayer
b562140400 fix clang warnings in some 3rd party libs 2017-09-24 12:22:53 +02:00
wmayer
949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
d8347b1acf port smesh to occ7.2 2017-09-01 01:18:44 +02:00
wmayer
1b08ae0613 fix UNV reader by checking for CR or CR+LF in group names and removing them 2017-06-19 10:39:37 +02:00
Peter Lama
8a6d61329f py3: win: Link required vc14 CRT libs
issue 0000995
2017-06-02 06:40:32 +02:00
asiersarasua
43704f31ee Fix typos 2017-04-23 18:48:21 -03:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua
ea3d86b735 Fix typos 2017-04-20 09:49:19 +02:00
asiersarasua
ba3274cf1a Fix typos 2017-04-09 18:29:11 +02:00
wmayer
1b7224cdf9 set enum size dependent on word size 2017-04-07 20:51:02 +02:00
Jean-Marie Verdun
f66307e4ba Disable pyra13 output within UNV file, as this element is not officially supported
by this file format.

Fix bug 2649
2017-03-04 13:10:14 -03:00
Jean-Marie Verdun
732bd85c47 Properly fix the Tetrahedron node ordering with VTK. This was reported into
PR #203 back this summer 2016. A memory overwrite is happening if the enum are not
properly sized
2017-03-04 13:10:14 -03:00
Ian Rees
d343bb00fa Cleanup clang inconsistent override warnings-smesh 2017-03-01 22:00:41 +01:00
Mateusz Skowroński
7e42975556 Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
wmayer
968a597aa7 get VBO support for SoBrepFaceSet working on Windows 2017-02-12 14:41:55 +01:00
Johannes Obermayr
79d7f3e571 Fix build with VTK 7.1 which introduces vtkMTimeType. 2017-02-10 21:09:49 +01:00
wmayer
17a3d1e81f fix warnings: -Wmaybe-uninitialized 2017-02-04 15:16:47 +01:00
wmayer
e770b0c146 comment out unused global functions, fix -Wconstant-logical-operand 2016-12-30 14:38:49 +01:00
wmayer
efe14610b7 fix & suppress warnings of generated code 2016-12-30 13:31:31 +01:00
wmayer
3114df352d in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
wmayer
35b76c5205 in forward declaration replace class keyword when struct is expected 2016-12-29 16:02:35 +01:00
Johannes Obermayr
55160cf50d Support for NETGEN 6.2.
Upstream changed:
https://sourceforge.net/p/netgen-mesher/git/ci/7e4892a

There is also a pending request to fix NETGEN build, installation and version detection after 6.1:
https://sourceforge.net/p/netgen-mesher/git/merge-requests/1/

Just a note:
NETGEN development happens on https://gitlab.asc.tuwien.ac.at/jschoeberl/netgen but it is a very hard/strange way to find that out and get in contact with NETGEN developers as well as getting permission to fork the repository there to create a pull request.
Maybe some other developer can get in contact with NETGEN developers ...
2016-12-25 14:01:07 +01:00
wmayer
72ab17fb48 fix typos 2016-12-19 14:07:35 +01:00
Mateusz Skowroński
51b6fc3d8b Do not use std::auto_ptr which has been deprecated as of C++11. Use std::unique_ptr instead. 2016-12-13 19:56:57 +01:00
Johannes Obermayr
af62262021 Link just against required VTK modules on Linux.
Note:
If VTK is installed below /opt or anywhere else just add a path to GLOB_RECURSE.
2016-11-20 10:18:32 +01:00
wmayer
cfa2187415 fixes #0002778: Error when building the project. 2016-11-19 18:14:44 +01:00
wmayer
a138d1f2a2 add missing vtk component, use VTK_INCLUDE_DIRS for include dirs 2016-11-11 15:08:20 +01:00
wmayer
e75fe0d6e3 fix compiler warning 2016-10-31 21:31:35 +01:00
wmayer
356723f121 revert some unneeded changes on netgen plugin 2016-10-11 20:54:36 +02:00
looooo
9f7848aeac missing #if NETGEN_VERSION < 6 2016-10-11 20:54:36 +02:00
looooo
73b6fdfed7 update smesh-netgen interface to netgen version 6.1 2016-10-11 20:54:36 +02:00
wmayer
b17ae2a922 fix warnings in smesh 2016-10-08 18:23:04 +02:00
wmayer
6d3e2a396a set -Wextra as default 2016-10-08 15:28:51 +02:00
Stefan Tröger
b7d2943217 Remove accidently added .orig files 2016-10-08 12:48:34 +02:00
Stefan Tröger
c5a2419e14 Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
wmayer
5c791306d1 fix problems with unv files in UNIX format when reading under Windows 2016-09-01 15:30:12 +02:00
wmayer
1c1f0dfe49 fix various compiler warnings 2016-08-09 13:16:26 +02:00
wmayer
99bdef7586 apply workaround from Debian to fix error message with not found SMDS_MemoryLimit 2016-07-19 12:13:08 +02:00
wwmayer
4aa23dd774 Merge pull request #222 from wwmayer/pr190
Improve NETGEN detection and support V6.
2016-07-19 10:43:28 +02:00
Jose Prous
9fb958f553 fix some compilation errors 2016-07-19 09:53:23 +02:00
vejmarie
da70ba1642 Fix MED Reader
Assign same Mesh name into MED archive based on shortfilename during write and read operation
2016-07-16 17:43:20 +02:00
Johannes Obermayr
5b738f9e22 Improve NETGEN detection and support V6. 2016-07-16 17:08:05 +02:00
vejmarie
8051d32adc Fix UNV file read which was broken due to missing cards 2016-07-15 21:02:45 +02:00
wmayer
037cf48cef class with virtual methods must have virtual destructor 2016-07-15 13:52:27 +02:00