Salome HOME
modules/smesh.git
20 months agoMerge branch 'occ/shaper2smesh'
vsr [Fri, 21 Feb 2020 12:13:04 +0000 (15:13 +0300)]
Merge branch 'occ/shaper2smesh'

20 months agoFix regression of smesh/bugs_13/N3 (Body Fitting) and SIGSEGV at killSalome.py
eap [Fri, 21 Feb 2020 10:47:31 +0000 (13:47 +0300)]
Fix regression of smesh/bugs_13/N3 (Body Fitting) and SIGSEGV at killSalome.py

20 months agoFix regression of Extrusion 3D caused by OCCT changes
eap [Thu, 20 Feb 2020 16:28:41 +0000 (19:28 +0300)]
Fix regression of Extrusion 3D caused by OCCT changes

20 months agoEnable creation of group of edges lying on wires using Mesh.Group()
eap [Wed, 19 Feb 2020 14:15:03 +0000 (17:15 +0300)]
Enable creation of group of edges lying on wires using Mesh.Group()

20 months agoFix regression of #17828: Polyhedron Mesh volume calculation
eap [Tue, 18 Feb 2020 11:39:31 +0000 (14:39 +0300)]
Fix regression of #17828: Polyhedron Mesh volume calculation

20 months agoFix negative volume of valid but small polyhedron
eap [Mon, 17 Feb 2020 18:34:19 +0000 (21:34 +0300)]
Fix negative volume of valid but small polyhedron

https://salome-platform.org/forum/forum_10/547695356

20 months agoFix for '#18728[CEA][Windows] SMESH compilation broken __cdecl SMESH::GetMeshesUsingA...
rnv [Mon, 17 Feb 2020 16:17:08 +0000 (19:17 +0300)]
Fix for '#18728[CEA][Windows] SMESH compilation broken __cdecl SMESH::GetMeshesUsingAlgoOrHypothesis'

20 months agoFix compilation problem when vtkIdType is 64bits integer
Anthony Geay [Mon, 17 Feb 2020 12:02:16 +0000 (13:02 +0100)]
Fix compilation problem when vtkIdType is 64bits integer

20 months ago#17237: Body fitting on sub-mesh, #16523: Treatment of internal faces
eap [Wed, 5 Feb 2020 11:58:45 +0000 (14:58 +0300)]
#17237: Body fitting on sub-mesh, #16523: Treatment of internal faces

20 months ago#16522 [CEA 7599] Viscous layers hypothesis: extract layers as a group
eap [Fri, 7 Feb 2020 13:57:31 +0000 (16:57 +0300)]
#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

20 months ago#16522 [CEA 7599] Viscous layers hypothesis: extract layers as a group
eap [Fri, 25 Oct 2019 13:55:08 +0000 (16:55 +0300)]
#16522 [CEA 7599] Viscous layers hypothesis: extract layers as a group

20 months agoCorrect python dump for the SHAPERSTUDY part of the script occ/shaper2smesh
mpv [Fri, 14 Feb 2020 12:51:40 +0000 (15:51 +0300)]
Correct python dump for the SHAPERSTUDY part of the script

20 months agoFix Break Link called from TUI
eap [Fri, 14 Feb 2020 11:16:51 +0000 (14:16 +0300)]
Fix Break Link called from TUI

20 months agoSet warning icon for mesh without geometry
vsv [Fri, 14 Feb 2020 08:25:10 +0000 (11:25 +0300)]
Set warning icon for mesh without geometry

20 months agoFix for the break-link dump into python: also sub-mesh references must be updated.
mpv [Thu, 13 Feb 2020 16:09:53 +0000 (19:09 +0300)]
Fix for the break-link dump into python: also sub-mesh references must be updated.

20 months agoPrevent crash at too small comment ratio of geometric progression hypothesis
eap [Thu, 13 Feb 2020 10:37:31 +0000 (13:37 +0300)]
Prevent crash at too small comment ratio of geometric progression hypothesis

20 months agoDo not remove Mesh on geometry change according to request #3134
vsv [Wed, 12 Feb 2020 13:35:57 +0000 (16:35 +0300)]
Do not remove Mesh on geometry change according to request #3134

20 months agoMake the dead shape correctly referenced by SMESH mesh after loading the python dump...
mpv [Fri, 7 Feb 2020 12:42:25 +0000 (15:42 +0300)]
Make the dead shape correctly referenced by SMESH mesh after loading the python dump script

20 months ago#18665 [CEA 17339] Polyhedron volume calculation
eap [Thu, 6 Feb 2020 10:33:19 +0000 (13:33 +0300)]
#18665 [CEA 17339] Polyhedron volume calculation

20 months agoMake SetNodeOnEdge() tell a valid range if U is invalid
eap [Wed, 5 Feb 2020 15:38:06 +0000 (18:38 +0300)]
Make SetNodeOnEdge() tell a valid range if U is invalid

Inspired by https://salome-platform.org/forum/forum_10/103286584

20 months ago#17351 [CEA] Mesh with Polyhedron
eap [Thu, 24 Oct 2019 13:34:16 +0000 (16:34 +0300)]
#17351 [CEA] Mesh with Polyhedron

20 months ago#16479 [CEA 12950] ViscousLayers hypothesis and periodic condition
eap [Fri, 1 Nov 2019 14:54:32 +0000 (17:54 +0300)]
#16479 [CEA 12950] ViscousLayers hypothesis and periodic condition

20 months agoSupport of python dump in SHAPER STUDY
mpv [Thu, 30 Jan 2020 16:18:17 +0000 (19:18 +0300)]
Support of python dump in SHAPER STUDY

20 months agobos #18467 Remove deprecated environment variables
vsr [Wed, 29 Jan 2020 12:02:11 +0000 (15:02 +0300)]
bos #18467 Remove deprecated environment variables

20 months agobos #18641 [CEA 18636][Windows] SMESH_MeshersList environment variable separator
rnv [Fri, 24 Jan 2020 11:04:11 +0000 (14:04 +0300)]
bos #18641 [CEA 18636][Windows] SMESH_MeshersList environment variable separator

20 months agobos #18601 GMSH is missing from SMESH algorithms when 2D model is selected
vsr [Tue, 28 Jan 2020 15:04:33 +0000 (18:04 +0300)]
bos #18601 GMSH is missing from SMESH algorithms when 2D model is selected

20 months agoNew mesh icon if geometry changes
eap [Tue, 28 Jan 2020 14:14:39 +0000 (17:14 +0300)]
New mesh icon if geometry changes

20 months agobos #18659 [CEA][Windows] SMESH compilation issue
rnv [Tue, 28 Jan 2020 13:45:37 +0000 (16:45 +0300)]
bos #18659 [CEA][Windows] SMESH compilation issue

21 months agoFix exception at Break Link after shaper group modification
eap [Fri, 24 Jan 2020 18:36:13 +0000 (21:36 +0300)]
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

21 months ago#17845 [EDF] Modifications of Automatic meshing
eap [Wed, 6 Nov 2019 12:11:26 +0000 (15:11 +0300)]
#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

21 months agoFix dump for #17845 [EDF] Modifications of Automatic meshing
eap [Tue, 5 Nov 2019 12:02:59 +0000 (15:02 +0300)]
Fix dump for #17845 [EDF] Modifications of Automatic meshing

21 months ago#17845 [EDF] Modifications of Automatic meshing
eap [Fri, 1 Nov 2019 18:30:35 +0000 (21:30 +0300)]
#17845 [EDF] Modifications of Automatic meshing

 Fixes for remarks

21 months ago#17845 [EDF] Modifications of Automatic meshing
eap [Tue, 22 Oct 2019 14:24:35 +0000 (17:24 +0300)]
#17845 [EDF] Modifications of Automatic meshing

21 months agoadjust for shaperBuilder
eap [Thu, 23 Jan 2020 18:56:19 +0000 (21:56 +0300)]
adjust for shaperBuilder

21 months agoUpdate sub-mesh actors after Compute
eap [Tue, 21 Jan 2020 14:42:01 +0000 (17:42 +0300)]
Update sub-mesh actors after Compute

21 months agoFix sub-mesh update upon shaper geometry change
eap [Tue, 21 Jan 2020 14:41:22 +0000 (17:41 +0300)]
Fix sub-mesh update upon shaper geometry change

21 months agofix update of sub-meshes on group in checkGeomModif()
eap [Mon, 20 Jan 2020 15:57:12 +0000 (18:57 +0300)]
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

21 months agoin UpdateActorsAfterUpdateStudy() do not update actors
eap [Mon, 20 Jan 2020 15:51:55 +0000 (18:51 +0300)]
in UpdateActorsAfterUpdateStudy() do not update actors

 else an actor can switch to "node display mode"

21 months agoFix sub-mesh creation by selection of mesh element + remove dead actors after BreakLink
eap [Fri, 17 Jan 2020 17:43:01 +0000 (20:43 +0300)]
Fix sub-mesh creation by selection of mesh element + remove dead actors after BreakLink

21 months agoindenting
eap [Fri, 17 Jan 2020 10:30:20 +0000 (13:30 +0300)]
indenting

21 months agoUpdate mesh according to geometry modif. Care of actors of removed objects
eap [Thu, 16 Jan 2020 13:41:56 +0000 (16:41 +0300)]
Update mesh according to geometry modif. Care of actors of removed objects

21 months ago#18611 EDF 20669 - Quality of quadrangles
eap [Thu, 16 Jan 2020 10:52:52 +0000 (13:52 +0300)]
#18611 EDF 20669 - Quality of quadrangles

21 months agoBUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY
eap [Wed, 15 Jan 2020 14:01:31 +0000 (17:01 +0300)]
BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY

another place of  SMESH::GetGEOMGen() usage

21 months agoFix SMESH_Mesh_i::ReplaceShape()
eap [Wed, 15 Jan 2020 13:13:38 +0000 (16:13 +0300)]
Fix SMESH_Mesh_i::ReplaceShape()

21 months agoBUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY
eap [Wed, 15 Jan 2020 13:12:51 +0000 (16:12 +0300)]
BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY

1) GetGEOMGen() -> GetGEOMGen( GEOM::GEOM_Object_ptr go )
2) some formatting (whitespace changes)

21 months ago#17927: EDF 20035 - perfs of mesh creation
eap [Fri, 10 Jan 2020 11:33:42 +0000 (14:33 +0300)]
#17927: EDF 20035 - perfs of mesh creation

21 months agoImplementation of Groups support by the SHAPER-STUDY module
mpv [Mon, 30 Dec 2019 14:13:14 +0000 (17:13 +0300)]
Implementation of Groups support by the SHAPER-STUDY module

21 months agoImprove ReplaceShape interface
vsv [Fri, 27 Dec 2019 15:26:04 +0000 (18:26 +0300)]
Improve ReplaceShape interface

21 months agoReplace shape in Mesh object
vsv [Fri, 27 Dec 2019 13:22:48 +0000 (16:22 +0300)]
Replace shape in Mesh object

22 months agoUpdate views on the module activation
vsv [Thu, 26 Dec 2019 13:55:21 +0000 (16:55 +0300)]
Update views on the module activation

22 months agoUpdate object browser
vsv [Thu, 26 Dec 2019 11:55:44 +0000 (14:55 +0300)]
Update object browser

22 months agoTranslation on French
vsv [Mon, 23 Dec 2019 15:52:42 +0000 (18:52 +0300)]
Translation on French

22 months agoTransfer BreakLink from Object to Gen
vsv [Mon, 23 Dec 2019 11:57:39 +0000 (14:57 +0300)]
Transfer BreakLink from Object to Gen

22 months agoCall BreakLinks method
vsv [Fri, 20 Dec 2019 13:13:06 +0000 (16:13 +0300)]
Call BreakLinks method

22 months agoDefine canBreakLink parameter
vsv [Fri, 20 Dec 2019 12:53:23 +0000 (15:53 +0300)]
Define canBreakLink parameter

22 months agoCreate "Break link" pop-up menu item
vsv [Fri, 20 Dec 2019 10:04:00 +0000 (13:04 +0300)]
Create "Break link" pop-up menu item

22 months agoImplementation of the automatic breaking the link if the shape is modified or deleted
mpv [Thu, 19 Dec 2019 15:24:56 +0000 (18:24 +0300)]
Implementation of the automatic breaking the link if the shape is modified or deleted

22 months agoLOT7: fix compilation at med_int==int64 eap/LOT7
eap [Thu, 19 Dec 2019 13:34:19 +0000 (16:34 +0300)]
LOT7: fix compilation at med_int==int64

22 months agoFix compilation errors (OCCT-7.4.0)
rnv [Tue, 17 Dec 2019 19:19:00 +0000 (22:19 +0300)]
Fix compilation errors (OCCT-7.4.0)

22 months agoFixes for SMESH working with SHAPERSTUDY
mpv [Tue, 17 Dec 2019 11:37:02 +0000 (14:37 +0300)]
Fixes for SMESH working with SHAPERSTUDY

22 months agoModification of SMESH_Gen interface
vsv [Mon, 9 Dec 2019 13:09:31 +0000 (16:09 +0300)]
Modification of SMESH_Gen interface

22 months agoMerge branch 'V9_4_BR'
vsr [Fri, 6 Dec 2019 13:56:34 +0000 (16:56 +0300)]
Merge branch 'V9_4_BR'

23 months agoFix for issue '[EDF]: Broken links in the Developer's user guide in GEOM and SMESH' V9_4_BR occ/fixes_for_940 V9_4_0 V9_4_0rc2 V9_4_0rc3
rnv [Wed, 13 Nov 2019 11:59:42 +0000 (14:59 +0300)]
Fix for issue '[EDF]: Broken links in the Developer's user guide in GEOM and SMESH'

23 months agoFix for issue '[EDF]: Broken links in the Developer's user guide in GEOM and SMESH'
rnv [Wed, 13 Nov 2019 11:59:42 +0000 (14:59 +0300)]
Fix for issue '[EDF]: Broken links in the Developer's user guide in GEOM and SMESH'

23 months ago#18097 [CEA] Mesh group not updated in the view after a compute with other hypotheses
eap [Tue, 12 Nov 2019 16:07:47 +0000 (19:07 +0300)]
#18097 [CEA] Mesh group not updated in the view after a compute with other hypotheses

23 months ago#18097 [CEA] Mesh group not updated in the view after a compute with other hypotheses
eap [Tue, 12 Nov 2019 16:04:18 +0000 (19:04 +0300)]
#18097 [CEA] Mesh group not updated in the view after a compute with other hypotheses

23 months ago#17956 [CEA 17925] COMPERR_OCC_EXCEPTION
eap [Fri, 8 Nov 2019 13:58:10 +0000 (16:58 +0300)]
#17956 [CEA 17925] COMPERR_OCC_EXCEPTION

23 months ago#17956 [CEA 17925] COMPERR_OCC_EXCEPTION
eap [Fri, 8 Nov 2019 13:55:05 +0000 (16:55 +0300)]
#17956 [CEA 17925] COMPERR_OCC_EXCEPTION

23 months ago#17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9...
vsr [Fri, 8 Nov 2019 13:33:07 +0000 (16:33 +0300)]
#17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9.4.0 + max_memory

23 months ago#17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9...
vsr [Fri, 8 Nov 2019 13:33:07 +0000 (16:33 +0300)]
#17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9.4.0 + max_memory

23 months agoIncrement version: 9.4.0 V9_4_0rc1
rnv [Wed, 6 Nov 2019 06:53:23 +0000 (09:53 +0300)]
Increment version: 9.4.0

23 months agoBUG: mesh.Append( nodeGroup ) adds nodes twice
eap [Tue, 5 Nov 2019 19:00:23 +0000 (22:00 +0300)]
BUG: mesh.Append( nodeGroup ) adds nodes twice

23 months ago#17871 [CEA 17868] Import 1D 2D threshold value (test_import1d2d_mesh_top.py)
eap [Wed, 30 Oct 2019 14:24:46 +0000 (17:24 +0300)]
#17871 [CEA 17868] Import 1D 2D threshold value (test_import1d2d_mesh_top.py)

   Workaround for OCCT bug #31112: replace BRepClass_FaceClassifier by BRepTopAdaptor_FClass2d

23 months ago#17799 EDF 20211 - Problem with exporting to GEOM
eap [Wed, 30 Oct 2019 11:53:36 +0000 (14:53 +0300)]
#17799 EDF 20211 - Problem with exporting to GEOM

  Find existing sub-shapes by name and by ids

2 years agoFix a hang-up of UNV import
eap [Thu, 24 Oct 2019 13:25:50 +0000 (16:25 +0300)]
Fix a hang-up of UNV import

   Hang-up at reading an empty data-set at the file end:
    -1
  2477
    -1

2 years ago#17871 [CEA 17868] Import 1D 2D threshold value
eap [Fri, 18 Oct 2019 18:21:27 +0000 (21:21 +0300)]
#17871 [CEA 17868] Import 1D 2D threshold value

2 years ago#17864 [CEA 17856] Issue with Import 1D-2D V9_4_0b1
eap [Wed, 16 Oct 2019 14:39:43 +0000 (17:39 +0300)]
#17864 [CEA 17856] Issue with Import 1D-2D

2 years ago#17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion
eap [Wed, 16 Oct 2019 12:24:43 +0000 (15:24 +0300)]
#17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion

  Fix volume calculation of invalid polyhedra

2 years ago#17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion
eap [Tue, 15 Oct 2019 18:25:46 +0000 (21:25 +0300)]
#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

2 years ago#17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion
eap [Tue, 15 Oct 2019 13:04:58 +0000 (16:04 +0300)]
#17828 [CEA 17805] Polyhedron Mesh volume calculation and volume orientation criterion

   Implement ChangePolyhedronNodes()

+ Enable  Orientation of Faces in wireframe mode

2 years agoFix smesh/imps_09/K0
eap [Fri, 11 Oct 2019 16:13:54 +0000 (19:13 +0300)]
Fix smesh/imps_09/K0

  Fix for zero-width slot

2 years agoRoll-back to med-4.0.0 V9_4_0a2
rnv [Tue, 8 Oct 2019 08:46:24 +0000 (11:46 +0300)]
Roll-back to med-4.0.0

2 years agofix MED version supported, comments to explain what must be updated when MED version...
Paul RASCLE [Thu, 3 Oct 2019 15:06:11 +0000 (17:06 +0200)]
fix MED version supported, comments to explain what must be updated when MED version changes

2 years ago#17783 [CEA] Dumping Mesh information
eap [Wed, 2 Oct 2019 14:58:53 +0000 (17:58 +0300)]
#17783 [CEA] Dumping Mesh information

2 years ago#17775 [CEA] SALOME 9.4.0a1: export a mesh with fields using Python API- SMESH::Expor...
eap [Wed, 2 Oct 2019 14:33:03 +0000 (17:33 +0300)]
#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()

2 years agoSupport 4.0 and 4.1
Anthony Geay [Tue, 1 Oct 2019 13:53:49 +0000 (15:53 +0200)]
Support 4.0 and 4.1

2 years agoPorting to MED4.1
Anthony Geay [Mon, 30 Sep 2019 08:50:32 +0000 (10:50 +0200)]
Porting to MED4.1

2 years ago#17695 - SMESH build/ TopoDS_Shape compilation issue
vsr [Tue, 17 Sep 2019 14:30:08 +0000 (17:30 +0300)]
#17695 - SMESH build/ TopoDS_Shape compilation issue

2 years ago#17636 [CEA 17369] Extrusion by normal: along average normal option issue V9_4_0a1
eap [Fri, 6 Sep 2019 16:02:21 +0000 (19:02 +0300)]
#17636 [CEA 17369] Extrusion by normal: along average normal option issue

2 years agoFix Edit Mesh regression
eap [Thu, 5 Sep 2019 17:45:46 +0000 (20:45 +0300)]
Fix Edit Mesh regression

   Pb: no 2D algo selected when editing Mesh_3 of SALOME_TESTS/Grids/smesh/imps_09/K7

2 years agoIPAL54157: Empty bounding box of a non-empty mesh
eap [Wed, 4 Sep 2019 17:50:22 +0000 (20:50 +0300)]
IPAL54157: Empty bounding box of a non-empty mesh

2 years agoPrecise doc on sub-mesh priority
eap [Tue, 3 Sep 2019 15:26:35 +0000 (18:26 +0300)]
Precise doc on sub-mesh priority

2 years ago#17336 [CEA 17333] Mesh offset generates a segmentation violation
eap [Tue, 3 Sep 2019 12:47:17 +0000 (15:47 +0300)]
#17336 [CEA 17333] Mesh offset generates a segmentation violation

2 years ago#17328: EDF 20043 - Submeshes
eap [Tue, 3 Sep 2019 11:29:31 +0000 (14:29 +0300)]
#17328: EDF 20043 - Submeshes

2 years agoPorting to latest TBB on Windows.
rnv [Fri, 30 Aug 2019 15:48:46 +0000 (18:48 +0300)]
Porting to latest TBB on Windows.

2 years agoImprove documentation generation.
rnv [Mon, 26 Aug 2019 16:18:21 +0000 (19:18 +0300)]
Improve documentation generation.

2 years agoIPAL54452: Compact mesh after merge operations
eap [Thu, 29 Aug 2019 13:19:25 +0000 (16:19 +0300)]
IPAL54452: Compact mesh after merge operations

  Don't use elem IDs at UNV and DAT export to avoid gaps in numeration

2 years agoTypo fixes by Kunda
eap [Tue, 27 Aug 2019 11:48:19 +0000 (14:48 +0300)]
Typo fixes by Kunda

https://salome-platform.org/forum/forum_9/495080934

2 years ago#17319: EDF 20003 - suppress Meshes in TUI
eap [Tue, 27 Aug 2019 11:13:23 +0000 (14:13 +0300)]
#17319: EDF 20003 - suppress Meshes in TUI

2 years agoIPAL54614: Getting nodes of polyhedron works wrong
eap [Mon, 26 Aug 2019 10:53:48 +0000 (13:53 +0300)]
IPAL54614: Getting nodes of polyhedron works wrong

Source https://salome-platform.org/forum/forum_10/633516704