Joachim Schöberl
b405528b37
Merge branch 'fix_tkinter_import' into 'master'
...
[python] Import tkinter only when necessary
See merge request !69
2017-11-06 16:11:05 +01:00
Matthias Hochsteger
ce47af852e
[python] Import tkinter only when necessary
...
Don't import if Netgen was configured with USE_GUI=OFF
2017-11-06 15:00:49 +01:00
Joachim Schöberl
375e564329
Merge branch 'addoccfeature' into 'master'
...
add Heal function to the occ python interface
See merge request !68
2017-11-06 10:18:58 +01:00
Christoph Wintersteiger
753c2280c0
add Heal function to the python interface with the same functionality as the "Heal Geometry" button in the gui
2017-11-03 17:44:14 +01:00
Christoph Wintersteiger
ccc092d2c5
save check of file ending
2017-10-30 13:43:01 +01:00
Joachim Schöberl
b269c9a2c9
Merge branch 'occfrompython' into 'master'
...
Occfrompython
See merge request !67
2017-10-30 13:05:08 +01:00
Joachim Schöberl
712e2c3fb4
Segment array with size_t indexing
2017-10-29 11:31:50 +01:00
Christoph Wintersteiger
df01ffcb5a
setting occparms not necessary
2017-10-27 11:40:44 +02:00
Christoph Wintersteiger
ef4405c3d7
remove output
2017-10-25 15:47:27 +02:00
Christoph Wintersteiger
a90ee2e437
set occparams and generate triangulation with BRepMesh
2017-10-20 16:39:37 +02:00
Matthias Hochsteger
8f11b84911
Fix for MSVC
2017-10-17 11:02:39 +02:00
Matthias Hochsteger
949ead991f
Update ngsimd.hpp
2017-10-17 10:32:59 +02:00
Joachim Schöberl
45912fba10
Merge branch 'export_python_calclocalh' into 'master'
...
export CalcLocalH and SetMaxHDomain to Python
See merge request !65
2017-10-12 16:17:55 +02:00
Christopher Lackner
2835597c21
export CalcLocalH and SetMaxHDomain to Python
2017-10-12 12:55:07 +02:00
Joachim Schöberl
60c80fe9fc
use (double) factor for 2D hprefinement for strength of geometric refinement
2017-10-03 06:34:09 +02:00
Christoph Wintersteiger
20d6a12192
check extension of filename to ensure that the loading process is successful
2017-09-29 14:47:16 +02:00
Joachim Schöberl
9b0e13730f
Merge branch 'fix_jpeg' into 'master'
...
Fix build/image export with USE_JPEG=ON
See merge request !63
2017-09-27 18:04:22 +02:00
Joachim Schöberl
aa97817d08
support of 0D-elements in CSG
2017-09-22 17:02:39 +02:00
Joachim Schöberl
ec39a51e92
assign default geometry in the (Python) mesh ctor
2017-09-22 17:02:39 +02:00
Matthias Hochsteger
c55ad18a73
Fix build/image export with USE_JPEG=ON
...
- fixes broken build with USE_JPEG
- cleanes up the screenshot code itself (there were problems with memory
alignment, now enforce alignment of 1 byte)
- proper error message if 'convert' is not working
- append '.ppm' to file for temporary filename instead of replacing last
three characters
2017-09-22 11:26:10 +02:00
Matthias Hochsteger
2e243a7d07
[gitlab-ci] Disable tests on Ubuntu 15.10
2017-09-21 18:04:32 +02:00
Matthias Hochsteger
042db258c8
Fix build with GUI=ON, MPI=ON
2017-09-21 17:58:38 +02:00
Matthias Hochsteger
ac59096f91
[CMake] Fix typo (search for TCL)
2017-09-19 10:24:48 +02:00
Matthias Hochsteger
b21fc55c3c
Disable TKDND build on Linux
2017-09-15 10:34:42 +02:00
Matthias Hochsteger
99a3c55cdc
Build TKDND on Linux
2017-09-14 16:35:43 +02:00
Matthias Hochsteger
1c1159bd70
Import tkinter
2017-09-14 16:34:08 +02:00
Matthias Hochsteger
341f0bd753
Update onetcl.cpp
2017-09-14 15:54:12 +02:00
Matthias Hochsteger
e50104fa40
Fix TKDND on Windows
2017-09-14 15:34:41 +02:00
Matthias Hochsteger
69917bae25
Merge branch '12-build-enable-tkdnd-drag-and-drop' into 'master'
...
Resolve "Build/enable tkdnd (drag and drop)"
Closes #12
See merge request !62
2017-09-14 14:35:09 +02:00
Joachim Schöberl
385ea4b06d
fix path for installing tkdnd on MacOS
2017-09-14 14:04:29 +02:00
Joachim Schöberl
924edbb3ad
fixes thanks to etromme
2017-09-14 13:50:29 +02:00
Matthias Hochsteger
cb858a0eec
Build tkdnd on MacOS
2017-09-14 13:42:43 +02:00
Joachim Schöberl
977c358d7b
Merge branch 'fixcalcpartition' into 'master'
...
use grading for boundray partition and set default value for elto0
See merge request !61
2017-09-13 21:51:03 +02:00
Christoph Wintersteiger
2e07ee9962
use grading for boundray partition and set default value for elto0
2017-09-13 18:33:59 +02:00
Joachim Schöberl
045a271c2e
dshapes were not computed for SIMDs
2017-09-13 10:46:10 +02:00
Joachim Schöberl
cb9816c244
Add gmsh-import, pybind2.2 ctor for Mesh
2017-09-06 18:08:39 +02:00
Joachim Schöberl
89f41da33b
had to add default constructor (for pybind update)
2017-09-02 23:08:20 +02:00
Joachim Schöberl
111f90939e
init color, add transparent
2017-09-02 22:13:44 +02:00
Joachim Schöberl
e17939a95b
Merge branch 'update_pybind11' into 'master'
...
Update pybind11 to version 2.2.0
See merge request !60
2017-09-02 22:09:34 +02:00
Matthias Hochsteger
1430b89e39
Update pybind11 to version 2.2.0
...
- Replace PYBIND11_PLUGIN with PYBIND11_MODULE
- Fix warnings about symbol visibility by replacing
'namespace pybind11' with 'namespace PYBIND11_NAMESPACE'
- Pybind sets the default visibility of its namespace to 'hidden'
Thus, our export functions like ExportCSG(py::module &m) also are
hidden by default. To work around that define DLL_HEADER
'__attribute__ ((visibility ("default")))
on GNUC platforms.
2017-09-01 10:16:56 +02:00
Joachim Schöberl
5de14c63a4
set color of CSG top-level object
2017-09-01 09:12:50 +02:00
Joachim Schöberl
7e83edabf1
order of d'tors for global variables: create VSSolution on demand, which is later
2017-08-28 18:19:20 +02:00
Joachim Schöberl
e33c859a43
delete global mesh the old way
2017-08-28 17:23:31 +02:00
Joachim Schöberl
74c8fa5cf4
little polish of bisect
2017-08-27 14:52:57 +02:00
Joachim Schöberl
6d39c78ffb
close surfs with additional sub-domain
2017-08-27 14:52:11 +02:00
Joachim Schöberl
2d4bed6a77
fix crash at netgen exit
2017-08-27 14:51:35 +02:00
Joachim Schöberl
eccccfea62
Merge branch 'check_file_exists' into 'master'
...
Check if mesh file exists before loading
See merge request !59
2017-08-24 15:00:50 +02:00
Matthias Hochsteger
d4a2d4c87b
Check if mesh file exists before loading
...
Also derive NgException from std::exception to print the error message
in Python / on the command line.
2017-08-24 13:59:16 +02:00
Joachim Schöberl
a0485eece0
wasn't worth it
2017-08-17 20:58:08 +02:00
Joachim Schöberl
b20f428eae
to make also gcc-6.3 happy
2017-08-17 20:35:35 +02:00