]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
14 years ago0020996: EDF 1549 SMESH: Projection 1D/2D algorithms fail
eap [Tue, 21 Sep 2010 07:53:49 +0000 (07:53 +0000)]
0020996: EDF 1549 SMESH: Projection 1D/2D algorithms fail
   Fix FindFaceAssociation():
     1) exit from loop on outer_wire_algo as soon as solution is found
     2) treat edges of inner wires

14 years agoCorrect name of an argument
eap [Tue, 21 Sep 2010 07:48:09 +0000 (07:48 +0000)]
Correct name of an argument

   static int GetOrderedEdges (const TopoDS_Face&        theFace,
                               TopoDS_Vertex             theFirstVertex,
                               std::list< TopoDS_Edge >& theEdges,
-                              std::list< int >  &       theNbVertexInWires,
+                              std::list< int >  &       theNbEdgesInWires,
                               const bool                theShapeAnalysisAlgo=false);

14 years agoIssue 0020226: [CEA 329] Invalid glyphs position in vector fields on polyhedrons...
ouv [Mon, 20 Sep 2010 13:00:13 +0000 (13:00 +0000)]
Issue 0020226: [CEA 329] Invalid glyphs position in vector fields on polyhedrons cell.

14 years ago0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
eap [Fri, 17 Sep 2010 05:36:15 +0000 (05:36 +0000)]
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
-    if ( !subMeshId )
+    if ( !subMeshId && ! _impl->GetMeshDS()->IsGroupOfSubShapes( myLocSubShape ))
       THROW_SALOME_CORBA_EXCEPTION("not sub-shape of the main shape", SALOME::BAD_PARAM);

14 years ago0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
eap [Fri, 17 Sep 2010 05:35:42 +0000 (05:35 +0000)]
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
   Fix fillAncestorsMap(theShape) for the case if a sub-shape of
   theShape is not in _mapAncestors

14 years ago0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
eap [Fri, 17 Sep 2010 05:34:11 +0000 (05:34 +0000)]
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
    Move all checks of shape validity from AddCompoundSubmesh() to IsGroupOfSubShapes()

14 years ago0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
eap [Wed, 15 Sep 2010 15:11:26 +0000 (15:11 +0000)]
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids

   bool IsLinked (const SMDS_MeshNode* theNode1,
                  const SMDS_MeshNode* theNode2,
+                 const bool           theIgnoreMediumNodes=false) const;
   // Return true if theNode1 is linked with theNode2.
+  // If theIgnoreMediumNodes then corner nodes of quadratic cell are considered linked as well

14 years ago0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
eap [Wed, 15 Sep 2010 15:08:58 +0000 (15:08 +0000)]
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
   Replace VTK_CONVEX_POINT_SET with VTK_QUADRATIC_PYRAMID

14 years ago0020983: EDF 1569 SMESH: Numbering Display Elements with several groups selected...
dmv [Wed, 15 Sep 2010 14:59:58 +0000 (14:59 +0000)]
0020983: EDF 1569 SMESH: Numbering Display Elements with several groups selected does not work

14 years agoindentation
eap [Wed, 15 Sep 2010 13:25:26 +0000 (13:25 +0000)]
indentation

14 years ago0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
eap [Wed, 15 Sep 2010 13:25:06 +0000 (13:25 +0000)]
0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
  Add an argument to DoubleNodeXXX() creating groups

14 years ago0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
eap [Wed, 15 Sep 2010 12:46:19 +0000 (12:46 +0000)]
0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
  No need in new commands in smeshDC.py, so DoubleNodeXXXNew() is replaced by DoubleNodeXXX()

14 years ago0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
eap [Wed, 15 Sep 2010 12:09:30 +0000 (12:09 +0000)]
0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature

     ## Finds groups of ajacent nodes within Tolerance.
     #  @param Tolerance the value of tolerance
     #  @param SubMeshOrGroup SubMesh or Group
+    #  @param exceptNodes list of either SubMeshes, Groups or node IDs to exclude from search
     #  @return the list of groups of nodes
     #  @ingroup l2_modif_trsf
-    def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance):
+    def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance, exceptNodes=[]):

14 years agoUse TIDSortedNodeSet instead of set< const SMDS_MeshNode*> when looking for coinciden...
eap [Wed, 15 Sep 2010 11:52:34 +0000 (11:52 +0000)]
Use TIDSortedNodeSet instead of set< const SMDS_MeshNode*> when looking for coincident nodes

14 years ago0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
eap [Wed, 15 Sep 2010 11:51:57 +0000 (11:51 +0000)]
0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature

+  /*!
+   * Returns types of elements it contains
+   */
+  virtual SMESH::array_of_ElementType* GetTypes();

14 years ago0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
eap [Wed, 15 Sep 2010 11:50:48 +0000 (11:50 +0000)]
0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature

+    TPythonDump&
+    operator<<(const SMESH::ListOfIDSources& theList);
+

14 years ago0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
eap [Wed, 15 Sep 2010 11:50:13 +0000 (11:50 +0000)]
0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature

+  // set "FindCoincidentNodesOnPart()" instead of "FindCoincidentNodesOnPartBut()"
+  if ( !isPyMeshMethod && method == "FindCoincidentNodesOnPartBut")
+  {
+    isPyMeshMethod=true;
+    theCommand->SetMethod("FindCoincidentNodesOnPart");
+  }

14 years ago0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
eap [Wed, 15 Sep 2010 11:49:07 +0000 (11:49 +0000)]
0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature

interface SMESH_MeshEditor
{
-    SMESH_IDSource MakeIDSource(in long_array IDsOfElements);
+    SMESH_IDSource MakeIDSource(in long_array IDsOfElements, in ElementType type);

+    void FindCoincidentNodesOnPartBut (in  SMESH_IDSource      SubMeshOrGroup,
+                                       in  double              Tolerance,
+                                       out array_of_long_array GroupsOfNodes,
+                                       in  ListOfIDSources     ExceptSubMeshOrGroups);
+

14 years ago0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
eap [Wed, 15 Sep 2010 11:47:53 +0000 (11:47 +0000)]
0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature

-    SMESH_IDSource MakeIDSource(in long_array IDsOfElements);
+    SMESH_IDSource MakeIDSource(in long_array IDsOfElements, in ElementType type);

+    void FindCoincidentNodesOnPartBut (in  SMESH_IDSource      SubMeshOrGroup,
+                                       in  double              Tolerance,
+                                       out array_of_long_array GroupsOfNodes,
+                                       in  ListOfIDSources     ExceptSubMeshOrGroups);
+

14 years ago+ interface SMESH_IDSource;
eap [Wed, 15 Sep 2010 11:45:49 +0000 (11:45 +0000)]
+  interface SMESH_IDSource;
+  typedef sequence<SMESH_IDSource> ListOfIDSources;

+  typedef sequence<ElementType> array_of_ElementType ;

  interface SMESH_IDSource
  {
+
+    /*!
+     * Returns types of elements it contains
+     */
+    array_of_ElementType GetTypes();
   };

14 years agorename SMESHGUI_EditMeshDlg to SMESHGUI_MergeDlg
eap [Wed, 15 Sep 2010 11:42:59 +0000 (11:42 +0000)]
rename SMESHGUI_EditMeshDlg to SMESHGUI_MergeDlg

14 years agoUse TIDSortedNodeSet instead of set< const SMDS_MeshNode*> when looking for coinciden...
eap [Wed, 15 Sep 2010 11:41:11 +0000 (11:41 +0000)]
Use TIDSortedNodeSet instead of set< const SMDS_MeshNode*> when looking for coincident nodes

+typedef std::set< const SMDS_MeshNode*,    TIDCompare >      TIDSortedNodeSet;

14 years agoWinTC5.1.4: Application crash after open Linux study
dmv [Mon, 13 Sep 2010 14:23:50 +0000 (14:23 +0000)]
WinTC5.1.4: Application crash after open Linux study

14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
dmv [Thu, 9 Sep 2010 09:08:23 +0000 (09:08 +0000)]
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse

14 years agoGDD: Some mispell corrections BR_WIN_INDUS
gdd [Wed, 8 Sep 2010 07:21:54 +0000 (07:21 +0000)]
GDD: Some mispell corrections

14 years agouse linked nodes to get an upward direction when defining orientation
eap [Tue, 7 Sep 2010 06:35:44 +0000 (06:35 +0000)]
use linked nodes to get an upward direction when defining orientation

14 years ago0020968: EDF1545 SMESH: Problem in de creation of a mesh group on geometry
eap [Fri, 3 Sep 2010 14:19:16 +0000 (14:19 +0000)]
0020968EDF1545 SMESH: Problem in de creation of a mesh group on geometry
   Detect not computed sub-shapes in case if algo computes many
   submeshes at once

14 years ago0020963: EDF 1528 SMESH: How to combine Netgen1D2D with sizemap with Quadrangle(Mappi...
eap [Thu, 2 Sep 2010 06:30:53 +0000 (06:30 +0000)]
0020963: EDF 1528 SMESH: How to combine Netgen1D2D with sizemap with Quadrangle(Mapping) ?

-              sm->ComputeStateEngine(SMESH_subMesh::COMPUTE);
+              _gen->Compute( theMesh, _mainEdge, /*anUpward=*/true);

sm->ComputeStateEngine() fails if vertices it depends on are not yet created

14 years agoimprove comment
eap [Thu, 2 Sep 2010 06:26:55 +0000 (06:26 +0000)]
improve comment

14 years ago bool SMESH_HypoFilter::IsMoreLocalThanPredicate::IsOk(const SMESH_Hypothesis* aHyp,
eap [Thu, 2 Sep 2010 06:26:23 +0000 (06:26 +0000)]
 bool SMESH_HypoFilter::IsMoreLocalThanPredicate::IsOk(const SMESH_Hypothesis* aHyp,
                                                       const TopoDS_Shape&     aShape) const
 {
+  // issue 0020963
+  // if aShape is COMPOUND (i.e. most probably a GEOM group) then
+  // it is more local if it contains shapes of less dimension than _shapeType
+  ...

14 years ago0020959: EDF 1531: HEXA_3D fails on shell
eap [Wed, 1 Sep 2010 11:00:43 +0000 (11:00 +0000)]
0020959: EDF 1531: HEXA_3D fails on shell

in DependsOn(), do not make a sub-mesh of a not closed SHELL

14 years agoSALOME internationalization: add textual resources for French language end_translate_resources_09Jul10
vsr [Tue, 31 Aug 2010 15:14:20 +0000 (15:14 +0000)]
SALOME internationalization: add textual resources for French language

14 years agoSALOME internationalization: add textual resources for French language
vsr [Tue, 31 Aug 2010 10:03:26 +0000 (10:03 +0000)]
SALOME internationalization: add textual resources for French language

14 years agountabify
eap [Mon, 30 Aug 2010 12:00:00 +0000 (12:00 +0000)]
untabify

14 years agoFix dump python of DoubleNode*()
eap [Mon, 30 Aug 2010 11:59:17 +0000 (11:59 +0000)]
Fix dump python of DoubleNode*()

14 years agoFix TPythonDump::operator<<(const SMESH::ListOfGroups& theList) for an empty list
eap [Mon, 30 Aug 2010 11:44:16 +0000 (11:44 +0000)]
Fix TPythonDump::operator<<(const SMESH::ListOfGroups& theList) for an empty list

14 years agoFix for imp 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI.
mzn [Mon, 30 Aug 2010 10:57:47 +0000 (10:57 +0000)]
Fix for imp 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI.

14 years agoIssue: 0020935: A group created with a type of element criteria is empty
vsr [Wed, 25 Aug 2010 10:17:59 +0000 (10:17 +0000)]
Issue: 0020935: A group created with a type of element criteria is empty
- Improve documentation for the filters functionality

14 years agoIssue: 0020935: A group created with a type of element criteria is empty
vsr [Wed, 25 Aug 2010 10:17:27 +0000 (10:17 +0000)]
Issue: 0020935: A group created with a type of element criteria is empty
- Fix some filters bugs in Python API

14 years agoAvoid doxygen warnings
vsr [Wed, 25 Aug 2010 09:59:03 +0000 (09:59 +0000)]
Avoid doxygen warnings

14 years ago0020958: EDF 1529 SMESH : If some faces have been meshed with small
eap [Mon, 23 Aug 2010 05:26:19 +0000 (05:26 +0000)]
0020958: EDF 1529 SMESH : If some faces have been meshed with small
quadrangles Netgen 3D creates pyramids with volume zero and fails

   bool CheckIntersection(const gp_Pnt& P, const gp_Pnt& PC,
                          gp_Pnt& Pint, SMESH_Mesh& aMesh,
                          const TopoDS_Shape& aShape,
-                         const TopoDS_Shape& NotCheckedFace);
+                         const SMDS_MeshElement* NotCheckedFace);

14 years agoFix for SIGSEGV on Mandriva2008 in optimize mode only
eap [Thu, 19 Aug 2010 13:28:02 +0000 (13:28 +0000)]
Fix for SIGSEGV on Mandriva2008 in optimize mode only
==21300== Invalid read of size 4
==21300==    at 0x1445EA23: StdMeshers_Penta_3D::MakeVolumeMesh() (StdMeshers_Penta_3D.cxx:681)

  while (aItNodes->more()) {

It seems to be an error of optimization, aItNodes.px becomes invalid
before aItNodes->more() returns false but after the loop code is
performed for the last time.

14 years agoremove debug output
eap [Thu, 19 Aug 2010 09:41:24 +0000 (09:41 +0000)]
remove debug output

14 years ago0020958: EDF 1529 SMESH : If some faces have been meshed with small
eap [Thu, 19 Aug 2010 09:23:39 +0000 (09:23 +0000)]
0020958: EDF 1529 SMESH : If some faces have been meshed with small
quadrangles Netgen 3D creates pyramids with volume zero and fails

* Fix HasIntersection3(): use reasonable tolerances
* Improve performace using SMESH_ElementSearcher

14 years agofix removing from the std::map being iterated over
eap [Thu, 19 Aug 2010 09:21:03 +0000 (09:21 +0000)]
fix removing from the std::map being iterated over

14 years ago0020958: EDF 1529 SMESH : If some faces have been meshed with small
eap [Thu, 19 Aug 2010 09:19:49 +0000 (09:19 +0000)]
0020958: EDF 1529 SMESH : If some faces have been meshed with small
quadrangles Netgen 3D creates pyramids with volume zero and fails

struct SMESH_ElementSearcher
{
+  /*!
+   * \brief Return elements possibly intersecting the line
+   */
+  virtual void GetElementsNearLine( const gp_Ax1&                           line,
+                                    SMDSAbs_ElementType                     type,
+                                    std::vector< const SMDS_MeshElement* >& foundElems)=0;

14 years agoImplement iteration in id increasing order
eap [Thu, 19 Aug 2010 09:17:39 +0000 (09:17 +0000)]
Implement iteration in id increasing order

-  SMDS_NodeIteratorPtr nodesIterator(bool idInceasingOrder=false) const;
-  SMDS_0DElementIteratorPtr elements0dIterator() const;
-  SMDS_EdgeIteratorPtr edgesIterator() const;
-  SMDS_FaceIteratorPtr facesIterator() const;
-  SMDS_VolumeIteratorPtr volumesIterator() const;
+  SMDS_NodeIteratorPtr nodesIterator          (bool idInceasingOrder=false) const;
+  SMDS_0DElementIteratorPtr elements0dIterator(bool idInceasingOrder=false) const;
+  SMDS_EdgeIteratorPtr edgesIterator          (bool idInceasingOrder=false) const;
+  SMDS_FaceIteratorPtr facesIterator          (bool idInceasingOrder=false) const;
+  SMDS_VolumeIteratorPtr volumesIterator      (bool idInceasingOrder=false) const;

14 years agoavoid unused variables in release mode
eap [Wed, 18 Aug 2010 11:06:29 +0000 (11:06 +0000)]
avoid unused variables in release mode

14 years agofix the case of already meshed sole straight edge
eap [Wed, 18 Aug 2010 11:06:01 +0000 (11:06 +0000)]
fix the case of already meshed sole straight edge

14 years ago0020855: [CEA] Problem with ijk algo
eap [Wed, 18 Aug 2010 08:00:09 +0000 (08:00 +0000)]
0020855: [CEA] Problem with ijk algo
     find out orientation by a least distorted hexahedron

14 years ago-theFileName = thePath + "/Shapes/Brep/slots.brep"
eap [Fri, 13 Aug 2010 12:56:44 +0000 (12:56 +0000)]
-theFileName = thePath + "/Shapes/Brep/slots.brep"
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")

14 years ago0020955: EDF 1493 SMESH: Bad import of .unv file
eap [Mon, 9 Aug 2010 08:38:48 +0000 (08:38 +0000)]
0020955: EDF 1493 SMESH: Bad import of .unv file
  * Complete the set of readable 2D elements

14 years agoRemove unused variables
eap [Mon, 9 Aug 2010 08:37:24 +0000 (08:37 +0000)]
Remove unused variables

14 years ago0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry...
eap [Wed, 4 Aug 2010 12:05:37 +0000 (12:05 +0000)]
0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
 * Fix splitTrianglesIntoChains()

14 years ago0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry...
eap [Wed, 4 Aug 2010 12:02:49 +0000 (12:02 +0000)]
0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
 * Fix for usecase: open the atached study, convert Mesh_1 from
   quadratic, unassign GHS3D algo -> SIGSEGV. Reason is that the same
   SMDS_SpacePosition is shared by all nodes in different solids.

14 years agountabify
eap [Tue, 27 Jul 2010 13:06:18 +0000 (13:06 +0000)]
untabify

14 years ago0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry...
eap [Tue, 27 Jul 2010 13:05:28 +0000 (13:05 +0000)]
0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
 * Fix GetNodeUV() for a node on seam edge: enable projection of node in face
 * Fix GetMediumNode(): set a node in volume #1 as well
 * Fix QFace::GetLinkChain(), case of triangles

14 years agoAdditional fix for issue 20755
ouv [Fri, 23 Jul 2010 11:09:49 +0000 (11:09 +0000)]
Additional fix for issue 20755

14 years ago0020920: EDF 1478 SMESH: Conversion linear to quadratic fails (BLSURF Mesh)
eap [Wed, 21 Jul 2010 05:45:17 +0000 (05:45 +0000)]
0020920: EDF 1478 SMESH: Conversion linear to quadratic fails (BLSURF Mesh)
 * fix FixQuadraticElements(): ignore internal chains

14 years ago0020919: EDF 1472 SMESH: Linear to quadratic conversion fails with hexaedron algorithm
eap [Tue, 20 Jul 2010 06:06:38 +0000 (06:06 +0000)]
0020919: EDF 1472 SMESH: Linear to quadratic conversion fails with hexaedron algorithm
 * fix FixQuadraticElements()

14 years agoimprove comment
eap [Tue, 20 Jul 2010 06:05:22 +0000 (06:05 +0000)]
improve comment

14 years agoPatch from Anthony to be compliant with MED
adam [Mon, 19 Jul 2010 15:18:39 +0000 (15:18 +0000)]
Patch from Anthony to be compliant with MED

14 years agountabify
eap [Mon, 19 Jul 2010 07:57:32 +0000 (07:57 +0000)]
untabify

14 years agoIssue 0020921: EDF 1462 SMESH: Regression in 5.1.4. a quadrangle meshing fails translate_resources_09Jul10
vsr [Thu, 8 Jul 2010 06:51:11 +0000 (06:51 +0000)]
Issue 0020921: EDF 1462 SMESH: Regression in 5.1.4. a quadrangle meshing fails

14 years ago0020742: EDF 1270 SMESH : Delete Group with contents and remove Orphan Nodes
vsr [Wed, 7 Jul 2010 05:32:15 +0000 (05:32 +0000)]
0020742: EDF 1270 SMESH : Delete Group with contents and remove Orphan Nodes

14 years agowindows port
adam [Tue, 6 Jul 2010 10:17:30 +0000 (10:17 +0000)]
windows port

14 years agoIPAL21820 TC6.1.0: Lost new nodes
dmv [Mon, 5 Jul 2010 13:58:35 +0000 (13:58 +0000)]
IPAL21820 TC6.1.0: Lost new nodes

14 years agoIPAL21831 Can't load the Python dump after Export to MED
dmv [Wed, 30 Jun 2010 11:40:12 +0000 (11:40 +0000)]
IPAL21831 Can't load the Python dump after Export to MED

14 years agoBug IPAL21801: preferences for SMESH: color of Group name text should be added
vsr [Wed, 23 Jun 2010 13:19:50 +0000 (13:19 +0000)]
Bug IPAL21801: preferences for SMESH: color of Group name text should be added
EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption)
Additional fix: add preferences for the names groups color

14 years ago0020752: EDF 1303 SMESH : Add a 'Select All' button in Create Group dialog box
vsr [Tue, 22 Jun 2010 15:24:40 +0000 (15:24 +0000)]
0020752: EDF 1303 SMESH : Add a 'Select All' button in Create Group dialog box

14 years agoMantis issue 0020812: Register() and Destroy() of the GenericObj.
jfa [Tue, 22 Jun 2010 14:43:41 +0000 (14:43 +0000)]
Mantis issue 0020812: Register() and Destroy() of the GenericObj.

14 years agoImprove documentation generation mechanism
vsr [Tue, 22 Jun 2010 14:14:43 +0000 (14:14 +0000)]
Improve documentation generation mechanism

14 years agoIssue 0020755: EDF 1279 MESH : 'Mesh to Pass Through a Point' enhancement
ouv [Mon, 21 Jun 2010 10:30:03 +0000 (10:30 +0000)]
Issue 0020755: EDF 1279 MESH : 'Mesh to Pass Through a Point' enhancement

14 years agoFix bug of NodeSearcher: search fails if point is outside the mesh on the distance...
vsr [Mon, 21 Jun 2010 07:29:04 +0000 (07:29 +0000)]
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value. Version 2 with improved performance.

14 years agoFix bug of NodeSearcher: search fails if point is outside the mesh on the distance...
vsr [Thu, 17 Jun 2010 19:00:18 +0000 (19:00 +0000)]
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value

14 years agoMerge from V5_1_4_BR (5_1_4rc2) 09/06/2010
vsr [Thu, 10 Jun 2010 06:51:07 +0000 (06:51 +0000)]
Merge from V5_1_4_BR (5_1_4rc2) 09/06/2010

14 years ago0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh comput...
eap [Tue, 8 Jun 2010 11:33:26 +0000 (11:33 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
  * In GetFaceWires(), create a separate wire for each internal edge

14 years ago- return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
eap [Thu, 20 May 2010 10:23:56 +0000 (10:23 +0000)]
-    return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
+    return ( e && e->NbCornerNodes() == 4 );

14 years ago0020855: [CEA] Problem with ijk algo ---------- KO.med file
eap [Thu, 20 May 2010 10:04:19 +0000 (10:04 +0000)]
0020855: [CEA] Problem with ijk algo  ---------- KO.med file

14 years ago0020855: [CEA] Problem with ijk algo
eap [Wed, 19 May 2010 08:16:18 +0000 (08:16 +0000)]
0020855: [CEA] Problem with ijk algo
  * Fix detection of block corners
  * Fix selection of sides

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 13 May 2010 06:24:13 +0000 (06:24 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
     ## Computes the mesh and returns the status of the computation
+    #  @param discardModifs if True and the mesh has been edited since
+    #         a last total re-compute and that may prevent successful partial re-compute,
+    #         then the mesh is cleaned before Compute()
     #  @return True or False
     #  @ingroup l2_construct
-    def Compute(self, geom=0):
+    def Compute(self, geom=0, discardModifs=False):

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 13 May 2010 06:23:03 +0000 (06:23 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
 * set _isModified attribute of the mesh to true

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 13 May 2010 06:22:26 +0000 (06:22 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
 * save/restore _isModified attribute of the mesh

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 13 May 2010 06:20:35 +0000 (06:20 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
+    if ( myMesh->HasModificationsToDiscard() && // issue 0020693
+         SUIT_MessageBox::question( desktop(), tr( "SMESH_WARNING" ),
+                                    tr( "FULL_RECOMPUTE_QUESTION" ),
+                                    tr( "SMESH_BUT_YES" ), tr( "SMESH_BUT_NO" ), 1, 0 ) == 0 )
+      myMesh->Clear();

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 13 May 2010 06:20:02 +0000 (06:20 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
+            <source>FULL_RECOMPUTE_QUESTION</source>
+            <translation>
+The mesh has been edited since a last total re-compute
+that may prevent successful computation.
+Do you wish to re-compute the mesh totally to discard the modifications?
+            </translation>
+        </message>
+        <message>

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 13 May 2010 06:18:57 +0000 (06:18 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
+    /*!
+     * Return true if the mesh has been edited since a total re-compute
+     * and those modifications may prevent successful partial re-compute
+     */
+    boolean HasModificationsToDiscard()
+      raises (SALOME::SALOME_Exception);

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 13 May 2010 06:18:02 +0000 (06:18 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
+  void SetIsModified(bool isModified);
+  bool GetIsModified() const { return _isModified; }
+  bool HasModificationsToDiscard() const;
+  bool                       _isModified; //!< modified since last total re-compute, issue 0020693

14 years agoMerge from V5_1_4_BR 07/05/2010
vsr [Fri, 7 May 2010 15:08:23 +0000 (15:08 +0000)]
Merge from V5_1_4_BR 07/05/2010

14 years ago0020855: [CEA] Problem with ijk algo
eap [Thu, 6 May 2010 08:48:21 +0000 (08:48 +0000)]
0020855: [CEA] Problem with ijk algo
  * Fix difining sharing of block sides
  * Fix selection of adjacent side

14 years ago0020855: [CEA] Problem with ijk algo
eap [Fri, 30 Apr 2010 06:45:50 +0000 (06:45 +0000)]
0020855: [CEA] Problem with ijk algo
 * Fix uninitialized gravity center
-      gp_XYZ gc;
+      gp_XYZ gc(0,0,0);

14 years ago0020849: [CEA] Projection 2D fails
eap [Mon, 26 Apr 2010 10:39:30 +0000 (10:39 +0000)]
0020849: [CEA] Projection 2D fails
 * project by transformation in case if TopoDS_TFace's are different

14 years agoImprove Documentation style. V5_1_4a1
dmv [Thu, 8 Apr 2010 11:04:09 +0000 (11:04 +0000)]
Improve Documentation style.

14 years agoIPAL21668 Call of Edit Group leads to Crash.
dmv [Thu, 8 Apr 2010 07:52:18 +0000 (07:52 +0000)]
IPAL21668 Call of Edit Group leads to Crash.

14 years agoCCAR: wrong type id
caremoli [Thu, 8 Apr 2010 06:36:12 +0000 (06:36 +0000)]
CCAR: wrong type id

14 years agoImprove documentation
dmv [Wed, 7 Apr 2010 14:12:04 +0000 (14:12 +0000)]
Improve documentation

14 years agoIssue 0020580: improved validation in integer and double spin boxes, possibility...
san [Mon, 5 Apr 2010 11:43:42 +0000 (11:43 +0000)]
Issue 0020580: improved validation in integer and double spin boxes, possibility to adjust input field precision through preferences

14 years agoRename to avoid clash with same name class from GEOM_Engine
eap [Wed, 31 Mar 2010 05:56:30 +0000 (05:56 +0000)]
Rename to avoid clash with same name class from GEOM_Engine

-class ObjectStates{
+class SMESH_ObjectStates{

14 years agoRemove useless extra dump in DEBUG mode
eap [Wed, 31 Mar 2010 05:55:11 +0000 (05:55 +0000)]
Remove useless extra dump in DEBUG mode

14 years ago0020672: EDF 1243 SMESH : Be able to transform mixed mesh
eap [Tue, 30 Mar 2010 12:38:16 +0000 (12:38 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh

+    void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)

14 years ago0020672: EDF 1243 SMESH : Be able to transform mixed mesh
eap [Tue, 30 Mar 2010 12:36:23 +0000 (12:36 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
 * Add "Split into Tetrahedra" operation