Commit Graph

186 Commits

Author SHA1 Message Date
Eric Trombly
22c8d390a5 add docstring to __init__.py 2020-04-14 10:44:15 -05:00
Eric Trombly
24e681c63b add lazyloader support
lazy_loader is copied to Ext now, modified external imports to lazy_load

add a few more imports to be lazy loaded, think the install path is correct now

[TD]"<" symbol embedded in html

revert changes to path modules for testing

use lazyloader in PathAreaOp.py

add back in deferred loading

temp change to print error message in tests

temp change to print error message in tests

add _init__.py to lazy_loader

make install in CMakeLists.txt one line
2020-04-13 21:14:34 -05:00
wmayer
25bc2af307 reset define NETGEN_PYTHON to avoid hard dependency to pybind11 2019-11-02 11:29:10 +01:00
howetuft
3e5d3460c7 Fix -Wdeprecated-copy warnings (rule of 5/3/0)
Fix -Wdeprecated-copy warnings in various places. Consists in enforcing
rule of five/three/zero (https://en.cppreference.com/w/cpp/language/rule_of_three)
mainly by deleting redundant copy constructors or copy assignment operators
that replicate default constructors/operators, or more rarely by adding
missing copy/move constructors/operators.
See also https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c20-if-you-can-avoid-defining-default-operations-do
2019-10-20 17:02:17 +02:00
wmayer
9fa56345cf core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
05ff952d02 suppress -Wmacro-redefined warnings caused by netgen headers 2019-09-08 18:00:52 +02:00
wmayer
d05ae18340 fix -Wreturn-std-move 2019-09-07 15:19:28 +02:00
wmayer
8e582d68c4 use GNU directory structure on non-Windows systems 2019-08-22 16:57:11 +02:00
wmayer
6795a28c99 add missing std:: namespace to build on Debian 10 2019-08-21 00:12:50 +02:00
howetuft
11a74bd226 SMDS_VolumeTool.cpp: Fix compilation warning
Creating an explicit copy assignment operator for class XYZ, as implicit copy assignment operator is deprecated (-Wdeprecated-copy)
2019-08-03 13:36:30 +02:00
Yorik van Havre
a6334a4bfd Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
wmayer
95ab3281c1 suppress warnings caused by netgen 2019-06-23 22:53:51 +02:00
wmayer
d43ca8a692 Fix a couple of gcc compiler warnings:
-Wint-in-bool-context
-Wunused-function
2019-06-23 15:35:49 +02:00
wmayer
cb53719821 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
wmayer
3fa43e8b9c fix some compiler warnings 2019-05-26 14:35:09 +02:00
MA-DEVELOP\apeltauer
48d64b4d5e replace endl with std::endl 2019-04-04 23:10:58 +02:00
Stian Skjelstad
62d5dd958f Git commit ea0cc96c15 forgot to remove CMakeList information about ANN when removing the library. 2019-03-31 10:06:50 +02:00
Stian Skjelstad
0905206018 Detection of NETGEN_VERSION is needed if using Netgen package provided cmake file too.
Do not overwrite NETGEN_VERSION that might be cached. Use a new variable instead, NETGEN_VERSION_C.

Use cmake internal system to specify std=c++14, else you can end up with  `c++ -DFOO -std=c++14 -Ibar -std=c++11`, and the latter is used.
2019-01-24 14:52:21 +01:00
Stian Skjelstad
6e2990ce6d Netgen provided cmake file, has the include directories to use in plural.
Netgen provided cmake file, and the internal detection, had different casing
for the _FOUND variable

When detecting the Netgen include-directories, we only want the /include in
addition to the global one. To include a given header file, specify which
part of the library, or use the one from the project/include directory.
2019-01-24 14:52:03 +01:00
cclauss
00d8f39840 Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
wmayer
57cfc06c4d fix gcc8 build failure 2018-11-02 18:57:43 +01:00
Bernd Hahnebach
ef683ea951 FEM: SMESH, update internal version number 2018-09-26 22:42:13 +02:00
wmayer
a6341b3f27 revert changes of SMESH_Gen class interface of bundled SMESH 2018-08-18 16:13:10 +02:00
Markus Lampert
e13c09235f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
wmayer
228b63e1f9 fix possible UNICODE related build failure due to OCCT cmake flags 2018-08-06 12:29:43 +02:00
wmayer
e54367f41d fix memory leak in SMDS_MeshNode::getCoord() 2018-06-02 15:33:07 +02:00
wmayer
a1a3cb4e90 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
6b91a3ec32 Fix compilation with GCC 8 2018-05-11 10:20:35 -03:00
Mateusz Skowroński
dee8769d0e 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
2da18e49aa fix warning 2017-11-14 21:47:56 +01:00
wmayer
3998eb964e add kd tree class
add mesh decimation algorithm
2017-11-14 14:17:19 +01:00
wmayer
b2fac5929b fix clang warnings in some 3rd party libs 2017-09-24 12:22:53 +02:00
wmayer
0d617f97d6 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
aab07674d8 port smesh to occ7.2 2017-09-01 01:18:44 +02:00
wmayer
d930a2234f 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
79fd50e26e py3: win: Link required vc14 CRT libs
issue 0000995
2017-06-02 06:40:32 +02:00
asiersarasua
289f901c29 Fix typos 2017-04-23 18:48:21 -03:00
Peter Lama
fa4bebf2e0 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
4564e4f4a4 Fix typos 2017-04-20 09:49:19 +02:00
asiersarasua
4d71a55661 Fix typos 2017-04-09 18:29:11 +02:00
wmayer
1cbfbb84d3 set enum size dependent on word size 2017-04-07 20:51:02 +02:00
Jean-Marie Verdun
ca29c4c8bd 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
9e87b7b187 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
2f97401895 Cleanup clang inconsistent override warnings-smesh 2017-03-01 22:00:41 +01:00
Mateusz Skowroński
f8778c4d6f Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
wmayer
9da4da0ecd get VBO support for SoBrepFaceSet working on Windows 2017-02-12 14:41:55 +01:00
Johannes Obermayr
4202cbc9d5 Fix build with VTK 7.1 which introduces vtkMTimeType. 2017-02-10 21:09:49 +01:00
wmayer
81726f7db9 fix warnings: -Wmaybe-uninitialized 2017-02-04 15:16:47 +01:00
wmayer
6bf33753d6 comment out unused global functions, fix -Wconstant-logical-operand 2016-12-30 14:38:49 +01:00
wmayer
e0a89c17d2 fix & suppress warnings of generated code 2016-12-30 13:31:31 +01:00