Commit Graph

4388 Commits

Author SHA1 Message Date
Matthias Hochsteger
cd8d43cbf9 webgui.Draw - boolean argument "show"
Useful to extract webgui scene data without displaying it
2024-01-22 14:49:17 +01:00
Matthias Hochsteger
d87e5f102e Pass mesh face transparency to webgui 2024-01-22 11:18:29 +01:00
Matthias Hochsteger
2024a67c74 occ shapes _webgui_data - export color alpha values
Also
- don't create ShapeProperties objects for faces with default values
- use default name/color from ShapeProperties
2024-01-22 11:00:46 +01:00
Joachim Schoeberl
d7ffc68a30 add GetBackTrace to checksame 2024-01-19 08:07:57 +01:00
Joachim Schoeberl
eb90c6ed3b use list instead of map to keep order 2024-01-18 19:43:08 +01:00
Joachim Schoeberl
5a4b89c1ed merge hp face-refinement with limiting fac2 2024-01-16 12:54:06 +01:00
Schöberl, Joachim
3dc0383f3f Merge branch 'uz/splits' into 'master'
Expsosing splits in Netgen and Powell-Sabin split

See merge request ngsolve/netgen!623
2024-01-16 12:51:18 +01:00
Joachim Schoeberl
cb7759cd0b line number in NETGEN_CHECK_SAME macro 2024-01-16 12:43:23 +01:00
Joachim Schoeberl
6c3fcf0188 Alfeld split uses sub-division factor 1/3 2024-01-16 12:42:42 +01:00
Joachim Schoeberl
29f0a5d647 simple signal without smart pointers 2024-01-16 10:17:19 +01:00
Umberto Zerbinati
87c4e543ad Introduced fac2 to fix issue with face splits 2024-01-15 23:54:44 +00:00
Umberto Zerbinati
d2bba6cb3c Merging master 2024-01-15 22:50:49 +00:00
Umberto Zerbinati
00747fb947 Powell Sabin splits 2024-01-15 22:43:18 +00:00
Joachim Schoeberl
696620828f don't restrict refinement parameter in HPRefinement (more user responsibility) 2024-01-15 21:42:27 +01:00
Umberto Zerbinati
890f59b8b4 Exposed Alfeld splits 2024-01-15 11:42:00 +00:00
Lackner, Christopher
ed7d1dfdaf Merge branch 'tolerance_occ_edge_projection' into 'master'
add tolerance to occ-edge projection

See merge request ngsolve/netgen!622
2024-01-15 11:50:07 +01:00
Joachim Schoeberl
c0d394ebf5 introduce 'shallow_archive' member 2024-01-15 08:16:14 +01:00
Joachim Schoeberl
6b346926ec if constexpr 2024-01-14 04:52:19 +01:00
Joachim Schoeberl
1ff8c97b1d fix has_shared_from_this any_cast 2024-01-14 04:33:55 +01:00
Joachim Schoeberl
2d2503bbbb auto-shallow shared_ptr with enable_shared_from_this 2024-01-13 21:15:55 +01:00
Christopher Lackner
48eb4fed07 add tolerance to occ-edge projection 2024-01-10 16:31:05 +01:00
Joachim Schoeberl
54287bbfbb wrap static variable into function 2024-01-09 10:21:06 +01:00
Joachim Schoeberl
fda7cfa2bc function-pointer instead of std::function, no unique-ptr around type_register 2024-01-09 10:01:11 +01:00
Joachim Schoeberl
8362349bb8 fix metis warnings 2024-01-06 18:19:11 +01:00
Joachim Schoeberl
87b65fb5ff remove warnings 2024-01-05 20:07:04 +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