Commit Graph

146 Commits

Author SHA1 Message Date
Christopher Lackner
bef1172b44 only iterate over outer chart if inner chart searchtree 2019-09-30 18:50:43 +02:00
Matthias Hochsteger
94671a176a Use STLTrigId instead of int in SearchTree 2019-09-30 18:43:53 +02:00
Joachim Schöberl
693bc66d49 use STL-searchtree 2019-09-30 18:21:01 +02:00
Joachim Schöberl
dd70e94143 searchtree in STLCharts 2019-09-30 18:14:46 +02:00
Joachim Schöberl
e4017b84e9 Merge branch 'pointnd_to_point' into 'master'
Pointnd to point

See merge request jschoeberl/netgen!255
2019-09-30 13:30:01 +00:00
Joachim Schöberl
b76b82b293 Merge branch 'split_improve_2d' into 'master'
SplitImprove for triangles

See merge request jschoeberl/netgen!251
2019-09-30 13:29:50 +00:00
Matthias Hochsteger
8defe2f864 New function Mesh::FindIllegalTrigs()
Find illegal trigs after surface meshing and use this information in
surface mesh optimization
2019-09-30 14:54:03 +02:00
Matthias Hochsteger
b3c64a0607 Handle CR and other space characters correctly when loading STL files 2019-09-30 13:08:39 +02:00
Matthias Hochsteger
7becf20ebd Ignore leading whitespaces in STL files
Treat STL files as binary if non-printable characters appear in first
80 bytes
2019-09-30 11:54:04 +02:00
Christopher Lackner
030d8c8523 change more PointNd to Point<N> 2019-09-30 10:19:35 +02:00
Christopher Lackner
ca2212879e Change some PointNd to Point<N> functions 2019-09-29 14:54:24 +02:00
Christopher Lackner
c04da61ddc final check for badsurfacemesh 2019-09-27 14:45:15 +02:00
Christopher Lackner
9b92e754f2 Merge branch 'master' into stl_refine_fix 2019-09-27 14:34:09 +02:00
Joachim Schöberl
d1705be7a6 searchtree in MakeAtlas 2019-09-26 15:22:06 +02:00
Christopher Lackner
182ee07a5c start fixing 2019-09-26 13:57:55 +02:00
Matthias Hochsteger
5d4d0f1e39 Add missing DLL_HEADERs 2019-09-24 13:16:26 +02:00
Matthias Hochsteger
4deffe6cbe Button to write selected chart to separate .stlb file 2019-09-24 13:09:49 +02:00
Joachim Schöberl
54fa0d81ec little stl cleanup 2019-09-24 10:14:52 +02:00
Joachim Schöberl
279a5a2faa use boundary_ht, remove unsued functions 2019-09-23 09:40:35 +02:00
Christopher Lackner
b45d022542 Revert "only use hashtable in stlboundary"
This reverts commit dbbfebcf1a.
2019-09-23 09:30:23 +02:00
Christopher Lackner
dbbfebcf1a only use hashtable in stlboundary 2019-09-22 15:49:06 +02:00
Joachim Schöberl
c180b37ea8 more STL*Id 2019-09-22 13:15:53 +02:00
Christopher Lackner
4de79f4ce6 fix stlchartboundary 2019-09-22 00:16:44 +02:00
Joachim Schöberl
6ad36f73cb move BoxTree to headers 2019-09-21 09:45:29 +02:00
Joachim Schöberl
5332762b96 STLPointId ... 2019-09-21 02:04:50 +02:00
Joachim Schöberl
9b13bde72b more STLPointId ... 2019-09-21 02:04:50 +02:00
Joachim Schöberl
f22cb48832 STLPointId 2019-09-21 02:04:50 +02:00
Joachim Schöberl
61c9e669c3 use Point/Trig/Chart-Id in stl-meshing, more to come 2019-09-21 02:04:49 +02:00
Matthias Hochsteger
5cfb449d7a Automatically distinguish between ASCII and binary stl files 2019-09-20 11:55:46 +02:00
Christopher Lackner
38d8d0cd71 Merge branch 'dont_import_tkinter' into 'master'
Don't import tkinter

See merge request jschoeberl/netgen!220
2019-08-28 11:48:09 +00:00
Matthias Hochsteger
14ce523070 Don't dll-export inline function 2019-08-28 09:40:02 -07:00
Christopher Lackner
13c17adf87 restricth for occ and stl geometries 2019-08-28 09:52:51 +02:00
Christopher Lackner
9d96c0e432 occ parameters from python, gui and meshsize parameters now the same 2019-08-27 10:10:17 +02:00
Joachim Schöberl
c900e0380b unique ptrs in Mesh 2019-08-09 09:02:50 +02:00
Christopher Lackner
0e3636436d dll header 2019-08-06 20:45:15 +02:00
Christopher Lackner
aea04367c7 dll header at correct place now 2019-08-06 20:27:00 +02:00
Christopher Lackner
a9039ac334 remove wrong dll header 2019-08-06 20:23:18 +02:00
Christopher Lackner
34c1e0667c remove any cast 2019-08-06 20:13:31 +02:00
Christopher Lackner
fd42f24d37 remove any again 2019-08-06 20:03:17 +02:00
Christopher Lackner
9e63ba0943 parse additional kwargs internally as flags to avoid bad_any_cast
There seem to be somehow multiple py::kwargs classes created in
different libraries, because of this the any_cast is failing.
To circumvent this we attach them to the MeshingParameters object
as flags.
2019-08-06 17:38:44 +02:00
Christopher Lackner
1bc2e1f5a7 global stl parameters only visible in nglib, stlparameters from python 2019-08-06 12:16:30 +02:00
Christopher Lackner
fc1a3da429 meshingparameter only visible in nglib and const ref to funcs 2019-08-06 10:42:53 +02:00
Christopher Lackner
218bd4c5d2 start work on stlparam from python, strange bad any cast exception 2019-08-02 16:22:53 +02:00
Christopher Lackner
c22ec2dcc2 meshingparameters from python as in gui 2019-07-29 07:11:57 +02:00
Christopher Lackner
091494c6b3 cleanup python export, generate mesh functions not monkeypatched 2019-07-25 23:25:58 +02:00
Matthias Hochsteger
d89b328979 Get rid of pybind11 include in archive.hpp
Forward-declare pybind11::object and move implementation of
Archive::Shallow() to new header python_ngcore.hpp

All files using the Shallow/Python archive functionality must include
core/python_ngcore.hpp. Missing includes result in link errors, due to
missing instantiations of Archive::Shallow<T>();
2019-07-11 17:09:59 +02:00
Matthias Hochsteger
c5acbacadb Rename ArrayMem to NgArrayMem 2019-07-09 18:00:12 +02:00
Matthias Hochsteger
2d46d21a52 Rename FlatArray to NgFlatArray 2019-07-09 10:40:35 +02:00
Matthias Hochsteger
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Matthias Hochsteger
4aadd29dfc [cmake] Fix libraries privately 2019-06-30 00:54:31 +02:00