Commit Graph

492 Commits

Author SHA1 Message Date
eap
230046ed89 Task #3134: Improve the relation between SHAPER and SMESH
Fix pb that sub-mesh loses hypotheses if topology changes
2020-03-17 21:23:13 +03:00
mpv
d07d6a9662 Fix the problem on break link and creation of a mesh on the same geometry:
- In SHAPER, create a part
- Create a sketch with a rectangle
- Extrude it
- Create a group of face with the TOP face
- Create a group of face with the BOTTOM face
- In SMESH, create a mesh with Netgen 1D2D
- Compute the mesh
=> The mesh groups TOP and BOTTOM are created (if "Create all Groups on geometry" is ticked in Create mesh dialog box)
- Call Break link on Extrusion_1_1 under Mesh_1.
- Compute Mesh_1 again (it has been cleared by break link).
- In SHAPER, edit the sketch and add a fillet in a corner
- In SMESH, create another mesh with Netgen 1D2D
- Compute Mesh_2
=> The mesh groups TOP and BOTTOM are created, but they are void and have a warning sign.
2020-03-12 18:02:51 +03:00
eap
4a3d652a69 #18835 Automatically create groups on Geometry in SMESH when the SHAPER result is modified 2020-03-11 19:57:24 +03:00
Pascal Obry
c9c3fe8924 Porting to ParaView 5.8 2020-03-11 14:37:59 +03:00
eap
155c6427af #17336 [CEA 17333] Mesh offset generates a segmentation violation 2020-02-28 16:06:43 +03:00
eap
0e63df0f03 Fix regression of smesh/bugs_14/P7 2020-02-26 11:59:42 +03:00
eap
afef8ccaa7 Restore usage of GenericObject wraper ( _wrap ) 2020-02-21 21:19:12 +03:00
vsr
6472eab132 Merge branch 'occ/shaper2smesh' 2020-02-21 17:00:22 +03:00
eap
48d9b5a07c Fix negative volume of valid but small polyhedron
https://salome-platform.org/forum/forum_10/547695356
2020-02-17 21:34:19 +03:00
eap
66ec81f68d #16522 [CEA 7599] Viscous layers hypothesis: extract layers as a group
1) Fix invalid python dump (missing Compute() before GetGroups())
2) Remove a group if group name changes
3) Remove an actor of a removed group
2020-02-14 18:11:57 +03:00
mpv
59fe51ff7f Correct python dump for the SHAPERSTUDY part of the script 2020-02-14 15:51:40 +03:00
eap
788e2d8114 Fix Break Link called from TUI 2020-02-14 14:16:51 +03:00
mpv
09e4b58983 Fix for the break-link dump into python: also sub-mesh references must be updated. 2020-02-13 19:09:53 +03:00
vsv
800fdf5fdc Do not remove Mesh on geometry change according to request #3134 2020-02-12 16:35:57 +03:00
mpv
4f9b4e3fb3 Make the dead shape correctly referenced by SMESH mesh after loading the python dump script 2020-02-07 15:42:25 +03:00
eap
7cda93af40 Make SetNodeOnEdge() tell a valid range if U is invalid
Inspired by https://salome-platform.org/forum/forum_10/103286584
2020-02-05 18:38:06 +03:00
mpv
2cdec6ec50 Support of python dump in SHAPER STUDY 2020-01-30 19:18:32 +03:00
eap
ab494e654a New mesh icon if geometry changes 2020-01-28 17:14:39 +03:00
eap
c4d4c3be32 Fix exception at Break Link after shaper group modification
Scenario:
- Create a mesh on a box with sub-mesh on a group
- Modify group in shaper
- Switch to SMESH and Break Link ==> SIGSEGV
2020-01-24 21:36:13 +03:00
eap
4cb88409b2 Fix dump for #17845 [EDF] Modifications of Automatic meshing 2020-01-24 19:09:38 +03:00
eap
5dcb2f2b46 #17845 [EDF] Modifications of Automatic meshing 2020-01-24 19:09:38 +03:00
eap
e3019524b4 Fix sub-mesh update upon shaper geometry change 2020-01-21 17:41:22 +03:00
eap
93ac2e8964 fix update of sub-meshes on group in checkGeomModif()
+ make SMESH_Mesh_i::_mainShapeTick persistent, which is needed for the case:
    - open a saved study with shaper data
    - edit an object in the shaper
    - switch to smesh ==> shape modification not detected
2020-01-20 18:57:12 +03:00
eap
81dd629345 Fix sub-mesh creation by selection of mesh element + remove dead actors after BreakLink 2020-01-17 20:43:01 +03:00
eap
af067a707e Update mesh according to geometry modif. Care of actors of removed objects 2020-01-16 16:41:56 +03:00
eap
8df5094ecd Fix SMESH_Mesh_i::ReplaceShape() 2020-01-15 16:13:38 +03:00
eap
d2681a122c #17927: EDF 20035 - perfs of mesh creation 2020-01-10 14:33:42 +03:00
mpv
2b3c553f4f Implementation of Groups support by the SHAPER-STUDY module 2019-12-30 17:13:29 +03:00
vsv
c2a62ff550 Improve ReplaceShape interface 2019-12-27 18:26:04 +03:00
vsv
00b30e0d6c Replace shape in Mesh object 2019-12-27 16:22:48 +03:00
mpv
c56d066c64 Implementation of the automatic breaking the link if the shape is modified or deleted 2019-12-19 18:24:56 +03:00
eap
fa9f8a6224 LOT7: fix compilation at med_int==int64 2019-12-19 16:34:19 +03:00
rnv
70d591791d Fix compilation errors (OCCT-7.4.0) 2019-12-17 22:19:27 +03:00
mpv
b6155253f8 Fixes for SMESH working with SHAPERSTUDY 2019-12-17 14:37:02 +03:00
vsv
c7e6dcf72a Modification of SMESH_Gen interface 2019-12-09 16:09:31 +03:00
vsr
5166ed186f #17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9.4.0 + max_memory 2019-11-08 16:35:08 +03:00
eap
db1df018eb BUG: mesh.Append( nodeGroup ) adds nodes twice 2019-11-05 22:00:23 +03:00
eap
d52c607e29 #17799 EDF 20211 - Problem with exporting to GEOM
Find existing sub-shapes by name and by ids
2019-10-30 14:53:36 +03:00
eap
54d95073e1 IPAL54157: Empty bounding box of a non-empty mesh 2019-09-04 20:50:22 +03:00
eap
2954414714 #17336 [CEA 17333] Mesh offset generates a segmentation violation 2019-09-03 15:47:17 +03:00
eap
a4f06a3d9d IPAL54452: Compact mesh after merge operations
Don't use elem IDs at UNV and DAT export to avoid gaps in numeration
2019-08-29 16:19:25 +03:00
eap
fad0945128 Typo fixes by Kunda
https://salome-platform.org/forum/forum_9/495080934
2019-08-27 14:48:19 +03:00
eap
db6f1785f5 54416: Extrusion 3D algo is not applicable to a prismatic shape
Fix for the case of non-manifold internal faces

+
1) Fix SMESH_Actor for coloring using custom 1D functor
2) Improve some doc images
2019-08-23 16:16:29 +03:00
eap
f65b9b8b24 IPAL54425: Quadrangle mapping fails on a quadrangle face with a seam
Issue reported in https://www.salome-platform.org/forum/forum_10/984373499

+
1) Fix a bug in Python dump
2) Expose corners in Quadrangle Param gui
2019-08-05 20:02:26 +03:00
eap
0146a69d82 IPAL54585: Extrusion 3D algo fails with "OCC exception. Standard_NoSuchObject: NCollection_DataMap::Find" error
Issue (2) with Geometric Progression reported in
  https://www.salome-platform.org/forum/forum_10/976643804#300891023
  Fixed in StdMeshers_Prism_3D.cxx

+ Minor changes:
1) SMESHGUI_PreVisualObj::myMesh in now SMESHDS_Mesh*
2) TPythonDump::DumpArray is now public method
3) In StdMeshers_FixedPoints1D, make args of Set*() methods const
4) Install SMESHGUI_PreVisualObj.h
5) Make StdMeshers_QuadrangleParams::SetCorners() available via CORBA
2019-08-02 18:14:14 +03:00
eap
a87bde2a08 IPAL54529: Hexahedron(ijk) fails on a block with composite sides if Viscous Layers assigned
+ In Create Mesh dialog define enabled tabs by SMESH_Algo::IsApplicable( shape )
+ Extract SMESH_Indexer from StdMeshers_HexaFromSkin_3D.cxx
2019-07-12 15:15:38 +03:00
eap
bb1e4b11d8 #17096 [CEA 16891] SMesh::CopyMeshWithGeom : discrepeancies in copied groups volumes. 2019-07-11 18:42:52 +03:00
eap
1732ea91c4 #17085 [CEA 17030] Warning sub-mesh with Extrusion 3D 2019-07-01 21:45:44 +03:00
eap
b8a546c91f #16866: [CEA 13186] smesh Exception during hypothesis creation
Show more information on error occurred.
2019-05-15 16:40:17 +03:00
eap
8a0ae20732 Fix CRASH after mesh.RemoveGroupWithContents( group_of_other_mesh ) 2019-04-08 13:40:11 +03:00