Christopher Lackner
bd29763b16
Add std::any to py::object caster for archive registered types
2021-09-28 22:34:11 +02:00
Joachim Schoeberl
1c585e5d67
Cylinder::IsIdentic use angle-epsilon
2021-09-13 15:54:02 +02:00
Christopher Lackner
9d48602a2a
Add NetgenGeometry.RestrictH function
2021-09-08 22:12:45 +02:00
Joachim Schoeberl
b9588627f0
use history in OCCT - fuse
2021-08-30 22:00:58 +02:00
Joachim Schoeberl
780e72bf81
copyable 2d rules
2021-06-21 08:36:14 +02:00
Joachim Schoeberl
30d708f487
thread-safe CSG crosspoints and edges
2021-06-21 05:22:00 +02:00
Matthias Hochsteger
0b90d24d81
fix tolerance in specpoints check (compare Dist2() with sqr(1e-8*geomsize) )
2021-06-08 20:03:07 +02:00
Christopher Lackner
b8ab3a47a7
Give bcname and maxh to revolution by adding it to spline
2021-06-08 14:35:58 +02:00
Christopher Lackner
12a5d14967
Revolution should keep shared_ptr to splinegeo2d
2021-06-08 11:56:57 +02:00
Christopher Lackner
0763e4a5d1
fix override warnings
2021-04-17 16:27:30 +02:00
Christopher Lackner
087a830a67
store cumulated angle
2021-04-15 22:48:16 +02:00
Christopher Lackner
6e87ff6ea7
allow spirals with extrusion using zones
2021-04-15 19:02:05 +02:00
Christopher Lackner
4e2d2943f6
fix csg extrusion
2021-04-13 12:11:10 +02:00
Christopher Lackner
7c6296f153
csg splinecurves -> shared_ptr
2021-04-12 15:51:40 +02:00
Christopher Lackner
7bd454e385
use relative tolerance in identifypoints
2020-12-18 15:58:51 +01:00
Matthias Hochsteger
94ecf8de92
Fix private linking of Python
...
The CMake export of Interface libraries also exports PRIVATE build
settings, which leads to build errors with non-existing include paths and .lib files for binary distributions.
Use the work-around mentioned here to circumvent this behavior:
https://gitlab.kitware.com/cmake/cmake/-/issues/15415#note_849405
2020-12-18 11:05:10 +01:00
Christopher Lackner
bf855efd1b
fix usage of uninitialized value (valgrind)
2020-12-15 15:07:48 +01:00
Joachim Schöberl
2d03739f4e
little smooth
2020-10-20 12:35:17 +02:00
Christopher Lackner
ce3f3429d4
fix range check exception in tutorials
2020-10-19 15:27:36 +02:00
Christopher Lackner
00b4959232
remove "normal vectors degenerated" output
2020-10-19 14:06:35 +02:00
Joachim Schöberl
cdbe7fd892
cleanup solid checks
2020-10-17 17:08:58 +02:00
Joachim Schöberl
ad69a9d5a5
modernization SpecialPointCalculation
2020-10-17 15:23:53 +02:00
Joachim Schöberl
decb6c6e90
use VecInSolid2 in SpecialPoint analysis, VecInSolid2 return also does_intersect
2020-10-17 13:01:07 +02:00
Joachim Schöberl
01c1411d65
robust implementation of Polyhedra::VecInSolid2
2020-10-17 08:18:32 +02:00
Christopher Lackner
1a051ec555
export Polyhedra to Python and add test case
2020-10-16 12:05:03 +02:00
Joachim Schöberl
4cdaa6e3df
differentiate 1 correctly
2020-10-16 10:54:34 +02:00
Joachim Schöberl
b841b1c57b
using bool for in/strict-in, and more unique-ptrs
2020-10-16 10:14:50 +02:00
Joachim Schöberl
4d2e4fea44
unique-ptr for TangentialSolid
2020-10-16 09:44:11 +02:00
Joachim Schöberl
4f4483794d
VecInSolid, poly
2020-10-15 09:29:36 +02:00
Joachim Schöberl
54dba89dd8
Merge branch 'fix_analyzeedge' into 'master'
...
Fix AnalyzeEdge()
See merge request jschoeberl/netgen!322
2020-10-14 21:36:39 +00:00
Joachim Schöberl
476a4c350c
robust Polyhedron::VecInSolid option
2020-10-14 16:37:01 +02:00
Joachim Schöberl
a894ebc9f5
stable pseudo-inverse, improve edge-analysis for revolution
2020-10-11 22:16:47 +02:00
Joachim Schöberl
b81f7f5ada
improve robustness for revolution surface meshing (FindSpecialPoints)
2020-10-11 13:26:34 +02:00
Joachim Schöberl
8926d93e07
GetTangentialSurfaceIndices was missing for extrusion
2020-07-05 11:15:56 +02:00
Christopher Lackner
177ecc7459
Allow curving of mesh if boundarylayer is flat.
...
If surfnr is larger than nr of surfaces then do linear interpolation
for PointInBetween and so on.
Some fixes in boundarylayer so that surface numbers are correct.
2020-06-24 06:41:06 +00:00
Matthias Hochsteger
09323b2ac4
Fix AnalyzeEdge()
2020-06-12 14:28:56 +02:00
Christopher Lackner
83a48af36a
add safety check for FindEdges
2020-04-19 19:26:44 +02:00
Joachim Schöberl
d9a322ed65
Merge branch 'store_ellipsoid_in_mesh' into 'master'
...
Store Ellipsoid csg surface in mesh files
See merge request jschoeberl/netgen!309
2020-01-15 14:32:47 +00:00
Matthias Hochsteger
4810b4f1b2
Store Ellipsoid csg surface in mesh files
2020-01-15 15:13:08 +01:00
Joachim Schöberl
0209472ef6
csg.AddPoint with names
2020-01-15 11:56:23 +01:00
Joachim Schöberl
d53f28c89b
named edges in CSG geometry
2020-01-13 16:41:18 +01:00
Christopher Lackner
30b10c1aaa
remove debug cout
2020-01-13 11:17:00 +01:00
Joachim Schöberl
2b683f70d5
Merge branch 'throw_on_meshing_fail' into 'master'
...
throw on meshing failure
See merge request jschoeberl/netgen!299
2019-11-26 19:27:30 +00:00
Matthias Hochsteger
f3d9d3ad67
[cmake] Don't link python libraries in unix-conda environment
...
Conda links python libs statically to python executable
2019-11-26 19:26:18 +00:00
Christopher Lackner
303aebc27e
throw on meshing failure
2019-11-26 17:08:21 +01:00
Christopher Lackner
1b1c4700ad
geo GetNormal and ProjectPointEdge with geoinfo pointer
2019-11-04 11:27:01 +01:00
Christopher Lackner
6c012675aa
project point without geominfo returns new geominfo
2019-10-31 17:08:29 +01:00
Christopher Lackner
5b45c7a972
implement meshing2 functionality for 3d geometries
2019-10-28 13:44:51 +01:00
Matthias Hochsteger
082908a5ec
ProjectPointGI for CSG and 2D geometries
2019-10-23 11:08:11 +02:00
Christopher Lackner
fa3ae333ce
delete trailing whitespaces in new commits
2019-10-07 15:17:03 +02:00