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
mhochsteger@cerbsim.com
225312b9d9
Save occ identifications in step file
2021-11-04 21:58:56 +01:00
mhochsteger@cerbsim.com
747367ab8a
util function GetTempFilename()
2021-11-04 12:20:56 +01:00
mhochsteger@cerbsim.com
dbe9431fa9
remove temp file
2021-11-03 17:42:52 +01:00
mhochsteger@cerbsim.com
9245c3c32b
proper handling of occ names and colors
2021-11-03 17:20:26 +01:00
mhochsteger@cerbsim.com
b914b6fe53
load/store occ geometry properties (maxh, hpref, color opacity)
2021-11-02 19:11:10 +01:00
Christopher Lackner
e662449b69
fix copy paste error
2021-10-20 09:26:15 +02:00
Christopher Lackner
458ade64e6
fix occ shape names in Load from step
2021-10-20 09:23:01 +02:00
Christopher Lackner
e703ad75af
Allow OCCGeometry.Heal without face_colours (if built in py)
2021-10-11 12:47:16 +02:00
Christopher Lackner
bd29763b16
Add std::any to py::object caster for archive registered types
2021-09-28 22:34:11 +02:00