Commit Graph

4374 Commits

Author SHA1 Message Date
Matthias Hochsteger
be2d58ed33 something 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
95d5e868dd cleanup 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
f6bdb3ccb0 lshape example working (no limitation yet) 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
dd337ce375 some more 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
d6a3d875cc more 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
96488d0626 some work 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
9995549257 start from scratch
First step: intersect segment (p, p+growthvector) with surface elements
Second step: intersect segment with moved surface elements
    TODO: Need mutual reduction of growthvector (not just taking one
    intersection point)

    IDEA: Take plane with segment, intersection point and
    intersectionpoint-growthvector (need interpolation and barycentric
    coordinates to get point on original surface element)
    Then calculate in 2d how far one could go (depending on angle of two
    growthvectors)
2023-12-28 16:57:42 +01:00
Matthias Hochsteger
47ff7405a3 more 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
57be10cbcf some ting 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
35f084e9aa start rework 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
7a0d7594c8 Boundarylayers - handle opposing normal vectors correctly 2023-12-28 16:57:42 +01:00
Hochsteger, Matthias
ec0f848030 Merge branch 'cake_identification' into 'master'
fix cake identification, allow until revolve axis

See merge request ngsolve/netgen!621
2023-12-28 11:42:33 +01:00
Christopher Lackner
fb211a5ee4 fix cake identification, allow until revolve axis 2023-12-28 11:11:48 +01:00
Matthias Hochsteger
9307b50155 gitignore 2023-12-22 22:42:55 +01:00
Lackner, Christopher
16e4a6e321 Merge branch 'timer_to_netgen' into 'master'
move timer and TimeFunction to netgen

See merge request ngsolve/netgen!620
2023-12-20 13:12:59 +01:00
Christopher Lackner
e8bf5e6b4f move timer and TimeFunction to netgen 2023-12-20 12:04:44 +01:00
Matthias Hochsteger
a272a8d420 Init debugparam write_mesh_on_error with env variable NG_WRITE_MESH_ON_ERROR 2023-12-18 20:22:46 +01:00
Matthias Hochsteger
b26d8d5fb0 Medit 3d fixes 2023-12-18 20:22:12 +01:00
Lackner, Christopher
239b2b5478 Merge branch 'show_adjacent_domain_names_on_dblclick' into 'master'
Show adjacent domain names when double clicking a mesh face in Netgen GUI

See merge request ngsolve/netgen!618
2023-12-14 15:19:28 +01:00
Matthias Hochsteger
c8f38486f1 Draw grey surfaces again if draw_surface=False 2023-12-07 11:01:55 +01:00
Lackner, Christopher
4648ac2768 Merge branch 'occ_arc_name' into 'master'
[occ] add name argument to arc in workplane

See merge request ngsolve/netgen!615
2023-12-07 10:23:03 +01:00
Matthias Hochsteger
82fb39cef9 Show adjacent domain names when double clicking a mesh face in Netgen GUI 2023-12-05 20:14:18 +01:00
Christopher Lackner
b4d0e5f8fc don't invert on periodic boundary (only if normal vectors do not match) 2023-12-04 11:01:10 +01:00
Schöberl, Joachim
6bd09ee05e Merge branch 'export_parentelements_python' into 'master'
export parentelements to python

See merge request ngsolve/netgen!617
2023-11-28 21:55:32 +01:00
Christopher Lackner
3afdd80333 export parentelements to python 2023-11-28 21:30:57 +01:00
Hochsteger, Matthias
6442b47b99 Merge branch 'stl_util_pyexport' into 'master'
Export some STL utility functions

See merge request ngsolve/netgen!616
2023-11-22 20:46:50 +01:00
Matthias Hochsteger
12c8cda60a Export some STL utility functions 2023-11-22 20:36:52 +01:00
Christopher Lackner
5692604ab6 [occ] add name argument to arc in workplane 2023-11-21 11:38:01 +01:00
Matthias Hochsteger
ce8a73750e Return None if no color is set in shape 2023-11-21 11:26:16 +01:00
Joachim Schoeberl
69025e5ef4 return some nonsense for undefined element-type 2023-11-17 12:00:48 +01:00
Lackner, Christopher
1565e149c0 Merge branch 'geom_info_2d_element' into 'master'
export geom info of 2d elements

See merge request ngsolve/netgen!614
2023-11-16 14:22:14 +01:00
Christopher Lackner
1d67567c02 export geom info of 2d elements 2023-11-16 14:00:37 +01:00
Matthias Hochsteger
790f4784ed Medit format fixes 2023-11-07 12:12:50 +01:00
Matthias Hochsteger
b8fe52edf2 Fix build error 2023-11-06 17:38:11 +01:00
Matthias Hochsteger
c4bece8dc8 Fix Medit im-/export 2023-11-06 17:33:36 +01:00
Matthias Hochsteger
fd3a5bbd34 Fix color of point curves if use_textures is on 2023-10-30 09:41:39 +01:00
Matthias Hochsteger
6e6c23b05e Fix printed face name on double click for 2d meshes 2023-10-24 15:03:54 +02:00
Matthias Hochsteger
93a76faca6 Remove debug output 2023-10-24 15:03:34 +02:00
Matthias Hochsteger
5af59aba66 Export ReadMedit/WriteMedit 2023-10-24 10:41:27 +02:00
Hochsteger, Matthias
cf0c8f1024 Merge branch 'clip_whole_elements' into 'master'
Clip prisms/hexes/pyramids as a whole (like tets)

See merge request ngsolve/netgen!613
2023-10-19 22:37:06 +02:00
Matthias Hochsteger
5931376a57 Clip prisms/hexes/pyramids as a whole (like tets) 2023-10-19 21:47:00 +02:00
Hochsteger, Matthias
1f218835df Merge branch 'webgui_without_ipywidgets' into 'master'
allow webgui also without ipywidgets installed

See merge request ngsolve/netgen!609
2023-10-18 10:41:50 +02:00
Hochsteger, Matthias
b93db976db Merge branch 'fix_inconsistent_dll_linkage' into 'master'
fix inconsistent dll linkage (to libsrc/general/template.hpp::39)

See merge request ngsolve/netgen!612
2023-10-17 09:28:53 +02:00
Christopher Lackner
8c4384a02f fix inconsistent dll linkage (to libsrc/general/template.hpp::39) 2023-10-16 16:50:55 +02:00
Matthias Hochsteger
73c2eded15 Fix edge case in BoundaryLayer 2d growth vector limitation 2023-10-13 14:03:58 +02:00
Matthias Hochsteger
6f6b1fcb56 Medit format support 2023-10-12 19:04:40 +02:00
Matthias Hochsteger
987f0fcc07 Clean up user mesh format code 2023-10-12 19:04:40 +02:00
Lackner, Christopher
1b080b3384 Merge branch 'fix_face_reorientation' into 'master'
Fix face orientation in BuildFMap to change the original shape

See merge request ngsolve/netgen!611
2023-10-12 18:05:51 +02:00
Matthias Hochsteger
20fd3af5b4 Fix face orientation in BuildFMap to change the original shape 2023-10-12 16:10:50 +02:00
Lackner, Christopher
06d6780cc8 Merge branch 'propagate_properties_in_heal' into 'master'
Call PropagateProperties in OCCGeometry::HealGeometry()

See merge request ngsolve/netgen!610
2023-10-11 17:13:38 +02:00