Commit Graph

159 Commits

Author SHA1 Message Date
Matthias Hochsteger
47ea05dc24 Use playwright for screenshots in docu 2024-11-11 10:33:55 +01:00
Matthias Hochsteger
e7e945a84c Use netgen-occt to build netgen 2024-06-24 16:18:41 +02:00
Matthias Hochsteger
919000a5ef Add optional arguments "center" and "radius" to webgui.Draw() 2024-06-15 16:35:23 +02:00
Matthias Hochsteger
c488fa936a Revert "Add search path to occt libraries"
This reverts commit 7ac609cbef.
2024-06-12 20:10:06 +02:00
Matthias Hochsteger
7ac609cbef Add search path to occt libraries 2024-06-12 20:09:43 +02:00
Matthias Hochsteger
d9af1262a2 Also allow creating html files in Draw from jupyter notebook 2024-06-11 16:27:45 +02:00
Matthias Hochsteger
fece35b830 euler_angles and scale argument in webgui Draw 2024-05-15 19:30:40 +02:00
Hochsteger, Matthias
335b926f8b Runtime MPI wrapper 2024-05-13 13:43:53 +02:00
Matthias Hochsteger
c53d0e29a7 Fix/enable stub files for pip package
- set PYTHONPATH when generating stub files
- also generate for pyngcore
- build python packages with stub files
2024-03-27 09:48:24 +01:00
Matthias Hochsteger
d4c211f04a Fix cmake config path generation 2024-03-20 20:23:33 +01:00
Matthias Hochsteger
09769c3283 Fix python warning when running python -m netgen.config, remove unused config_cli.py 2024-03-20 11:40:21 +01:00
Matthias Hochsteger
9cd533fbac Print cmake dir when running python -m netgen.cmake 2024-03-19 18:52:31 +01:00
Matthias Hochsteger
421c1ecb0e Pyodide build fixes 2024-03-01 20:39:24 +01:00
Christopher Lackner
fc70ba4f07 fix gmsh physical group parsing 2024-01-29 08:58:07 +01:00
Matthias Hochsteger
2ff886457f webgui Redraw with arguments (replace mesh etc.) 2024-01-22 16:31:17 +01:00
Matthias Hochsteger
cd8d43cbf9 webgui.Draw - boolean argument "show"
Useful to extract webgui scene data without displaying it
2024-01-22 14:49:17 +01:00
Matthias Hochsteger
d87e5f102e Pass mesh face transparency to webgui 2024-01-22 11:18:29 +01:00
Christopher Lackner
e8bf5e6b4f move timer and TimeFunction to netgen 2023-12-20 12:04:44 +01:00
Christopher Lackner
a2b22bdaf8 allow webgui also without ipywidgets installed 2023-10-06 17:09:22 +02:00
Matthias Hochsteger
bcab484095 Python CLI tool to print cmake configuration directory 2023-09-04 14:36:06 +02:00
Christopher Lackner
62ebacd277 pybind11 stubgen v1 needs new call syntax 2023-08-31 17:04:45 +02:00
Christopher Lackner
5c87a797ff some more missing PYTHON -> Python3 renamings 2023-08-29 11:24:01 +02:00
Matthias Hochsteger
11a8984428 Webgui Draw for netgen.mesh 2023-07-25 14:00:14 +02:00
Hochsteger, Matthias
ce8ec2eb7f Merge branch 'gui_settings' into 'master'
add gui settings if not already added in ngsolve

See merge request ngsolve/netgen!582
2023-07-09 00:40:40 +02:00
Matthias Hochsteger
b8c2b08fdc Fix webgui autoscale 2023-07-09 00:15:09 +02:00
Christopher Lackner
65d23bd022 add gui settings if not already added in ngsolve 2023-07-08 23:58:48 +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