Salome HOME
modules/smesh.git
10 years agoenable ComputeParameters() to find a better solution in hard cases
eap [Tue, 3 Sep 2013 10:33:38 +0000 (10:33 +0000)]
enable ComputeParameters() to find a better solution in hard cases
(concave faces)

+  void refineParametersOnFace( const gp_Pnt& thePoint, gp_XYZ& theParams, int theFaceID );

10 years agoBug: preview works correctly only once, other times preview shows the same
eap [Tue, 3 Sep 2013 09:42:04 +0000 (09:42 +0000)]
Bug: preview works correctly only once, other times preview shows the same
as at the 1st time.

Ensure clearing of tmp mesh

10 years agoIMP: SMESH / Yams plug-in: Some more updates for porting to MGSurfOpt 1.1
rnc [Mon, 2 Sep 2013 11:46:39 +0000 (11:46 +0000)]
IMP: SMESH / Yams plug-in: Some more updates for porting to MGSurfOpt 1.1

10 years agoMore examples of filter usage
eap [Mon, 2 Sep 2013 10:47:47 +0000 (10:47 +0000)]
More examples of filter usage

10 years agofix copy/paste error
eap [Mon, 2 Sep 2013 08:21:16 +0000 (08:21 +0000)]
fix copy/paste error

10 years agoIMP: SMESH/Yams plug-in: Update to use Meshgems-SurfOpt 1.1 (new name of Yams)
rnc [Fri, 30 Aug 2013 15:35:06 +0000 (15:35 +0000)]
IMP: SMESH/Yams plug-in: Update to use Meshgems-SurfOpt 1.1 (new name of Yams)

10 years agoRemoving --execute option is unit tests
aguerre [Thu, 29 Aug 2013 09:28:56 +0000 (09:28 +0000)]
Removing --execute option is unit tests

10 years agofix leaks of SALOMEDS_UseCaseBuilder_i
eap [Wed, 28 Aug 2013 12:10:59 +0000 (12:10 +0000)]
fix leaks of SALOMEDS_UseCaseBuilder_i

10 years agofix SIGSEGV in Save() on an empty mesh, after the previous optimization
eap [Wed, 28 Aug 2013 11:58:22 +0000 (11:58 +0000)]
fix SIGSEGV in Save() on an empty mesh, after the previous optimization

10 years agosmall imp
eap [Wed, 28 Aug 2013 11:56:36 +0000 (11:56 +0000)]
small imp

10 years agoFix crash in salome_test.py
vsr [Wed, 28 Aug 2013 11:00:25 +0000 (11:00 +0000)]
Fix crash in salome_test.py

10 years agoAdding the public member IsSelectionActivated() to access the selection status of...
bourcier [Wed, 28 Aug 2013 09:38:03 +0000 (09:38 +0000)]
Adding the public member IsSelectionActivated() to access the selection status of the widget from dialog boxes implementation.

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 16:27:29 +0000 (16:27 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

make smoothAnalyticEdge() work for a circle EDGE in 3D case

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 16:26:29 +0000 (16:26 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Do not report a compute error if a node on VERTEX is not shared by any
segment because segments on seam EDGE are assigned later

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 16:23:57 +0000 (16:23 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Ignore degenerated EDGEs when counting computed sub-meshes

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 16:22:51 +0000 (16:22 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Do not report a compute error if a degenerated EDGE is not computed

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 13:38:12 +0000 (13:38 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Use SMESH_OctreeNode to sew imported elements to pre-existing ones

10 years agotypo
eap [Fri, 23 Aug 2013 13:36:41 +0000 (13:36 +0000)]
typo

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 13:36:28 +0000 (13:36 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Re-fix "Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6"
previously fixed by revision 1.23.2.9.
Use TElemOfElemListMap with new comparator TIDTypeCompare instead of
TElemOfElemListMap declared in SMESH_TypeDefs.hxx which uses
TIDCompare (whose behavior has been just restored)

-  TElemOfElemListMap aHystory;
+  ::SMESH_MeshEditor::TTElemOfElemListMap aHystory;

10 years agoIn Save(), no need to push nodes and elements in the map to sort them
eap [Fri, 23 Aug 2013 13:35:56 +0000 (13:35 +0000)]
In Save(), no need to push nodes and elements in the map to sort them
by ID after SMDS redesign

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 13:15:52 +0000 (13:15 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Re-fix "Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6"
previously fixed by revision 1.23.2.9.
Use TElemOfElemListMap with new comparator TIDTypeCompare instead of
TElemOfElemListMap declared in SMESH_TypeDefs.hxx which uses
TIDCompare (whose behavior has been just restored)

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 13:11:32 +0000 (13:11 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Fix the problem of element-submesh relation restoring at study loading
in case if some faces have ids lower than segments.

Now TIDCompare does not compare types, a new comparator created for this:
+struct TIDTypeCompare {

10 years agoSALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
eap [Fri, 23 Aug 2013 07:44:07 +0000 (07:44 +0000)]
SALOME Forum bug: salome-platform.org/forum/forum_10/967838025

Don't use BRep_Tool::Degenerated() which sometimes gives a wrong answer,
use SMESH_Algo::isDegenerated() instead

10 years agocompact as soon as all elements removed
eap [Thu, 22 Aug 2013 15:37:59 +0000 (15:37 +0000)]
compact as soon as all elements removed

10 years ago0022301: [CEA] Problems with study dump in SMESH (PPGP large study)
eap [Thu, 22 Aug 2013 12:06:57 +0000 (12:06 +0000)]
0022301: [CEA] Problems with study dump in SMESH (PPGP large study)

1) fix CheckObjectPresence() to check presence of not only published
objects but also of e.g. mesh editors etc.
2) Avoid adding empty strings cleared by CheckObjectPresence()
3) Optimize performance of search of myKeepAgrCmdsIDs in commands by
 - using _pyStringFamily
 - preventing addition of Groups to myKeepAgrCmdsIDs

10 years agoMerge from BR_size_maps
rnc [Thu, 22 Aug 2013 11:45:25 +0000 (11:45 +0000)]
Merge from BR_size_maps

10 years ago0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
vsr [Tue, 20 Aug 2013 14:25:57 +0000 (14:25 +0000)]
0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
- improve test script

10 years ago0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
vsr [Tue, 20 Aug 2013 13:48:54 +0000 (13:48 +0000)]
0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
- additional improvement for Python API to simplify usage of measure functions

10 years agoBUG: SMESH/doc: the formula used to calculate taper was wrong in the doc
rnc [Tue, 20 Aug 2013 11:41:15 +0000 (11:41 +0000)]
BUG: SMESH/doc: the formula used to calculate taper was wrong in the doc

10 years agoenable Tolerance for FT_EqualNodes
eap [Mon, 19 Aug 2013 11:52:44 +0000 (11:52 +0000)]
enable Tolerance for FT_EqualNodes

10 years agoFix regression of SMESH_TEST/Grids/smesh/imps6/G0
eap [Thu, 15 Aug 2013 12:10:20 +0000 (12:10 +0000)]
Fix regression of SMESH_TEST/Grids/smesh/imps6/G0

Clear _ImportData::_n2n if it's no more useful

10 years agoFix regression of SMESH_TEST/Grids/smesh/imps6/G0
eap [Thu, 15 Aug 2013 12:08:51 +0000 (12:08 +0000)]
Fix regression of SMESH_TEST/Grids/smesh/imps6/G0

Reset node data when it is removed
+      ((SMDS_MeshNode*) n)->SMDS_MeshElement::init( -1, -1, -1 ); // avoid reuse

10 years agoIn ExportToMEDX() use SMESH_TRY to normally transfer exceptions from the driver
eap [Wed, 14 Aug 2013 12:35:03 +0000 (12:35 +0000)]
In ExportToMEDX() use SMESH_TRY to normally transfer exceptions from the driver

10 years agoIn ExportMED() use SMESH_TRY to normally transfer exceptions from the driver
eap [Wed, 14 Aug 2013 12:34:41 +0000 (12:34 +0000)]
In ExportMED() use SMESH_TRY to normally transfer exceptions from the driver

10 years agoFix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
eap [Tue, 13 Aug 2013 16:40:46 +0000 (16:40 +0000)]
Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3

Avoid having straight continuous sides of a quadrilateral

10 years agoFix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
eap [Tue, 13 Aug 2013 16:35:31 +0000 (16:35 +0000)]
Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3

+  static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );

10 years agoMerge from V7_2_BR 09/08/2013
vsr [Mon, 12 Aug 2013 10:50:36 +0000 (10:50 +0000)]
Merge from V7_2_BR 09/08/2013

10 years agoSuppress SIGSEGV at automatic group creation
eap [Thu, 8 Aug 2013 16:45:49 +0000 (16:45 +0000)]
Suppress SIGSEGV at automatic group creation

10 years ago0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
vsr [Thu, 8 Aug 2013 15:17:00 +0000 (15:17 +0000)]
0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI

10 years agoFix regression of GetNumberOfNodes( true )
eap [Thu, 8 Aug 2013 13:56:33 +0000 (13:56 +0000)]
Fix regression of GetNumberOfNodes( true )

10 years agoOptimize compactList()
eap [Thu, 8 Aug 2013 12:39:06 +0000 (12:39 +0000)]
Optimize compactList()

10 years agodecorations
eap [Thu, 8 Aug 2013 12:38:43 +0000 (12:38 +0000)]
decorations

10 years agoOptimize cleanSubMesh( SMESH_subMesh * subMesh ) a bit
eap [Thu, 8 Aug 2013 12:38:25 +0000 (12:38 +0000)]
Optimize cleanSubMesh( SMESH_subMesh * subMesh ) a bit

10 years ago0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion
eap [Thu, 8 Aug 2013 12:36:02 +0000 (12:36 +0000)]
0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion

Fix ConvertToQuadratic(): do not convert twice quadratic volumes

10 years ago0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion
eap [Thu, 8 Aug 2013 12:34:43 +0000 (12:34 +0000)]
0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion

Fix IsFreeFace() for a polyhedron

10 years agoFix for
eap [Thu, 8 Aug 2013 11:05:20 +0000 (11:05 +0000)]
Fix for
==3768== Conditional jump or move depends on uninitialised value(s)
==3768==    at 0x4C22ED8: strlen (mc_replace_strmem.c:275)
==3768==    by 0x1081E60B: std::string::operator=(char const*) (in /usr/lib64/libstdc++.so.6.0.12)
==3768==    by 0x40757F29: UNV164::Read(std::basic_ifstream<char, std::char_traits<char> >&, UNV164::TRecord&) (UNV164_Structure.cxx:49)

10 years agoFix compilation problem
vsr [Thu, 8 Aug 2013 08:29:15 +0000 (08:29 +0000)]
Fix compilation problem

10 years agoRegression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
eap [Wed, 7 Aug 2013 14:06:39 +0000 (14:06 +0000)]
Regression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
Manage temporary SMESH_IDSource created by MeshEditor::MakeIDSource()

10 years agosort includes
eap [Wed, 7 Aug 2013 14:06:20 +0000 (14:06 +0000)]
sort includes

10 years agoRegression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
eap [Wed, 7 Aug 2013 14:05:44 +0000 (14:05 +0000)]
Regression of SMESH_SRC/doc/salome/examples/measurements_ex01.py

Do not store temporary SMESH_IDSource created by MakeIDSource()

10 years agoRegression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
eap [Wed, 7 Aug 2013 14:04:29 +0000 (14:04 +0000)]
Regression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
Manage temporary SMESH_IDSource created by MeshEditor::MakeIDSource()

-  interface SMESH_IDSource
+  interface SMESH_IDSource : SALOME::GenericObj

10 years agountabify
eap [Wed, 7 Aug 2013 11:11:09 +0000 (11:11 +0000)]
untabify

10 years agosimplify createHypothesis()
eap [Wed, 7 Aug 2013 11:10:59 +0000 (11:10 +0000)]
simplify createHypothesis()

10 years ago0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters
eap [Wed, 7 Aug 2013 11:10:47 +0000 (11:10 +0000)]
0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters

10 years ago0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters
eap [Wed, 7 Aug 2013 09:35:44 +0000 (09:35 +0000)]
0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters

+               idl-module="StdMeshers"

10 years ago021980: [CEA 708] Import/export GMF does work only if the file extension is ".mesh"
eap [Tue, 6 Aug 2013 15:16:46 +0000 (15:16 +0000)]
021980: [CEA 708] Import/export GMF does work only if the file extension is ".mesh"

Doc about allowed file extension.

10 years agoFrench translation for imp [CEA 750] / MANTIS 22169
fahed [Tue, 6 Aug 2013 09:26:40 +0000 (09:26 +0000)]
French translation for imp [CEA 750] / MANTIS 22169

10 years agoFix crash (found by make installcheck) - temporary solution
vsr [Mon, 5 Aug 2013 16:47:42 +0000 (16:47 +0000)]
Fix crash (found by make installcheck) - temporary solution

10 years agoFix crash (found by make installcheck)
vsr [Mon, 5 Aug 2013 15:45:22 +0000 (15:45 +0000)]
Fix crash (found by make installcheck)

10 years agoprogress bar: fix for viscous layers
eap [Mon, 5 Aug 2013 12:30:05 +0000 (12:30 +0000)]
progress bar: fix for viscous layers

10 years agoPrevent SIGSEGV
eap [Mon, 5 Aug 2013 10:58:04 +0000 (10:58 +0000)]
Prevent SIGSEGV
             if ( !anActor ) anActor = SMESH::CreateActor( aMeshSObj->GetStudy(), aMeshSObj->GetID().c_str(), true );
+            if ( anActor ) // actor is not created for an empty mesh
+            {
+              anActor->SetEntityMode( entities );

10 years ago0022169: [CEA 750] Chose before visualization mesh element type to display
vsr [Mon, 5 Aug 2013 08:35:32 +0000 (08:35 +0000)]
0022169: [CEA 750] Chose before visualization mesh element type to display
Improve automatic limit exceed warning message

10 years agoPR : merge from V7_2_1p1
prascle [Sat, 3 Aug 2013 11:11:12 +0000 (11:11 +0000)]
PR : merge from V7_2_1p1
memory leaks, bug in import 1D for cracks
M src/SMDS/SMDS_UnstructuredGrid.cxx
M src/SMESH/SMESH_MeshEditor.cxx
M src/SMESH/SMESH_MesherHelper.cxx
M src/SMESHUtils/SMESH_MeshAlgos.cxx
M src/SMESHUtils/SMESH_MeshAlgos.hxx
M src/SMESHUtils/SMESH_Octree.hxx
M src/SMESHUtils/SMESH_Tree.hxx
M src/SMESH_PY/smeshstudytools.py
M src/StdMeshers/StdMeshers_Import_1D.cxx

10 years agoCorrection to avoid memory leaks (links to 0021708: [CEA 586]).
akl [Thu, 1 Aug 2013 14:04:27 +0000 (14:04 +0000)]
Correction to avoid memory leaks (links to 0021708: [CEA 586]).

10 years agoInsert SMESH object into use case builder according to the given entry (if it is...
akl [Thu, 1 Aug 2013 08:54:43 +0000 (08:54 +0000)]
Insert SMESH object into use case builder according to the given entry (if it is) instead of simply append it at the end of list.

10 years ago1) SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
eap [Wed, 31 Jul 2013 14:30:06 +0000 (14:30 +0000)]
1) SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
http://www.salome-platform.org/forum/forum_10/998544058
2) Fix failure on a revolved rectangle with a VL on a concave face and a
VL thickness about a half-thickness of the revolved.

10 years agoRemove deprecated files for padder plugin
boulant [Wed, 31 Jul 2013 12:37:06 +0000 (12:37 +0000)]
Remove deprecated files for padder plugin

10 years agoSALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
eap [Wed, 31 Jul 2013 11:21:55 +0000 (11:21 +0000)]
SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
http://www.salome-platform.org/forum/forum_10/998544058

 class SMESH_2D_Algo
 {
+  /*!
+   * \brief Method in which an algorithm generating a structured mesh
+   *        fixes positions of in-face nodes after there movement
+   *        due to insertion of viscous layers.
+   */
+  virtual bool FixInternalNodes(const SMESH_ProxyMesh& mesh,
+                                const TopoDS_Face&     face);

10 years agofix a comment
eap [Wed, 31 Jul 2013 11:18:51 +0000 (11:18 +0000)]
fix a comment

10 years agodecorations
eap [Wed, 31 Jul 2013 08:12:54 +0000 (08:12 +0000)]
decorations

10 years agoRemove deprecated files of padder plugin
boulant [Wed, 31 Jul 2013 07:58:37 +0000 (07:58 +0000)]
Remove deprecated files of padder plugin

10 years ago0021941: [CEA 699] Use for Auto Color method on mesh group the same
eap [Mon, 29 Jul 2013 12:21:40 +0000 (12:21 +0000)]
0021941: [CEA 699] Use for Auto Color method on mesh group the same
algorithm that this one in GEOM which define colors (note 15888)

In AutoColor(), pass a generated color to a group

10 years agoFix GetNodeIndex() for polygon
eap [Mon, 29 Jul 2013 12:15:22 +0000 (12:15 +0000)]
Fix GetNodeIndex() for polygon

10 years agoRm duplicated SMDS_MeshElement::setVtkId(int vtkId)
eap [Mon, 29 Jul 2013 11:51:02 +0000 (11:51 +0000)]
Rm duplicated SMDS_MeshElement::setVtkId(int vtkId)

-  inline void setVtkId(int vtkId) { myVtkID = vtkId; };

10 years agoOptimize SMDS_MeshElement::GetNodeIndex()
eap [Mon, 29 Jul 2013 11:49:21 +0000 (11:49 +0000)]
Optimize SMDS_MeshElement::GetNodeIndex()

+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;

10 years agoOptimize SMDS_MeshElement::GetNodeIndex()
eap [Mon, 29 Jul 2013 11:48:56 +0000 (11:48 +0000)]
Optimize SMDS_MeshElement::GetNodeIndex()

-  int GetNodeIndex( const SMDS_MeshNode* node ) const;
+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;

10 years ago0022257: [CEA 900] Regression: on test glue_performance.py
skv [Thu, 25 Jul 2013 12:03:04 +0000 (12:03 +0000)]
0022257: [CEA 900] Regression: on test glue_performance.py

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Thu, 25 Jul 2013 09:00:54 +0000 (09:00 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

In createSubMesh() fix getting a sub-mesh ID for a a sub-mesh on group

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Thu, 25 Jul 2013 08:59:30 +0000 (08:59 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

-    aStudyName = ( (char*)SALOMEDS_Tool::GetNameFromPath( myCurrentStudy->URL() ).c_str() );
+    CORBA::String_var url = myCurrentStudy->URL();

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Wed, 24 Jul 2013 14:49:27 +0000 (14:49 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

Pb: myLimit leaks if it was not provided at construction

10 years agosmall optimization
eap [Wed, 24 Jul 2013 14:48:32 +0000 (14:48 +0000)]
small optimization

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Wed, 24 Jul 2013 14:46:09 +0000 (14:46 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

-      newFaceLocations->Register(this);
-      newFaces->Register(this);

10 years agoIMP: SMESH: Japanese translations
rnc [Wed, 24 Jul 2013 13:22:27 +0000 (13:22 +0000)]
IMP: SMESH: Japanese translations

10 years agodos2unix
eap [Wed, 24 Jul 2013 12:43:59 +0000 (12:43 +0000)]
dos2unix

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Wed, 24 Jul 2013 12:43:34 +0000 (12:43 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

-  SALOMEDS::UseCaseBuilder_var useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
+  SALOMEDS::UseCaseBuilder_wrap useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Wed, 24 Jul 2013 12:42:52 +0000 (12:42 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

-      QString IOR = app->orb()->object_to_string( theObject );
+      CORBA::String_var ior = app->orb()->object_to_string( theObject );

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Wed, 24 Jul 2013 12:42:22 +0000 (12:42 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

+  delete aHistogram;

10 years ago22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
eap [Tue, 23 Jul 2013 14:20:46 +0000 (14:20 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

Fix a leak of a CORBA object

10 years ago0020976: EDF 1471 SMESH: New ergonomy to display quality controls
eap [Tue, 23 Jul 2013 12:35:23 +0000 (12:35 +0000)]
0020976: EDF 1471 SMESH: New ergonomy to display quality controls

Make Quality Info dialog look same as Quality Info tab of Mesh Info
dialog: add Help and Dump buttons

10 years agoFix treatment of filters after starting usage of AddArgCmd()
eap [Tue, 23 Jul 2013 11:41:20 +0000 (11:41 +0000)]
Fix treatment of filters after starting usage of AddArgCmd()

10 years agoSALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
eap [Mon, 22 Jul 2013 15:25:50 +0000 (15:25 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

Avoid leaks of CORBA objects at calling TPythonDump() << _this()
Avoid leaks of SMESH_MeshEditor_i

10 years agoAvoid leaks of CORBA objects at calling TPythonDump() << _this()
eap [Mon, 22 Jul 2013 14:42:25 +0000 (14:42 +0000)]
Avoid leaks of CORBA objects at calling TPythonDump() << _this()

10 years agoSALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
eap [Mon, 22 Jul 2013 14:40:00 +0000 (14:40 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.

10 years agountabify
eap [Mon, 22 Jul 2013 14:38:09 +0000 (14:38 +0000)]
untabify

10 years agoSALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
eap [Mon, 22 Jul 2013 14:37:06 +0000 (14:37 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

Fix loading a group on filter:

+                filter->UnRegister();

10 years agoSALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
eap [Mon, 22 Jul 2013 14:36:12 +0000 (14:36 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

in SetCriteria():

+  aResPredicate->UnRegister();

10 years agoSALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
eap [Mon, 22 Jul 2013 14:35:30 +0000 (14:35 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

1) call myFilterDlg->UnRegisterFilters();
2) re-create an actor after converting a group to standalone as a
CORBA object becomes different from that held by the actor

10 years agoSALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
eap [Mon, 22 Jul 2013 14:29:04 +0000 (14:29 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

+  void                      UnRegisterFilters();

10 years agoSALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
eap [Mon, 22 Jul 2013 14:27:40 +0000 (14:27 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.

10 years agoIn RemoveElement(), find sub-mesh by elt->getshapeId()
eap [Mon, 22 Jul 2013 14:08:46 +0000 (14:08 +0000)]
In RemoveElement(), find sub-mesh by elt->getshapeId()