Commit Graph

18 Commits

Author SHA1 Message Date
Matthias Hochsteger
22e57a1159 Don't load gui libraries when importing netgen 2022-05-06 10:59:59 +02:00
Matthias Hochsteger
b694b4667a rework build system, separate gui and non-gui code
move fieldlines code to meshing dir

move visualization function pointers to meshing directory

DLL_HEADER -> NGGUI_API in visualization lib

move soldata.hpp to meshing

update occ, no freetype necessary anymore
2022-05-05 14:39:31 +02:00
Matthias Hochsteger
b2fea6dec1 Clean up multiple definitions of DLL_HEADER
- define DLL_HEADER only once in mydefs.hpp
- define/use NGLIB_API in nglib.h
- use NGCORE_API_EXPORT for explicit export of symbols
2021-02-18 14:53:38 +01:00
Matthias Hochsteger
52b3e807a5 New Snapshot function (custom resolution) 2019-12-10 12:21:29 +01:00
Christopher Lackner
31a9cd1bfb import ngcore when loading netgen 2019-08-06 17:57:59 +02:00
Matthias Hochsteger
1430b89e39 Update pybind11 to version 2.2.0
- Replace PYBIND11_PLUGIN with PYBIND11_MODULE

- Fix warnings about symbol visibility by replacing
  'namespace pybind11' with 'namespace PYBIND11_NAMESPACE'

- Pybind sets the default visibility of its namespace to 'hidden'
  Thus, our export functions like  ExportCSG(py::module &m) also are
  hidden by default. To work around that define DLL_HEADER
  '__attribute__ ((visibility ("default")))
  on GNUC platforms.
2017-09-01 10:16:56 +02:00
Matthias Hochsteger
c9ac332971 Export OCC module only when configured with OCC 2017-05-31 19:57:42 +02:00
Matthias Hochsteger
0c611c339c Python opencascade interface (by Gerhard Kitzler) 2017-05-31 19:39:09 +02:00
Matthias Hochsteger
685981d463 Fixes for non-GUI builds 2017-01-31 15:35:56 +01:00
Joachim Schöberl
d1de4a7cf9 Introduce NetgenGeometry base class to Python. export meshing first, then csg 2017-01-05 05:08:24 +01:00
Christopher Lackner
a5e411d008 load stl fix and some vis 2016-12-12 13:14:47 +01:00
Christopher Lackner
25d2e497b1 add python stl submodule 2016-12-12 10:47:05 +01:00
Matthias Hochsteger
96c1235184 switch from boost::python to pybind11 2016-11-04 12:14:52 +01:00
Matthias Hochsteger
5f29387c0b force linking interface to nglib and nglib to netgenpy, this avoids missing symbols when importing netgen from python 2016-08-09 14:03:47 +02:00
Joachim Schöberl
e6157eecd8 nglib-python restructuring 2015-10-20 11:09:29 +02:00
Joachim Schoeberl
257e76c083 wrappers for netgen-dll 2015-01-27 15:56:32 +00:00
Joachim Schoeberl
c85be2506a version number 2015-01-26 13:49:46 +00:00
Gerhard Kitzler
7f1cb899e5 Fixes for Visual Studio 2015-01-23 10:14:42 +00:00