Commit Graph

390 Commits

Author SHA1 Message Date
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
Matthias
1dfe0c28cb Togl2.1 for Windows 2016-03-10 11:09:02 +01:00
unknown
8859b8e28c ttk::scale expansion 2016-02-26 14:30:49 +01:00
unknown
26d527f0fd Fixed Done Button in clipping plane dialog, fixed borderwidth and relief inconsistencies 2016-02-26 13:32:34 +01:00
unknown
dc50dd51f8 ttk updates 2016-02-26 12:20:58 +01:00
Matthias
8a3e29e624 get rid of pthread 2016-02-23 20:23:48 +01:00
Joachim Schöberl
e98451ef66 tk - path first 2016-02-23 18:21:40 +01:00
Joachim Schöberl
87180ba342 OSX: binary is called netgen again 2016-02-23 13:08:17 +01:00
Matthias Hochsteger
1b4f596446 get rid of OpenMP 2016-02-22 18:44:00 +01:00
Joachim Schöberl
da5e5dbdac minor 2016-02-22 18:26:01 +01:00
unknown
df259ba33c Merge branch 'master' of gitlab.asc.tuwien.ac.at:jschoeberl/netgen 2016-02-22 17:20:38 +01:00
unknown
161c6cee6f added more ttk support 2016-02-22 16:10:50 +01:00
Joachim Schöberl
24dc3892bc use OSX system-gcc for compiling Togl2.1 2016-02-22 10:03:27 +01:00
Joachim Schöberl
bc3cbf1a41 fixes for nsopengl 2016-02-22 09:21:47 +01:00
Joachim Schöberl
beed19330f remove tcl debug output 2016-02-20 07:13:57 +01:00
Joachim Schöberl
7f8818b8f1 need catches for batchmode 2016-02-09 22:25:59 +01:00
Joachim Schöberl
c98a55ab11 merge ttk branch to master 2016-02-08 15:53:16 +01:00
Matthias
6a2bb86526 Netgen icon 2015-11-02 08:06:18 -08:00
Matthias Hochsteger
37ee61a1b0 fix togl on wily 2015-11-02 13:23:20 +01:00
Matthias Hochsteger
7f627a34fc remove -m64 flag in togl 2015-11-02 09:56:53 +01:00
Joachim Schoeberl
3b53350913 move visualization files 2015-10-20 16:13:07 +02:00
Joachim Schöberl
a4a272d84c remove test-output 2015-10-20 11:26:52 +02:00
Joachim Schoeberl
dd2e2e3fb7 libngpy from automake 2015-10-20 11:26:20 +02:00
Matthias
5c2080c006 fix python library name in Windows 2015-10-20 02:15:01 -07:00
Joachim Schöberl
e6157eecd8 nglib-python restructuring 2015-10-20 11:09:29 +02:00
Joachim Schoeberl
65ce23f8df cmake -> automake 2015-10-19 14:36:34 +02:00
Matthias Hochsteger
84b91027a0 fix geom2d/stl init 2015-10-19 13:49:09 +02:00
Matthias Hochsteger
8ac965d707 everything in one big dll on Windows 2015-10-19 10:08:30 +02:00
Joachim Schöberl
2323b79f70 mac C-compiler flags for togl 2015-10-14 20:01:36 +02:00
Joachim Schöberl
7ca85f7420 mac osx: move using 2-finger click 2015-10-10 20:38:02 +02:00
Matthias Hochsteger
c135897899 install nglib to bin, cmake fixes for windows 2015-09-23 16:36:33 +02:00
Joachim Schöberl
d374297fce input parameter containg '.py' is interpreted as -py=... 2015-09-04 14:35:16 +02:00
Joachim Schoeberl
8c6cf8ded4 mesh has geometry-ptr 2015-08-26 13:56:06 +02:00
Joachim Schoeberl
085cd6c774 TclTodo from parallel thread 2015-06-26 16:30:27 +02:00
Christoph Lehrenfeld
ee7650e035 ffmpeg fix: CodecID -> AVCodecID 2015-04-27 11:54:01 +02:00
Matthias Hochsteger
ea05f5183e cmake OpenCascade support 2015-04-09 12:39:49 +02:00
Matthias Hochsteger
bd18af5676 cmake install components 2015-04-09 12:27:59 +02:00
Matthias Hochsteger
b870bcee0f CMake support 2015-03-06 14:59:14 +01:00
Joachim Schoeberl
0a9b74185f metis partition 2015-02-05 22:53:17 +00: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
Matthias Hochsteger
cb5c6b477c DLL_HEADER, togl include 2015-01-16 10:29:25 +00:00
Matthias Hochsteger
ac698a245d mesh for vis - parallel 2015-01-09 10:33:06 +00:00
Joachim Schoeberl
3ab44e91ff mesh for vs 2015-01-08 21:17:42 +00:00
Joachim Schoeberl
49e108da4f boundary layer from python 2014-12-18 14:00:58 +00:00
Joachim Schoeberl
8f13c6828e blocking Redraw 2014-12-04 10:24:45 +00:00
Joachim Schoeberl
8c506ba15b find writeuser.hpp 2014-10-29 11:09:10 +00:00
Joachim Schoeberl
e0b71dc5b4 togl with indirct rendering 2014-10-14 18:31:56 +00:00
Joachim Schoeberl
e27dfe3307 parallel delete geom 2014-10-13 20:35:28 +00:00
Joachim Schoeberl
0b58bb76d1 ng_redraw 2014-10-12 11:40:12 +00:00
Joachim Schoeberl
e119b98043 vs setmesh 2014-10-09 09:01:24 +00:00
Gerhard Kitzler
bd7e9a20af changed a definition to a declaration 2014-10-09 07:57:43 +00:00
Joachim Schoeberl
f30cbdc90b togl 2014-10-08 16:33:22 +00:00