Christopher Lackner
3709ea8f94
allow reading of binary brep files
2024-06-21 15:16:47 +02:00
Matthias Hochsteger
c2f42f2f16
Backward compatibility for occ geometry loading (from mesh file)
2024-06-20 18:05:43 +02:00
Matthias Hochsteger
571cbbe4df
Optional identification_name argument in Face::Offset to apply CLOSE_SURFACE identifications
2024-06-03 12:37:26 +02:00
Christopher Lackner
f808a2bb64
Propagate maxh to children only in occgeom constructor
...
Allows resetting maxh to larger values again:
```
from netgen.occ import *
from ngsolve import *
b1 = Box((-1,-1,-1), (1,1,1))
b1.faces.Max(X).maxh = 0.1
b1.faces.Max(X).maxh = 0.2
geo = OCCGeometry(b1)
mesh = Mesh(geo.GenerateMesh(maxh=0.5))
Draw(mesh)
```
Needed for example in meshing app. Before it was not possible to set
maxh to larger value again.
2024-04-26 09:55:53 +02:00
Hochsteger, Matthias
6b89d2cf62
Compatibility with Opencascade 7.8
2024-03-06 16:29:11 +01:00
Christopher Lackner
bb7a3fe692
show properties in topology view in netgen gui
2024-03-05 14:38:25 +01:00
Christopher Lackner
1a213a1588
fix identifications write and load to step
2024-03-04 21:57:54 +01:00
Christopher Lackner
37df61b233
don't segfault on internal or external orientations in occ viewer
2024-03-04 19:49:40 +01:00
Matthias Hochsteger
b8aa568626
Utility function to generate OCC shape triangulation -> always use same parameters
2024-02-29 17:19:47 +01:00
Joachim Schoeberl
87b65fb5ff
remove warnings
2024-01-05 20:07:04 +01:00
Matthias Hochsteger
20fd3af5b4
Fix face orientation in BuildFMap to change the original shape
2023-10-12 16:10:50 +02:00
Hochsteger, Matthias
dad62afcee
Call PropagateProperties in OCCGeometry::HealGeometry()
2023-10-11 17:13:38 +02:00
Christopher Lackner
e2aa646b0e
allow read in of "broken" step files (for manual fixing)
2023-10-09 11:50:18 +02:00
Christopher Lackner
556ec04b8e
add colors for iges input files
2023-10-09 11:30:45 +02:00
Matthias Hochsteger
4c21f4f904
Fix meshing of INTERNAL faces with Opencascade
2023-08-16 18:39:49 +02:00
Joachim Schoeberl
e1f7935f0b
fixing warnings
2023-08-05 12:01:01 +02:00
Matthias Hochsteger
bdd15644d3
Fix compile warning
2023-04-26 16:48:29 +02:00
Christopher Lackner
0aa20603d9
remove all std::maps<TopoDS_Shape, *> and std::set<TopoDS_Shape>
...
since hash conflicts may occur this is not safe.
2022-12-06 17:51:19 +01:00
Matthias Hochsteger
22d314a1ec
Don't use std::map<TopoDS_Shape> (hash value is not unique)
2022-11-15 17:02:34 +01:00
Christopher Lackner
b7e0288a34
use Shape hash instead of TShape
2022-08-19 12:51:39 +02:00
Matthias Hochsteger
1497404a4c
Fix mesh saving/loading with OCC 7.6
2022-05-25 16:29:34 +02:00
Matthias Hochsteger
b694b4667a
rework build system, separate gui and non-gui code
...
move fieldlines code to meshing dir
move visualization function pointers to meshing directory
DLL_HEADER -> NGGUI_API in visualization lib
move soldata.hpp to meshing
update occ, no freetype necessary anymore
2022-05-05 14:39:31 +02:00
Christopher Lackner
d36b3d8b4e
[occ] inner point of surface -> surface mesh
2022-03-30 12:47:07 +02:00
Christopher Lackner
046443259e
[occ] gp_GTrsf for anisotropic trafos
2022-03-28 18:34:22 +00:00
luz paz
4033fac1b3
Fix various typos
...
Found via `codespell -q 3 -S ./external_dependencies/pybind11 -L alledges,allright,ane,anormal,ans,apoints,ba,boxs,cancle,childs,co-ordinate,co-ordinates,daty,enty,filld,hel,identifyable,ist,linz,lod,ned,nd,selt,statics,suround,thev,thist,thisy,timere,upto,wel`
2022-03-25 18:22:05 -04:00
mhochsteger@cerbsim.com
4e8fe77098
fix some warnings
2022-03-02 14:14:38 +01:00
Christopher Lackner
d6770fda0c
allow quad dominated meshing of faces
2022-02-25 10:50:51 +01:00
mhochsteger@cerbsim.com
cf59f297a7
use std::filesystem::path
2022-02-23 11:56:00 +01:00
mhochsteger@cerbsim.com
5f202fd4ea
clear geom data in OCCGeometry::BuildFMap() (fixes broken meshing after Heal())
2022-01-17 10:02:11 +01:00
mhochsteger@cerbsim.com
c63a865ee3
occ - fix meshing a sphere (need to keep degenerate edges)
2022-01-04 16:09:00 +01:00
mhochsteger@cerbsim.com
1e86bc2c59
occ - consistent ordering of shapes
2021-12-17 11:04:23 +01:00
mhochsteger@cerbsim.com
d467621edd
change interface for identifications
2021-12-16 20:54:19 +01:00
mhochsteger@cerbsim.com
b7448ce2c1
fix PropagateIdentifications after Glue
2021-12-16 18:35:43 +01:00
mhochsteger@cerbsim.com
44471fe649
occ - identify with given trafo (allows identifying multiple faces at once)
2021-12-14 12:16:03 +01:00
mhochsteger@cerbsim.com
329364e8e2
occ - set domin/domout for edges in 2d meshes
2021-12-07 14:52:06 +01:00
mhochsteger@cerbsim.com
c0d6f1588d
occ - closesurface identification (prisms)
2021-11-30 20:26:26 +01:00
mhochsteger@cerbsim.com
1818ffd152
occ - fix meshing in parameter space, fix edge curve parameters
2021-11-29 16:04:26 +01:00
mhochsteger@cerbsim.com
9537ccdb7a
occ - allow closed edges in identified faces
2021-11-28 19:59:14 +01:00
Matthias Hochsteger
16b88e8e67
OCC Mesher Cleanup
2021-11-28 15:14:41 +00:00
mhochsteger@cerbsim.com
8c9cdfbc34
store netgen version, introduce "format_version" for future changes
2021-11-12 12:55:01 +01:00
mhochsteger@cerbsim.com
36f22a13ce
also save occ identifications in mesh file attachment
2021-11-12 12:54:58 +01:00
mhochsteger@cerbsim.com
e0afa0a916
Use TextOutArchive to store OCCGeometry in mesh files
2021-11-11 10:04:39 +01:00
mhochsteger@cerbsim.com
4d7ef21791
proper DoArchive for OCCGeometry
2021-11-10 18:37:24 +01:00
Joachim Schoeberl
478aaf7788
little polish
2021-11-07 00:16:57 +01:00
Joachim Schoeberl
50398c18c4
simplify edge/face-id types (just an int)
2021-11-06 15:52:35 +01:00
Joachim Schoeberl
fdc04b7276
using more range-based loops in occ
2021-11-06 11:51:11 +01:00
Joachim Schoeberl
14f32f73c0
range-based for for TopExp_Explorer
2021-11-06 10:44:01 +01:00
mhochsteger@cerbsim.com
239cdf694f
Don't copy occ shape in OCCGeometry ctor by default
2021-11-05 20:26:43 +01:00
mhochsteger@cerbsim.com
b99b107bbc
fix for loop range (occ is 1-based)
2021-11-05 19:44:58 +01:00
Matthias Hochsteger
8efcd93db6
Merge branch 'temp_file_generation' into 'master'
...
util function GetTempFilename()
See merge request jschoeberl/netgen!446
2021-11-05 16:41:11 +00:00