Commit Graph

120 Commits

Author SHA1 Message Date
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
Matthias Hochsteger
c2c0bbcbf5 Bugfix on Windows with Python>=3.8
Use os.add_dll_directory() instead of adding netgen bin dir to PATH
2020-10-20 17:17:16 +02:00
Christopher Lackner
39be1fd3c9 add PointInfo for csg2d for maxh and name in points 2020-10-19 16:32:42 +02:00
Matthias Hochsteger
ceb57a7c5c CSG2d interface (Solid2d ctor, EdgeInfo) 2020-08-20 18:27:08 +02:00
Matthias Hochsteger
b9487cc07a Rename Polygon2d to Loop 2020-08-20 18:26:25 +02:00
Matthias Hochsteger
12b2e073ac CSG for 2D 2020-08-19 16:46:32 +02:00
Joachim Schöberl
33626c6669 clear solutiondata object on python-exit 2020-08-17 15:55:32 +02:00
Matthias Hochsteger
f864e53090 [cmake] fix typo 2020-07-25 13:04:18 +02:00
Matthias Hochsteger
2744d62935 pybind11-stubgen - use python module instead of standalone program 2020-07-25 08:46:46 +02:00
Joachim Schöberl
a9520e6dd7 survives also without gui 2020-01-09 21:23:26 +01:00
Joachim Schöberl
1aed53427f Merge branch 'snapshot' into 'master'
Snapshot

See merge request jschoeberl/netgen!306
2019-12-15 19:10:31 +00:00
Christopher Lackner
260fd39da5 Merge remote-tracking branch 'bkapidani/autoPML_should_handle_default_spline_labels' 2019-12-11 10:46:28 +01:00
Matthias Hochsteger
245da0ee87 Move Redraw() function from NGSolve to Netgen
- used in Snapshot
2019-12-10 12:21:29 +01:00
Matthias Hochsteger
52b3e807a5 New Snapshot function (custom resolution) 2019-12-10 12:21:29 +01:00
Christopher Lackner
b0f13a1f20 fix parsing of stl parameters from python 2019-10-07 12:56:12 +02:00