Commit Graph

2327 Commits

Author SHA1 Message Date
eap
650885c135 #17237: Body fitting on sub-mesh, #16523: Treatment of internal faces 2020-02-14 18:47:13 +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
eap
70eb9c09d0 #16522 [CEA 7599] Viscous layers hypothesis: extract layers as a group 2020-02-14 18:11:56 +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
eap
bda71f4197 Prevent crash at too small comment ratio of geometric progression hypothesis 2020-02-13 13:37:31 +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
2fb74f97f6 #18665 [CEA 17339] Polyhedron volume calculation 2020-02-06 13:33:19 +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
eap
eb32ac37f3 #17351 [CEA] Mesh with Polyhedron 2020-02-05 16:15:42 +03:00
eap
93781217ab #16479 [CEA 12950] ViscousLayers hypothesis and periodic condition 2020-02-05 16:05:45 +03:00
mpv
2cdec6ec50 Support of python dump in SHAPER STUDY 2020-01-30 19:18:32 +03:00
rnv
e374376aa6 bos #18641 [CEA 18636][Windows] SMESH_MeshersList environment variable separator 2020-01-29 15:02:42 +03:00
vsr
0c8b79a917 bos #18601 GMSH is missing from SMESH algorithms when 2D model is selected 2020-01-28 18:05:11 +03:00
eap
ab494e654a New mesh icon if geometry changes 2020-01-28 17:14:39 +03:00
rnv
7d3e4fc0b1 bos #18659 [CEA][Windows] SMESH compilation issue 2020-01-28 16:45:37 +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
24a67a7033 #17845 [EDF] Modifications of Automatic meshing
1) Make "Free Hexahedralization" unavailable if NETGEN preferred over MeshGems
2) BUG: Hyposets do work only with English language
2020-01-24 19:09:39 +03:00
eap
4cb88409b2 Fix dump for #17845 [EDF] Modifications of Automatic meshing 2020-01-24 19:09:38 +03:00
eap
f67cc2cf76 #17845 [EDF] Modifications of Automatic meshing
Fixes for remarks
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
fe414fe4e7 adjust for shaperBuilder 2020-01-23 21:56:19 +03:00
eap
7c8ea81b29 Update sub-mesh actors after Compute 2020-01-21 17:42:01 +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
3801576eaf in UpdateActorsAfterUpdateStudy() do not update actors
else an actor can switch to "node display mode"
2020-01-20 18:51:55 +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
09e26a7d86 indenting 2020-01-17 13:30:20 +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
ad718f9854 #18611 EDF 20669 - Quality of quadrangles 2020-01-16 13:52:52 +03:00
eap
174c7bbfbf BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY
another place of  SMESH::GetGEOMGen() usage
2020-01-15 17:01:31 +03:00
eap
8df5094ecd Fix SMESH_Mesh_i::ReplaceShape() 2020-01-15 16:13:38 +03:00
eap
07ac4da8b2 BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY
1) GetGEOMGen() -> GetGEOMGen( GEOM::GEOM_Object_ptr go )
2) some formatting (whitespace changes)
2020-01-15 16:12:51 +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
vsv
26999fa04d Update views on the module activation 2019-12-26 16:55:21 +03:00
vsv
68d2446f69 Update object browser 2019-12-26 14:55:44 +03:00
vsv
0ed56e5073 Translation on French 2019-12-23 18:52:42 +03:00
vsv
96a86667a9 Transfer BreakLink from Object to Gen 2019-12-23 14:57:39 +03:00
vsv
c47c00f480 Call BreakLinks method 2019-12-20 16:13:06 +03:00
vsv
b8ddb1330c Define canBreakLink parameter 2019-12-20 15:53:23 +03:00
vsv
779967e2f5 Create "Break link" pop-up menu item 2019-12-20 13:04:00 +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
eap
abf6641b14 #18097 [CEA] Mesh group not updated in the view after a compute with other hypotheses 2019-11-12 19:04:18 +03:00
eap
8fc0f4f355 #17956 [CEA 17925] COMPERR_OCC_EXCEPTION 2019-11-08 16:55:05 +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
6d7121da90 #17871 [CEA 17868] Import 1D 2D threshold value (test_import1d2d_mesh_top.py)
Workaround for OCCT bug #31112: replace BRepClass_FaceClassifier by BRepTopAdaptor_FClass2d
2019-10-30 17:24:46 +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
9c7efc01ae Fix a hang-up of UNV import
Hang-up at reading an empty data-set at the file end:
    -1
  2477
    -1
2019-10-24 16:25:50 +03:00
eap
47514a428f #17871 [CEA 17868] Import 1D 2D threshold value 2019-10-18 21:21:27 +03:00
eap
b88c2f1bf7 #17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion
Fix volume calculation of invalid polyhedra
2019-10-16 15:24:43 +03:00
eap
2cc662ea28 #17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion
1) Fix BadOrientedVolume criterion to detect invalid polyhedrons
  2) Fix SMESH_MeshEditor::Reorient() to correct orientation of polyhedron facets
2019-10-15 21:25:46 +03:00
eap
e67f8c2cab #17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion
Implement ChangePolyhedronNodes()

+ Enable  Orientation of Faces in wireframe mode
2019-10-15 16:04:58 +03:00
eap
d66fe4a500 Fix smesh/imps_09/K0
Fix for zero-width slot
2019-10-11 19:13:54 +03:00
rnv
2a1407f46f Roll-back to med-4.0.0 2019-10-08 11:46:24 +03:00
Paul RASCLE
c7ec4c445e fix MED version supported, comments to explain what must be updated when MED version changes 2019-10-03 17:06:11 +02:00
eap
e29ec7a70a #17783 [CEA] Dumping Mesh information 2019-10-02 17:58:53 +03:00
eap
e64a06483c #17775 [CEA] SALOME 9.4.0a1: export a mesh with fields using Python API- SMESH::ExportMED crash
Add the version of MED_FILE with which SALOME is built into a list
 returned by MED::GetMEDVersionsAppendCompatible()
2019-10-02 17:33:03 +03:00
Anthony Geay
831c6999e8 Support 4.0 and 4.1 2019-10-01 15:53:49 +02:00
Anthony Geay
08fb2c2e08 Porting to MED4.1 2019-09-30 10:50:32 +02:00
vsr
b14a10d622 #17695 - SMESH build/ TopoDS_Shape compilation issue 2019-09-17 17:30:08 +03:00
eap
2c751a0edd #17636 [CEA 17369] Extrusion by normal: along average normal option issue 2019-09-06 19:02:21 +03:00
eap
c64a5dc488 Fix Edit Mesh regression
Pb: no 2D algo selected when editing Mesh_3 of SALOME_TESTS/Grids/smesh/imps_09/K7
2019-09-05 20:45:46 +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
9de03403fe #17328: EDF 20043 - Submeshes 2019-09-03 14:29:31 +03:00
rnv
46f1ca0181 Porting to latest TBB on Windows. 2019-08-30 18:48:46 +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
66f913b253 #17319: EDF 20003 - suppress Meshes in TUI 2019-08-27 14:13:23 +03:00
eap
c76543a1ab IPAL54614: Getting nodes of polyhedron works wrong
Source https://salome-platform.org/forum/forum_10/633516704
2019-08-26 13:53:48 +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
rnv
226f238460 Build documentation under Windows: revert previous wrong commit, apply new approach. 2019-08-16 20:04:50 +03:00
rnv
4786233c98 Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh 2019-08-16 18:45:56 +03:00
rnv
5086ff6710 Build documentation under Windows. 2019-08-16 18:41:58 +03:00
eap
6b45e19484 IPAL54417: Hexahedron(ijk) crashes salome 2019-08-14 13:42:11 +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
Paul RASCLE
0baa22d65a disable debug trace on CGNS 2019-07-23 13:27:07 +02:00
Paul RASCLE
9eb8f2ba00 change text on Zcracks menu 2019-07-23 13:21:14 +02: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
b718a7cc45 IPAL54585: Extrusion 3D algo fails with "OCC exception. Standard_NoSuchObject: NCollection_DataMap::Find" error 2019-07-01 13:44:54 +03:00
eap
3f88168d83 #17013 [CEA 17006] Meshing a compsolid with one internal vertex per face 2019-07-01 13:35:28 +03:00
Christophe Bourcier
9b65ce0c47 Publishing the result of SurfOpt and Cleaner if the output file exists even if the computation has ended in error 2019-06-03 17:37:42 +02:00
Christophe Bourcier
d8e62d4397 Increasing number of decimals for SurfOpt min size to be able to put a small size (default is 2 decimals) 2019-06-03 16:21:41 +02:00
rnv
de3e0ec062 Remove QT4 compatibility. 2019-05-31 16:49:15 +03:00
rnv
7b4bb082fa Fix for "16960 EDF 19475 - Control Free nodes" issue 2019-05-17 11:49:10 +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
rnv
17fe9ed25b Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh 2019-05-15 11:48:13 +03:00
rnv
94ab6b047c Fix for "16925 [CEA 16749] MeshCut Python exception with Windows" issue. 2019-05-15 11:47:21 +03:00
eap
f0f37f1fc7 #16914: EDF 19401 - Wrong quadratic mesh (bis)
- don't force3DOutOfBoundary() for quadrangles and hexahedrons
- don't force3DOutOfBoundary() for bad-shaped tetras
2019-05-14 17:11:13 +03:00
eap
e63b88c7f3 #16927: Error when loading a med file with 140 millions elements 2019-05-14 16:58:34 +03:00
rnv
35b85c0539 Fix for '16926 [CEA 16749] MeshCut Python encoding issue' issue 2019-05-14 16:54:09 +03:00
eap
eacfc191eb #16914 EDF 19401 - Wrong quadratic mesh (bis)
Bug: SetEventListener() not called when a sub-algo assigned
2019-05-07 13:30:06 +03:00
vsr
ecea056f61 Merge branch 'V9_3_BR' 2019-05-06 14:10:53 +03:00
eap
31fce7937d #16797 [CEA 16781] QuadFromMedialAxis_1D2D: Failed to mesh sinuous edges 2019-04-19 16:56:57 +03:00
eap
ce56cca517 #16843 EDF 19340 - wrong quadratic mesh 2019-04-18 21:34:39 +03:00
eap
0743fa8f5f IPAL54529: [CKD]: Hexahedron(ijk) fails on a composite block if Viscous Layers assigned 2019-04-18 20:33:45 +03:00
vsr
4e9fa6a7f4 Merge branch 'master' into V9_3_BR 2019-04-09 19:23:38 +03:00
eap
b8917880e4 Quality Info: tolerance change does not influence on Nb double nodes 2019-04-09 19:11:56 +03:00
Paul RASCLE
62c6ecf7ae fix for plugin padder 2019-04-09 10:23:32 +02:00
Paul RASCLE
67e484afbe Merge branch 'V9_3_BR' into pre/padder 2019-04-08 20:27:22 +02:00
Paul RASCLE
bf3fbe8dd4 debug for SMESH plugin padder 2019-04-08 20:23:25 +02:00
vsr
474a24023d Merge branch 'master' into V9_3_BR 2019-04-08 19:23:20 +03:00
eap
8a0ae20732 Fix CRASH after mesh.RemoveGroupWithContents( group_of_other_mesh ) 2019-04-08 13:40:11 +03:00
eap
734c82522e Fix typo by Kunda
https://www.salome-platform.org/forum/forum_9/253019360
2019-04-08 13:38:22 +03:00
eap
55d3f10182 IPAL54527: SIGSEGV after group removal
Fix SMESHDS_GroupOnFilter.cxx

+ partial fix for SALOME_TESTS/Grids/smesh/imps_09/K0 (SMESH_Slot.cxx)
2019-04-04 20:02:34 +03:00
vsr
58a7aa4445 Merge branch 'master' into V9_3_BR 2019-04-03 19:00:08 +03:00
eap
ee0db2f237 54524: [FORUM]: Export in STL work wrong' issue 2019-04-01 18:39:56 +03:00
rnv
a9af195d40 Fix for '54524: [FORUM]: Export in STL work wrong' issue. 2019-04-01 12:31:32 +03:00
vsr
e6d5ea2c9a Merge branch 'master' into V9_3_BR 2019-03-29 17:08:54 +03:00
eap
e9abd0b9b5 WIN: Dump Study fails
Reason: decrement iterator on an empty list
2019-03-29 16:46:47 +03:00
eap
5e337ede0d #16755 [CEA 16749] Merge nodes generates fatal error if selection is disabled 2019-03-28 18:22:44 +03:00
vsr
10f507591e Merge remote branch 'origin/master' into V9_3_BR 2019-03-28 17:46:41 +03:00
eap
d2203f18e1 #16748 EDF 19207 - no change priority with submesh 2019-03-28 16:18:54 +03:00
vsr
3421298e04 Issue !16751: [CEA16749] import MED 3.0 files in SMESH: exception 2019-03-28 14:54:46 +03:00
eap
90538c5190 54522: Compound Mesh: bad groups with meshToAppendTo provided
Fix SMESH_Gen_i::ConcatenateCommon()

+ #16469: MakeSlot - add split faces to groups of initial faces
2019-03-27 14:51:54 +03:00
eap
1fb3ff621a #16648 [CEA] RadialQuadrangle algorithm hypothesis change requires a Clear Mesh Data beforehand 2019-03-25 18:50:14 +03:00
eap
341e363240 IPAL54521: [TC-9.3.0]: Mesh information: Additinal Info tab: 'Compute' button for size doesn't work
Add SMESH_GroupOnFilter::IsUpToDate()
  Redefine SMESH_GroupOnFilter::IsMeshInfoCorrect()
2019-03-22 13:32:28 +03:00
eap
63d5619b14 #16609: EDF - mesh computation : strange behavior
Fix pattern mapping to a face with hole

+
1) Optimize ElementsOnShape::Classifier::Init()
2) Optimize SMDS_VtkCellIterator (replace vtkIdList by std::vector)
3) Prevent SIGSEGV upon Compute() after base mesh removal
2019-03-15 21:29:39 +03:00
rnv
dce0afd0a6 Fix for "54515: [FORUM] MED export issue" issue. 2019-03-13 11:17:57 +03:00
rnv
eb9d56943a Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh 2019-03-12 13:25:02 +03:00
rnv
40f690a797 [CEA 13302] Policy for c++ files ? using namespaces in c++ header files. boost_ptr / shared_ptr 2019-03-12 13:23:45 +03:00
eap
4f3cfd814e #16662 EDF - ExportMED : too long (bis)
Compute precise bounding box for BSpline faces

+ Fix compilation warnings
2019-03-11 18:35:25 +03:00
rnv
0b4f557c95 Run SALOME with UNICODE path 2019-03-11 13:05:42 +03:00
eap
98ec6be586 Fix MinDistance for node-group (SALOME_TESTS/Grids/smesh/imps_09/K0)
+ Minor doc improvement
2019-03-06 16:59:54 +03:00
eap
0bbec902ba #16648. + Update icons 2019-03-05 20:01:00 +03:00
eap
d2248790d7 #16648 [CEA] RadialQuadrangle algorithm hypothesis change requires a Clear Mesh Data beforehand
+
1) Optimize FreeEdges::IsFreeEdge()
2) Fix SMESH_MeshEditor::FindFreeBorder() for the case of multi-continuation
3) Improve Mesh.GetLength() to accept groups and list of IDs
2019-03-05 19:35:52 +03:00
rnv
fa49d0ce94 Close HDF data set. 2019-02-28 20:11:53 +03:00
rnv
bf6639b9f6 Fix compilation on Windows 2019-02-25 19:35:16 +03:00
eap
6ca4db2d7c Fix SALOME_TESTS/Grids/smesh/imps_09/K0
Fix Triangulator for the case of self-intersecting but valid polygon

+ some fixes for #16469

1) ElementsOnShape: fix too high octree of classifiers in case of large tolerance
2) SMESH_MeshEditor::SewFreeBorder() SIGSEGV on over-constrained elements
3) Project(): adjust radius to avoid checking too many elements
4) Protect SMESH_Gen_i::Compute() from CORBA error in case of a removed mesh
5) smeshBuilder.Mesh.FindCoincidentNodesOnPart() - fix for a case of ID list
2019-02-22 21:17:20 +03:00
mnt
b9b6785c00 Porting to OCCT 7.4 dev 2019-02-22 16:12:08 +03:00
vsr
29ca56ad9f Issue #16586: [CEA 16555] MG-SurfOpt log window title 2019-02-15 15:40:23 +03:00
eap
a30f2699f0 #16526 EDF 18698 - Problem when loading a dumped script
take into account an argument added to Concatenate()
2019-02-14 15:34:14 +03:00
vsr
6d32f944a0 Update copyrights 2019-02-14 15:33:05 +03:00
eap
27c94e830e #16578 EDF - Scibian - ViscousLayer / SIGSEGV 2019-02-14 14:22:06 +03:00
eap
1aaacad698 #16559 EDF - Changes to the Concatenate function: non regression test fails
fix group management
2019-02-13 16:26:17 +03:00
Paul RASCLE
4cd676f92c add a comment in dump for the disabling of publication in study 2019-02-12 15:09:03 +01:00
eap
0a237be4b9 #16459 EDF 14133 - Complete Merge Nodes / Merge Elements operations
fix crash

+ fix deletion of mesh objects (relates to #16478)
2019-02-12 15:05:43 +03:00