Commit Graph

134 Commits

Author SHA1 Message Date
Matthias Hochsteger
b8c2b08fdc Fix webgui autoscale 2023-07-09 00:15:09 +02:00
Matthias Hochsteger
026d09353f new webgui draw argument "fullscreen" 2023-07-08 18:31:16 +02:00
Matthias Hochsteger
3f0f055b0c fix webgui argument name 2023-07-08 18:16:33 +02:00
Matthias Hochsteger
36f3f0d449 Remove debug output 2023-07-04 11:51:47 +02:00
Joachim Schoeberl
9830eb4331 remove test output 2023-07-03 05:24:17 +02:00
Matthias Hochsteger
62498f3bf8 Fix webgui docu widget 2023-06-30 12:18:11 +02:00
Hochsteger, Matthias
d632ed3d75 Unified webgui.Draw() 2023-06-30 10:11:01 +02:00
Christopher Lackner
8da01ff353 code for drawing occ identifications in webgui 2023-06-29 12:22:00 +02:00
Christopher Lackner
c1ed3e36ca fix calling _get_diagnostics if python versions do not match 2023-05-23 08:59:05 +02:00
Matthias Hochsteger
39b21df7e6 Check python version at startup 2023-04-28 10:46:07 +02:00
Matthias Hochsteger
96268d6691 Fix python warning (deprecated imp module) 2023-04-26 16:48:54 +02:00
Christopher Lackner
8990c9c30a allow python -m netgen.gui to run python tkinter gui from main thread 2023-04-12 11:29:32 +02:00
Matthias Hochsteger
8f11802953 fix netgen.gui.Snapshot 2023-01-23 11:57:44 +01:00
Christopher Lackner
56aa4581ea use --ignore-invalid=all flag to be able to upgrade pybind11-stubgen 2022-08-08 09:31:29 +02:00
Matthias Hochsteger
5acb38eabd fix dll loading path on Windows with Python 3.10 2022-06-22 00:36:03 -07:00
Matthias Hochsteger
b113ec48ed fix Tk gui from jupyter 2022-05-25 10:28:53 +02:00
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
6b36a2d9d8 load geometries from command line with python netgen executable 2022-04-28 10:46:49 +02:00
Joachim Schoeberl
dc836ae7e4 unit_cube from OCC 2022-03-25 17:56:32 +01:00
mhochsteger@cerbsim.com
715f86b3b5 pip fixes for loading ngsolve.tcl on MacOS 2022-02-24 18:12:24 +01:00
Matthias Hochsteger
9cd3c4ff14 Fix DrawGeo (requires webgui_jupyter_widgets update) 2022-02-23 14:59:53 +01:00
mhochsteger@cerbsim.com
c5eeabace1 fix install paths in config.py 2022-02-22 16:17:05 +01:00
Matthias Hochsteger
d2378d9781 pyngcore as package (staying backward compatible) 2022-02-16 09:27:02 +01:00
mhochsteger@cerbsim.com
6f4cc7c528 try to load ngsolve in StartGUI python script (fixes failing ngsolve load from tcl in python packages) 2022-02-16 09:22:21 +01:00
Joachim Schoeberl
6b28275b88 double conversion on C++ side 2022-02-13 19:02:51 +01:00
Joachim Schoeberl
5d624e3078 reading via meshio 2022-02-13 16:31:55 +01:00
mhochsteger@cerbsim.com
376fe7c694 fix sys import in __main__.py 2022-02-11 18:40:05 +01:00
mhochsteger@cerbsim.com
4f4a3f7c92 generate version.py with cmake 2022-02-04 18:01:46 +01:00
Matthias Hochsteger
16b88e8e67 OCC Mesher Cleanup 2021-11-28 15:14:41 +00:00
mhochsteger@cerbsim.com
205e2c91aa arguments for dummy redraw 2021-11-09 09:39:13 +01:00
mhochsteger@cerbsim.com
ea2b25f2e6 dummy Redraw without GUI 2021-11-09 09:38:36 +01:00
mhochsteger@cerbsim.com
81c1d46db0 fix python import of non-gui builds 2021-11-09 09:15:55 +01:00
mhochsteger@cerbsim.com
ffdb9378b5 fix import error on some ubuntu/python versions 2021-11-09 08:43:29 +01:00
mhochsteger@cerbsim.com
543d1a378a no tk event handling when starting netgen.__main__ 2021-11-08 13:59:59 +01:00
mhochsteger@cerbsim.com
4cbfca6e4b rename config.py to config_template.py 2021-10-29 20:23:29 +02:00
mhochsteger
679fe05d19 try to import ngsolve before starting netgen gui 2021-10-28 15:46:02 +02:00
mhochsteger@cerbsim.com
147eac48ee add python package name to config.py 2021-10-28 13:59:38 +02:00
mhochsteger@cerbsim.com
1cf9e3ff02 version handling, generate python configuration file 2021-10-28 13:57:24 +02:00
mhochsteger@cerbsim.com
d9e8b815f5 pip installer 2021-10-27 16:51:41 +02:00
Joachim Schoeberl
8ae602b5bf unit-square in occ 2021-09-13 09:51:49 +02:00
Joachim Schoeberl
94ee2b67ad small 2d workplane simplifications 2021-09-10 12:09:51 +02:00
Joachim Schoeberl
6a6a98dcea 2d drawing 2021-09-09 14:12:06 +02:00
Joachim Schoeberl
1087e961ca more docsstrings 2021-09-07 16:28:46 +02:00
Joachim Schoeberl
0c809f4d2b some operators for Pnt/Vec, nicer namings for gp_Ax3 etc 2021-08-16 09:55:31 +02:00
Matthias Hochsteger
fb64f0d873 geometry edges in webgui 2021-08-13 16:46:49 +02:00
Matthias Hochsteger
ae6b23fffc add functionality to draw occ shapes with webgui 2021-08-12 11:20:07 +02:00
Matthias Hochsteger
a62acfb992 allow StartGUI to fail 2021-06-01 23:16:02 +02:00
Matthias Hochsteger
df9964f6cd Don't start GUI when building documentation 2021-06-01 16:44:59 +02:00
Michael Neunteufel
870b147926 add ellipse as csg2d solid object 2020-11-11 16:40:06 +00:00