Salome HOME
modules/smesh.git
12 years ago0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
eap [Wed, 18 Jan 2012 12:00:29 +0000 (12:00 +0000)]
0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
1)
+  struct EventProparatorToEdges : public SMESH_subMeshEventListener
2)
+  struct UnsetterOfEventProparatorToEdges
3)
+    // check that all nodes are shared by faces generated on F

12 years ago0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole
eap [Tue, 17 Jan 2012 13:17:19 +0000 (13:17 +0000)]
0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole

12 years agoFix for the bug IPAL22854: preview is wrong for Create a new mesh
ana [Mon, 16 Jan 2012 15:14:07 +0000 (15:14 +0000)]
Fix for the bug IPAL22854: preview is wrong for Create a new mesh

12 years ago0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
eap [Mon, 16 Jan 2012 13:53:29 +0000 (13:53 +0000)]
0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
   fix RemoveExcessIntPoints()

12 years agoFix for the bug IPAL22851: Sub-shapes spelling
ana [Fri, 13 Jan 2012 15:11:09 +0000 (15:11 +0000)]
Fix for the bug IPAL22851: Sub-shapes spelling

12 years agoFix for the bug IPAL22851: Sub-shapes spelling
ana [Fri, 13 Jan 2012 14:51:43 +0000 (14:51 +0000)]
Fix for the bug IPAL22851: Sub-shapes spelling

12 years agoFix for the bug IPAL22851: Sub-shapes spelling
ana [Fri, 13 Jan 2012 14:37:34 +0000 (14:37 +0000)]
Fix for the bug IPAL22851: Sub-shapes spelling

12 years agoMantis issue 0021455: [CEA] internal test fails.
jfa [Fri, 13 Jan 2012 11:18:46 +0000 (11:18 +0000)]
Mantis issue 0021455: [CEA] internal test fails.

12 years ago0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with...
eap [Wed, 11 Jan 2012 14:14:58 +0000 (14:14 +0000)]
0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
   1) In _pyMesh::Process(), move submesh creation from the script end
      to the place before its removal
   2) In _pyMesh::Flush(), add indentation to a generated command creating algorithm

12 years agocosmetic changes
eap [Wed, 11 Jan 2012 14:11:39 +0000 (14:11 +0000)]
cosmetic changes

12 years ago0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with...
eap [Wed, 11 Jan 2012 09:50:28 +0000 (09:50 +0000)]
0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
    fix _pyGen::FindObject() to restore the lost wrapping of hyp creation

12 years ago0021330: EDF 1919 SMESH: Convert to quadratic gives wrong elements
eap [Wed, 11 Jan 2012 08:43:41 +0000 (08:43 +0000)]
0021330: EDF 1919 SMESH: Convert to quadratic gives wrong elements
    fix convertElemToQuadratic()

12 years ago0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
eap [Wed, 11 Jan 2012 08:15:48 +0000 (08:15 +0000)]
0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
    in MergeNodes(), fix detection of replaced nodes of an elem

12 years agoRename "Delete Groups" into "Delete Groups with Contents"
gdd [Tue, 10 Jan 2012 14:55:02 +0000 (14:55 +0000)]
Rename "Delete Groups" into "Delete Groups with Contents"

12 years ago0021457: [CEA] import check_mesh stability
eap [Tue, 10 Jan 2012 14:36:48 +0000 (14:36 +0000)]
0021457: [CEA] import check_mesh stability
    in Transform(), reverse elements only if needed

12 years agoPorting to OCCT development version: Standard_PI -> M_PI
jfa [Mon, 26 Dec 2011 13:07:08 +0000 (13:07 +0000)]
Porting to OCCT development version: Standard_PI -> M_PI

12 years agofix the previous integration
eap [Fri, 16 Dec 2011 17:13:39 +0000 (17:13 +0000)]
fix the previous integration

12 years agonot to dump GetMeshOrder()
eap [Fri, 16 Dec 2011 16:16:27 +0000 (16:16 +0000)]
not to dump GetMeshOrder()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 16:14:25 +0000 (16:14 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+ prepare to 0021439: Dump of study gives bad geom group and stops with NameError exception

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:34:33 +0000 (09:34 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:32:19 +0000 (09:32 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+    def NbBiQuadQuadrangles(self):
+    def NbTriQuadraticHexas(self):
+    def NbHexagonalPrisms(self):

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:31:47 +0000 (09:31 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+  CORBA::Long NbBiQuadQuadrangles()
+  CORBA::Long NbTriQuadraticHexas()
+  CORBA::Long NbHexagonalPrisms()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:30:53 +0000 (09:30 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

In CopyMesh(), copy free nodes as well

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:30:05 +0000 (09:30 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

-#include "SMDS_VolumeTool.hxx"

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:29:06 +0000 (09:29 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

print driver messages in debug mode only

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:26:40 +0000 (09:26 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

Do not write poly elements as standard ones

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:22:06 +0000 (09:22 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

fix AddPolygonalFace()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:21:35 +0000 (09:21 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
Update
  AddElement()
  QuadToTri()
  SplitVolumesIntoTetra ()
  RotationSweep()
  ExtrusionSweep()
  Transform()
  ConvertToQuadratic()
  Make2DMeshFrom3D()
  MakeBoundaryMesh()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:14:54 +0000 (09:14 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+  int NbBiQuadQuadrangles() const throw(SALOME_Exception);
+  int NbTriQuadraticHexas() const throw(SALOME_Exception);
+  int NbHexagonalPrisms() const throw(SALOME_Exception);

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:14:18 +0000 (09:14 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:13:11 +0000 (09:13 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
+ optimization

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:11:16 +0000 (09:11 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+ optimization and simplification

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:09:24 +0000 (09:09 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

   SMDS_VolumeTool (const SMDS_MeshElement* theVolume,
+                   const bool              ignoreCentralNodes=true);

+  int GetCenterNodeIndex( int faceIndex ) const;
+  // Return index of the node located at face center of a quadratic element like HEX27

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:07:56 +0000 (09:07 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:06:23 +0000 (09:06 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

-  int GetVtkCellType(int SMDSType);

-  std::vector<int> myVtkCellTypes;

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:05:48 +0000 (09:05 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+  static VTKCellType        toVtkType (SMDSAbs_EntityType vtkType);
+  static SMDSAbs_EntityType toSmdsType(VTKCellType vtkType);
+
+  static const std::vector<int>& toVtkOrder(VTKCellType vtkType);
+  static const std::vector<int>& toVtkOrder(SMDSAbs_EntityType smdsType);
+  static const std::vector<int>& fromVtkOrder(VTKCellType vtkType);
+  static const std::vector<int>& fromVtkOrder(SMDSAbs_EntityType smdsType);
+
+  static const std::vector<int>& reverseSmdsOrder(SMDSAbs_EntityType smdsType);
+  static const std::vector<int>& interlacedSmdsOrder(SMDSAbs_EntityType smdsType);
+
+  template< class VECT >
+    static void applyInterlace( const std::vector<int>& interlace, VECT & data)

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:05:14 +0000 (09:05 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

 and fix MYElem_Map_Iterator not to return invalid elements when
 next() is called w/o calling more()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:02:39 +0000 (09:02 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+    SMDSGeom_HEXAGONAL_PRISM,

+  SMDSEntity_BiQuad_Quadrangle,
+  SMDSEntity_TriQuad_Hexa,
+  SMDSEntity_Hexagonal_Prism,

12 years agornc: EDF 2050 -> documentation added to explain the way to work with objects fecthed...
gdd [Thu, 15 Dec 2011 17:01:55 +0000 (17:01 +0000)]
rnc: EDF 2050 -> documentation added to explain the way to work with objects fecthed from GUI in the Python console

12 years agoAdditional fix for the bug 0020944: EDF 1464 SMESH: detection of over-constrained...
ana [Thu, 15 Dec 2011 14:35:34 +0000 (14:35 +0000)]
Additional fix for the bug 0020944: EDF 1464 SMESH: detection of over-constrained elements of a mesh.

12 years agoFix for the bug IPAL22828 TC6.4.0: Displayed entities are wrong
ana [Thu, 15 Dec 2011 13:32:32 +0000 (13:32 +0000)]
Fix for the bug IPAL22828 TC6.4.0: Displayed entities are wrong

12 years ago0021440: EDF 2040 SMESH: Bug translation of a mesh
eap [Tue, 13 Dec 2011 07:19:41 +0000 (07:19 +0000)]
0021440: EDF 2040 SMESH: Bug translation of a mesh
   do not initialize mesh to translate when specifying 2 points

12 years ago0021440: EDF 2040 SMESH: Bug translation of a mesh
eap [Mon, 12 Dec 2011 11:00:48 +0000 (11:00 +0000)]
0021440: EDF 2040 SMESH: Bug translation of a mesh
   GetMediumNode(): use Force3D=true if projection on EDGE fails

12 years agoMerge from V6_4_BR 05/12/2011
vsr [Mon, 5 Dec 2011 11:03:04 +0000 (11:03 +0000)]
Merge from V6_4_BR 05/12/2011

12 years agoFix make distcheck error (merge from V6_4_BR branch)
vsr [Wed, 2 Nov 2011 13:24:06 +0000 (13:24 +0000)]
Fix make distcheck error (merge from V6_4_BR branch)

12 years agoReverse the function of guihelper in smeshstudytool
boulant [Fri, 28 Oct 2011 17:00:01 +0000 (17:00 +0000)]
Reverse the function of guihelper in smeshstudytool

12 years agosmall fix
boulant [Fri, 28 Oct 2011 16:58:35 +0000 (16:58 +0000)]
small fix

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured V6_4_0a1
eap [Fri, 28 Oct 2011 13:44:03 +0000 (13:44 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
 fix SetParametersByDefaults()

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:57:18 +0000 (12:57 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:55:48 +0000 (12:55 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

+  static std::string CheckExpressionFunction( const std::string& expr,
+                                              const int          convMode)
+    throw (SALOME_Exception);

12 years agouse new method SMESH_subMesh::GetAlgo()
eap [Fri, 28 Oct 2011 12:55:08 +0000 (12:55 +0000)]
use new method SMESH_subMesh::GetAlgo()

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:53:31 +0000 (12:53 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

+ StdMeshers_CartesianParameters3D.hxx \
+ StdMeshers_Cartesian_3D.hxx

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:52:43 +0000 (12:52 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
  1) 1st version of "body fitting parameters" - to be improved
  2)
+    def BodyFitted(self, geom=0):
+        return Mesh_Cartesian_3D(self,  geom)

12 years ago+ operator<<(const SMESH::string_array& theArg);
eap [Fri, 28 Oct 2011 12:51:17 +0000 (12:51 +0000)]
+    operator<<(const SMESH::string_array& theArg);

12 years agountabify
eap [Fri, 28 Oct 2011 12:50:34 +0000 (12:50 +0000)]
untabify

12 years ago+ bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const;
eap [Fri, 28 Oct 2011 12:49:19 +0000 (12:49 +0000)]
+  bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const;

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:48:56 +0000 (12:48 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
1) catch SMESH_ComputeError thrown by algo->Compute()
2)
+  SMESH_Algo* GetAlgo() const;

12 years agospeed up NotifySubMeshesHypothesisModification()
eap [Fri, 28 Oct 2011 12:47:11 +0000 (12:47 +0000)]
speed up NotifySubMeshesHypothesisModification()

+  if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+    return;

12 years agoimprove comment
eap [Fri, 28 Oct 2011 12:46:32 +0000 (12:46 +0000)]
improve comment

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:30:20 +0000 (12:30 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

+    <hypothesis type="CartesianParameters3D"
+                label-id="Body Fitting Parameters"
+                icon-id="mesh_hypo_length.png"
+                dim="3"/>
+

+    <algorithm type="Cartesian_3D"
+               label-id="Body Fitting"
+               icon-id="mesh_algo_hexa.png"
+               hypos="CartesianParameters3D"
+               support-submeshes="false"
+               dim="3"/>

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:29:43 +0000 (12:29 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

+  interface StdMeshers_CartesianParameters3D : SMESH::SMESH_Hypothesis
+  interface StdMeshers_Cartesian_3D : SMESH::SMESH_3D_Algo

12 years agoMerge from V6_3_BR branch (Windows porting) 27/10/2011
vsr [Thu, 27 Oct 2011 15:33:35 +0000 (15:33 +0000)]
Merge from V6_3_BR branch (Windows porting) 27/10/2011

12 years agoIMP: add a guihelper.py module in SMESH_PY (package salome.smesh) for managing the...
boulant [Thu, 27 Oct 2011 13:45:47 +0000 (13:45 +0000)]
IMP: add a guihelper.py module in SMESH_PY (package salome.smesh) for managing the selection of mesh objects in the object browser.

12 years ago0021410: EDF 2007 SMESH: Problem with the formula of aspect ratio 3D
vsr [Wed, 26 Oct 2011 11:51:35 +0000 (11:51 +0000)]
0021410: EDF 2007 SMESH: Problem with the formula of aspect ratio 3D

12 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 24 Oct 2011 13:13:13 +0000 (13:13 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
   SetMesh() to the filter and not to the predicate

12 years agoin PublishGroup(), for the standalone groups, set full ot empty icon
eap [Mon, 24 Oct 2011 13:12:22 +0000 (13:12 +0000)]
in PublishGroup(), for the standalone groups, set full ot empty icon
depending on availability of elements of type of the group in the mesh

12 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 24 Oct 2011 13:10:19 +0000 (13:10 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
    fix filter processing

12 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 24 Oct 2011 13:09:27 +0000 (13:09 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;

12 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 24 Oct 2011 11:57:06 +0000 (11:57 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;

12 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 24 Oct 2011 11:56:13 +0000 (11:56 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
      Pass the mesh of filter to predicate at setting a mesh and a
      predicate to avoid dump of predicate commands when a group is
      created from GUI

12 years agoPR: compilation on KUbuntu 11.10
prascle [Sun, 23 Oct 2011 11:10:05 +0000 (11:10 +0000)]
PR: compilation on KUbuntu 11.10

12 years ago0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
eap [Mon, 17 Oct 2011 09:59:32 +0000 (09:59 +0000)]
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm

In CleanDependants(), do not call ComputeStateEngine(CLEAN) of a
dependant subMesh if it IsEmpty() in order to prevent infinite CLEAN
via event lesteners

12 years ago0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM
vsr [Fri, 14 Oct 2011 15:09:47 +0000 (15:09 +0000)]
0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM
Avoid endless recursing in FindCoincidentNodes() function (causing crash)

12 years agoFix a bug reported to SALOME Forum http://www.salome-platform.org/forum/forum_10...
eap [Thu, 13 Oct 2011 13:08:51 +0000 (13:08 +0000)]
Fix a bug reported to SALOME Forum salome-platform.org/forum/forum_10/372035859

-      if ( helper.IsSubShape( *e, F ) && BRep_Tool::Curve( *e, loc,f,l))
+      if ( helper.IsSubShape( *e, F ) && !BRep_Tool::Curve( *e, loc,f,l).IsNull() )

12 years ago0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells
eap [Thu, 13 Oct 2011 06:35:00 +0000 (06:35 +0000)]
0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells
   Forbid 3D mesh on the SHELL

12 years agoremove excess includes
eap [Thu, 13 Oct 2011 06:08:37 +0000 (06:08 +0000)]
remove excess includes

12 years ago0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
eap [Thu, 13 Oct 2011 05:35:12 +0000 (05:35 +0000)]
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
   fix for projection of a group

12 years ago0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
eap [Thu, 13 Oct 2011 05:35:11 +0000 (05:35 +0000)]
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm

12 years agouse helper.GetCommonAncestor()
eap [Thu, 13 Oct 2011 05:34:25 +0000 (05:34 +0000)]
use helper.GetCommonAncestor()

12 years ago0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
eap [Thu, 13 Oct 2011 05:31:21 +0000 (05:31 +0000)]
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm

   /*!
+   * \brief Return nodes in the order they encounter while walking along the side.
+    * For a closed side, the 1st point repeats at end
+   */
+  std::vector<const SMDS_MeshNode*> GetOrderedNodes() const;

12 years ago0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
eap [Thu, 13 Oct 2011 05:28:51 +0000 (05:28 +0000)]
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm

+    def Projection1D2D(self, geom=0):
+        return Mesh_Projection2D(self,  geom, "Projection_1D2D")

12 years agofix a comment
eap [Thu, 13 Oct 2011 05:28:23 +0000 (05:28 +0000)]
fix a comment

12 years ago0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
eap [Thu, 13 Oct 2011 05:27:59 +0000 (05:27 +0000)]
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm

+  static TopoDS_Shape GetCommonAncestor(const TopoDS_Shape& shape1,
+                                        const TopoDS_Shape& shape2,
+                                        const SMESH_Mesh&   mesh,
+                                        TopAbs_ShapeEnum    ancestorType);

+  std::pair<int, TopAbs_ShapeEnum> GetMediumPos(const SMDS_MeshNode* n1,
+                                                const SMDS_MeshNode* n2);

12 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Wed, 12 Oct 2011 18:06:28 +0000 (18:06 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
   set a more human readable name to the filter

12 years ago0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
eap [Fri, 7 Oct 2011 11:36:22 +0000 (11:36 +0000)]
0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
   use tolerance computed basing on min linear size of elements to import

12 years ago0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
eap [Fri, 7 Oct 2011 11:35:39 +0000 (11:35 +0000)]
0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
   in _Listener::ProcessEvent(), clear n2n and e2e maps at CLEAN event

12 years agofix Mesh_UseExistingElements.SourceEdges()
eap [Thu, 6 Oct 2011 16:02:40 +0000 (16:02 +0000)]
fix Mesh_UseExistingElements.SourceEdges()

12 years ago0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadra...
eap [Thu, 6 Oct 2011 16:01:08 +0000 (16:01 +0000)]
0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadratic conversion with nodes on geometry
   In FixQuadraticElements(), enhance detection of straight links

12 years ago0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadra...
eap [Thu, 6 Oct 2011 15:59:05 +0000 (15:59 +0000)]
0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadratic conversion with nodes on geometry

+  double MinLinearSize2() const;
+  // Return minimal square distance between connected corner nodes

12 years agountabify
eap [Thu, 6 Oct 2011 12:10:14 +0000 (12:10 +0000)]
untabify

12 years ago0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
eap [Thu, 6 Oct 2011 09:46:34 +0000 (09:46 +0000)]
0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
    Redesign to work with composite cube edges

0021369: EDF SMESH: Meshing of a cube in hexas fails
    fix defining orientation of a side in case of reversed wire

12 years agountabify
eap [Thu, 6 Oct 2011 09:43:59 +0000 (09:43 +0000)]
untabify

12 years ago0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
eap [Thu, 6 Oct 2011 09:43:30 +0000 (09:43 +0000)]
0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh

+  const std::vector<TopoDS_Edge>& Edges() const { return myEdge; }

12 years ago0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
eap [Thu, 6 Oct 2011 09:42:51 +0000 (09:42 +0000)]
0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
    Redesign LoadNodeColumns() to work with a composite base side

12 years agofix comment
eap [Thu, 6 Oct 2011 09:39:29 +0000 (09:39 +0000)]
fix comment

12 years ago0021275: EDF 1681 SMESH: Find the number of nodes of any group
vsr [Wed, 5 Oct 2011 10:22:15 +0000 (10:22 +0000)]
0021275: EDF 1681 SMESH: Find the number of nodes of any group
Additional changes: update doc images

12 years ago0021359: [CEA] Mesh information
vsr [Wed, 5 Oct 2011 08:40:53 +0000 (08:40 +0000)]
0021359: [CEA] Mesh information
Additional minor changes: update doc snapshots

12 years ago0021359: [CEA] Mesh information
vsr [Wed, 5 Oct 2011 08:39:05 +0000 (08:39 +0000)]
0021359: [CEA] Mesh information
Additional minor changes: fix bad layout; fix wrong statement

12 years agoAdditional information:
gdd [Wed, 5 Oct 2011 08:37:54 +0000 (08:37 +0000)]
Additional information:
Number of underlying nodes => Underlying nodes

12 years agoAdditional information:
gdd [Wed, 5 Oct 2011 08:28:05 +0000 (08:28 +0000)]
Additional information:
Number of nodes => Number of underlying nodes