Commit Graph

2382 Commits

Author SHA1 Message Date
eap
19720c1ef8 IPAL54678: TC-9.5.0: Sub-mesh priority: not all sub-meshes are displayed in the dialog
+ Small improvement of a mesh context menu:
  * Add "Clear + Compute" for a non-empty mesh
  * Add "Show Compute Errors" for a failed meshing
  * Remove "Compute" for a fully computed mesh
  * Add an icon for "Export" item
2020-05-26 19:20:30 +03:00
eap
bba8dbd724 IPAL54678: TC-9.5.0: Sub-mesh priority: not all sub-meshes are displayed in the dialog 2020-05-26 17:59:55 +03:00
eap
2629c8bf51 IPAL54676: TC-9.5.0: Problem with "Radial Quadrangle 1D-2D" algo and "Local Lenght" hypo 2020-05-20 20:10:27 +03:00
eap
1cc4f6c5a9 IPAL54676: TC-9.5.0: Problem with "Radial Quadrangle 1D-2D" algo and "Local Lenght" hypo 2020-05-20 20:04:42 +03:00
eap
928a9967c9 IPAL0054674: Wrong mesh icon after mesh modification
+ minor doc imp
2020-05-18 21:31:22 +03:00
eap
7f8c5c9aa7 #19129 [CEA] Error export med version
fix error message + untabify
2020-05-18 17:45:57 +03:00
eap
4b5a9b85ae Unify function headers 2020-05-14 17:26:57 +03:00
eap
54d90bf525 SHAPERSTUDY: Break Link when geometry not changed 2020-05-14 16:40:46 +03:00
jfa
ab46000ce3 bos #18341: HOME environment variable 2020-05-13 17:11:19 +03:00
vsr
0a37d49f45 bos #18963 [CEA 18962] Warnings in module compilations 2020-05-11 11:14:28 +03:00
eap
4d658cb770 #19078 [CEA] Mesh Group - Group on filter
fix places where component name "GEOM" is used
2020-05-08 19:32:46 +03:00
rnv
20d7486abe Fix the problem with saving a file with several meshes under Windows. 2020-05-07 17:14:56 +03:00
vsr
eb7803d480 bos #19055 Fix broken linkage on Windows (add missing GEOMUtils library) 2020-04-30 09:40:13 +03:00
eap
54580d9a2a #19026 EDF 21355 - Problem with Belog to GEOM 2020-04-29 19:54:39 +03:00
vsr
0fc0831670 Copyright update 2020 2020-04-15 18:19:44 +03:00
eap
7406f0680a SHAPERSTUDY: fix case of a group containing the main shape 2020-04-11 01:22:43 +03:00
eap
52a5308f7c fix SHAPERSTUDY: when two meshes are on the same geometry 2020-04-08 19:01:46 +03:00
eap
f380991026 fix SHAPERSTUDY bugs 2020-04-08 11:19:56 +03:00
Anthony Geay
a21c246418 CEA18933 : As before, when non managed version requested, ignore and take the latest 2020-04-06 21:53:23 +02:00
Anthony Geay
29fa6f3696 simplification involved by medfile 4.1 2020-04-03 14:15:07 +02:00
mpv
bcb3b6e5cd Fix for the issue #3200 : Can't select SHAPERSTUDY groups in Netgen local size 2020-04-03 10:59:04 +03:00
eap
ed5c94eda8 Pb: sub-mesh becomes invalid upon adding fillet to a sketch 2020-04-02 13:01:51 +03:00
eap
e7ac767896 IPAL0054629: Compute sub-mesh fails in TUI but works in GUI 2020-03-31 14:32:27 +03:00
eap
cfa95f0477 IPAL0054631: NETGEN-1D2D3D fails on two adjacent boxes with Viscous Layers
Bug reported in https://www.salome-platform.org/forum/forum_14/64297494#556145973
2020-03-27 22:43:20 +03:00
eap
d487f882d9 IPAL54633: Bad viscous layers 2020-03-20 18:57:40 +03:00
eap
1f0895c06c IPAL54630: Wire discretization error 2020-03-19 17:16:21 +03:00
eap
896ab9bad6 small optimization 2020-03-18 19:02:52 +03:00
eap
24a8566eb1 #17336 [CEA 17333] Mesh offset generates a segmentation violation 2020-03-18 15:36:19 +03:00
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
vsr
50dabfbfdf #18861 [CEA] Unstable Netgen 1D-2D-3D algorithm: Fix crash caused by improper usage of SObject::GetFather() 2020-03-16 14:26:51 +03:00
vsr
265fc676f5 Additional minor correction to previous commit 2020-03-13 18:07:13 +03:00
vsr
d792abb5a2 bos #18858 Use sphinx_rtd_theme as theme for SALOME documentation built with Sphinx 2020-03-13 14:40:37 +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
rnv
61652a5871 Porting to med-4.1.0. 2020-03-11 14:39:37 +03:00
Pascal Obry
c9c3fe8924 Porting to ParaView 5.8 2020-03-11 14:37:59 +03:00
eap
54db132ba1 Fix SIGSEGV on imps_09/K0
Not sure about "continue;"
2020-03-10 17:11:19 +03:00
Christian Van Wambeke
8fa9e8c05f fix #7051 libmesh5.c/h DriverGMF_Read.cxx/hxx 2020-03-04 18:54:52 +03:00
eap
0f4abfb68b Fix regression of smesh/3D_mesh_Extrusion_00/A3 2020-03-04 18:08:41 +03:00
eap
d46c8ad014 Fix regression of cartesian_algo.py example 2020-03-03 14:57:40 +03:00
eap
b3f2b68fc2 #18782 EDF 20946 - Free nodes with biquadratic 2020-03-02 21:07:59 +03:00
eap
155c6427af #17336 [CEA 17333] Mesh offset generates a segmentation violation 2020-02-28 16:06:43 +03:00
eap
d7e7b8a466 Fix regression of 3D_mesh_GHS3D_01/B1 2020-02-28 16:05:59 +03:00
eap
e6f1c5ae12 Fix issue reported in https://www.salome-platform.org/forum/forum_10/180510604 2020-02-26 12:02:38 +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
eap
dfcc0eb72b Fix Body Fitting regression on smesh/imps_11/M3 2020-02-21 20:30:54 +03:00
vsr
6472eab132 Merge branch 'occ/shaper2smesh' 2020-02-21 17:00:22 +03:00
eap
13b3c4bbb9 Fix regression of smesh/bugs_13/N3 (Body Fitting) and SIGSEGV at killSalome.py 2020-02-21 13:47:31 +03:00
eap
90741df834 Fix regression of Extrusion 3D caused by OCCT changes 2020-02-20 19:28:41 +03:00
eap
78e005bc86 Enable creation of group of edges lying on wires using Mesh.Group() 2020-02-19 17:15:03 +03:00
eap
3e0873e7ff Fix regression of #17828: Polyhedron Mesh volume calculation 2020-02-18 14:39:31 +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
rnv
0fe03353fe Fix for '#18728[CEA][Windows] SMESH compilation broken __cdecl SMESH::GetMeshesUsingAlgoOrHypothesis' 2020-02-17 19:17:08 +03:00
Anthony Geay
847109ca10 Fix compilation problem when vtkIdType is 64bits integer 2020-02-17 13:02:16 +01:00
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