Commit Graph

343 Commits

Author SHA1 Message Date
Matthias Hochsteger
e1d7cd879d Don't link TCL/TK to gui lib on MacOS
In case there are multiple versions of tcl/tk available on MacOS, the
system complains about it if we link against one version and
python/tkinter links against another.
Thus don't link with any tcl at all in the gui library. This means the
library will use the version loaded by tkinter.
2017-05-12 13:10:10 +02:00
Matthias Hochsteger
4a331a8a38 Stop TCL timer when GUI quits 2017-05-11 11:50:50 +02:00
Matthias Hochsteger
3eef3a66bc link TCL to gui library 2017-05-11 11:21:55 +02:00
Matthias Hochsteger
025f8750be GUI support from Python and some cleanup
Squashed commit of the following:

commit 5058ceb9351548937487aa94073e7f59236ae9fe
Merge: d37f0af 2da1465
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 19:33:55 2017 +0200

    Merge remote-tracking branch 'origin/master' into native_tcl_macos

commit d37f0afcc1389c0c3ec0899da9c1af158c926ca5
Author: Matthias <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 19:27:12 2017 +0200

    link gui to netgen, some fixes

commit 297141455cd4fab81709c13d6253ad8114beee4a
Author: Matthias <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 19:02:47 2017 +0200

    windows fixes

commit 9bf290a60835f29762b15ee3b722da132678f90c
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 18:59:53 2017 +0200

    More cleanup, proper code separation

     ... between netgen exectuable and gui library

commit f46d438d3c9dd32f9f94642b4ec00b85611ef1dd
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 14:03:53 2017 +0200

    fix typos

commit b3d301ff4e321189aef469bff77f7cffa7b69e98
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 13:32:57 2017 +0200

    also link tk to togl on windows...

commit c3519abee7b041e45c913a45999ed2d29d4ff325
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 13:30:16 2017 +0200

    link TCL to togl on windows

commit 80b607436b45f38f4bac2708a78ef03561ad44e5
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 13:26:45 2017 +0200

    linkt TCL only to netgen executable

commit 080139a431e949e14cb9f05194e19c5129aca3d3
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 13:20:36 2017 +0200

    fix dll ex/import

commit dd68efacb01fbbbe3f136168f12fed41fa3c3c8a
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 13:15:39 2017 +0200

    fix dll export

commit 9023b9ca49b4c2b99f228f64564990e2d0246b8c
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 12:06:14 2017 +0200

    use system tcl/tk on MacOS, but download tcl/tk for windows

commit 16eb4c1b01eb5229f93274791187b2c666bb8b8e
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 12:01:36 2017 +0200

    more cleanup

commit 6df5b82a7d9a1177a755446d563d6c4b98ff6329
Merge: af23786 2b0d3f0
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 11:45:42 2017 +0200

    Merge remote-tracking branch 'origin/master' into native_tcl_macos

commit af2378637a6513de3b50841ed6314cd7e12f7205
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 10 11:45:40 2017 +0200

    some cleanup

commit 81bbe117efe25df53c71f9ae603c50ee4557703a
Author: Joachim Schöberl <joachim.schoeberl@tuwien.ac.at>
Date:   Tue May 9 20:14:46 2017 +0200

    tk-gui

commit 387e6da678661dd3b9d75d696733f46fe43d789a
Merge: e658b5b e653d8e
Author: Joachim Schöberl <joachim.schoeberl@tuwien.ac.at>
Date:   Tue May 9 18:49:20 2017 +0200

    Merge remote-tracking branch 'origin/gui_from_python' into native_tcl_macos

commit e658b5b2c1ac3264f4165b5f6d2b821b3b1b0926
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Tue May 9 18:30:35 2017 +0200

    use native tcl on macos

commit e653d8e6789d20e24b16a68bf760415940e881f8
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 8 16:37:23 2017 +0200

    next fix

commit f663c80b00754d141a02fa6abde2077c841bbafb
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 8 16:23:21 2017 +0200

    Fix symbol export on windows

commit 70d99782423d33d3fa6f80e758a7377d0cb52840
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 8 15:14:56 2017 +0200

    GUI support from Python

    Enables experimental support for starting the Netgen GUI from Python
    directly.
    To use it, just import the gui module:
    > import netgen.gui
2017-05-10 19:34:42 +02:00
Matthias Hochsteger
990d0fce78 GUI support from Python
Enables experimental support for starting the Netgen GUI from Python
directly.
To use it, just import the gui module:
> import netgen.gui
2017-05-08 16:42:49 +02:00
Matthias Hochsteger
b48a2bbd5e Support (self written wrapper for) clcache on Windows
Since clcache gets problems for .rc files, the ccache functionality is
disabled in the ng/ subdirectory
2017-02-27 07:29:57 -08:00
Joachim Schöberl
d96ab0c955 fix boundary-condition dialog (needs alignment) 2017-02-08 00:28:44 +01:00
Matthias Hochsteger
74cb50d5ce Update for new FFMPEG version, extra header for implementation 2017-02-03 15:28:59 +01:00
Matthias Hochsteger
d45950c5e1 Implement internaltcl functionality
When passing '-internaltcl' to netgen, it will evaluate a preprocessed
tcl string instead of loading ng.tcl.
The string is stored in the file onetcl.cpp, which is generated by onetcl.py
2017-02-01 15:59:29 +01:00
Matthias Hochsteger
685981d463 Fixes for non-GUI builds 2017-01-31 15:35:56 +01:00
Matthias Hochsteger
424b246eda Workaround to scale up fonts on high resolution Linux systems 2017-01-20 10:39:16 +01:00
Matthias Hochsteger
cc0f14c14c Move more widgets from tk to ttk 2017-01-20 10:33:59 +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
Joachim Schöberl
c31240580b remove test output 2017-01-01 15:34:55 +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
Christopher Lackner
7e4892a9e7 firststep and laststep as meshingparameters to be exported to python 2016-12-05 13:50:21 +01:00
Matthias
953bd13cf4 Support for OpenGL buffer objects on Windows 2016-12-02 12:27:26 +01:00
Matthias Hochsteger
ee4d5e89d8 remove unnecessary files (mostly unsupported build systems) 2016-11-23 18:07:14 +01:00
Joachim Schöberl
dd72bf984a don't load Tix 2016-11-17 23:46:44 +01:00
Gerhard Kitzler
1fc08e86b1 fixes in occ geometry dialog 2016-11-12 02:27:13 +01:00
Gerhard Kitzler
295e100030 First version of occ tree without tix 2016-11-11 12:13:33 +01:00
Gerhard Kitzler
0b8725795b small fixes 2016-11-10 15:50:54 +01:00
Gerhard Kitzler
2feeb3db08 almost all tix removed 2016-11-10 14:31:04 +01:00
Gerhard Kitzler
fdd2fab64a Merge branch 'master' into remove_tix2 2016-11-10 13:26:18 +01:00
Gerhard Kitzler
2a380690d1 small tix fix 2016-11-10 13:21:21 +01:00
Gerhard Kitzler
112b00ed29 2 more tix widgets removed 2016-11-10 13:02:06 +01:00
Joachim Schöberl
0ab12a49c0 minor tix fix 2016-11-10 12:44:43 +01:00
Joachim Schöberl
c6196dcb91 Merge branch 'par_fixes' into 'master'
Par fixes

- Increased buffer size in send/recv command (needed for sending python files, see ngsolve merge request)
- Fixed mpi-parallel visualization
- Added warning if using direct rendering + mpi (which probably breaks in most cases)

See merge request !10
2016-11-10 11:55:03 +01:00
Joachim Schöberl
6d018c0eea Merge branch 'remove_tix2' into 'master'
Remove tix2



See merge request !11
2016-11-10 11:46:36 +01:00
Gerhard Kitzler
21c077e23e Removed socket entry from special menu 2016-11-10 11:45:06 +01:00
Gerhard Kitzler
3beaad374f removed tixscrolledtext from ngvisual.tcl 2016-11-10 10:52:56 +01:00
Gerhard Kitzler
495c7260b9 fixed an error 2016-11-10 10:42:26 +01:00
Gerhard Kitzler
1d09f7646f removed tix from menustat.tcl 2016-11-10 10:40:21 +01:00
Gerhard Kitzler
daddcf9c89 Removed some more tix 2016-11-10 02:43:43 +01:00
Gerhard Kitzler
b93c31f3cf removed tix widgets from ngvisual.tcl 2016-11-10 01:57:46 +01:00
Lukas Kogler
9890e74429 accidentally changed to indirect rendering - reverted that. formatting 2016-11-08 13:01:40 +01:00
Lukas Kogler
37e0e17919 removed some comments. formatting 2016-11-08 12:57:59 +01:00
Gerhard Kitzler
9d66a0f515 removed tix from dialog.tcl 2016-11-07 23:20:58 +01:00
Lukas Kogler
d778d9dcef fixed mpi-parallel visualization; added warning in mvdraw if running in parallel and direct rendering is enabled (which probably breaks parallel visualization) 2016-11-07 17:49:38 +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
Alexander Schlüter
d282a5914d fix compiler errors in mpi build 2016-07-15 15:26:25 +02:00
Joachim Schöberl
60063f711f export mesh from python 2016-07-10 18:07:36 +02:00
Joachim Schöberl
1a6ace7138 update visualization when clip-solution changes 2016-06-16 10:33:01 +01:00
Joachim Schöberl
055031ce0d store geometry with mesh, if available 2016-05-06 07:30:59 +02:00
Christoph Lehrenfeld
47a0d9b107 [gl] fix for ListBase (thx to Alexander Schlueter) 2016-04-24 22:11:42 +02:00
Matthias
10d0f42ae6 init OCC on non-windows OSs 2016-04-04 10:45:23 +02:00
Matthias
ad6785731f OpenCascade for Windows 2016-04-04 10:18:38 +02:00
Joachim Schöberl
ce561d56af minor gui-fixes 2016-03-24 17:36:04 +01:00