Commit Graph

1784 Commits

Author SHA1 Message Date
eap
c1e553583f 0021338: EDF 1926 SMESH: New controls and filters
+    FT_EqualNodes,
+    FT_EqualEdges,
+    FT_EqualFaces,
+    FT_EqualVolumes,
2012-01-26 16:04:00 +00:00
eap
8931be9b66 0021338: EDF 1926 SMESH: New controls and filters 2012-01-26 16:03:40 +00:00
eap
601f8a87b5 0021338: EDF 1926 SMESH: New controls and filters
Return all nodes from sub-mesh and group
2012-01-26 16:02:10 +00:00
eap
98460fb0dc 0021338: EDF 1926 SMESH: New controls and filters
+  class SMESH_I_EXPORT EqualNodes_i: public virtual POA_SMESH::EqualNodes,
+  class SMESH_I_EXPORT EqualEdges_i: public virtual POA_SMESH::EqualEdges,
+  class SMESH_I_EXPORT EqualFaces_i: public virtual POA_SMESH::EqualFaces,
2012-01-26 15:58:58 +00:00
eap
da61389f82 0021338: EDF 1926 SMESH: New controls and filters
Correctly set mesh modified at transformations
2012-01-26 15:57:56 +00:00
eap
e65e4d9a03 0021338: EDF 1926 SMESH: New controls and filters
+    /*!
+     * \brief Class used to detect mesh modification: IsMeshModified() returns
+     * true if a mesh has changed since last calling IsMeshModified()
+     */
+    class SMESHCONTROLS_EXPORT TMeshModifTracer
2012-01-26 15:56:22 +00:00
eap
2d179048e3 0021338: EDF 1926 SMESH: New controls and filters
Call myPredicate->SetMesh( GetMesh() ) in order to let him update
   his data according to a changed mesh
2012-01-26 15:32:57 +00:00
eap
61915a66ed Fix removal of free nodes 2012-01-26 11:24:22 +00:00
eap
b4e2459e13 Fix RemoveOrphanNodes() to return valid nb of removed nodes 2012-01-26 11:06:16 +00:00
eap
a7d76b7825 0021484: EDF 2087 SMESH: Problem projection
fix search of initial vertex association for group of FACEs

+  TopoDS_Shape getOuterEdge( const TopoDS_Shape theShape1, SMESH_Mesh& mesh )

-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:19:58 +00:00
eap
cbd52f6644 0021484: EDF 2087 SMESH: Problem projection
-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:18:02 +00:00
eap
40a14effec 0021484: EDF 2087 SMESH: Problem projection
Check orientation of faces after simple cases of projection as well
2012-01-25 07:37:32 +00:00
vsr
8ed51b18ba 0021481: [CEA 538] autoconf and med 3 2012-01-24 14:59:27 +00:00
eap
1ef48564e5 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In ~TPreviewMesh(), nullify _myMeshDS after destruction
2012-01-24 13:01:34 +00:00
eap
6a0dd162a9 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In RemoveMesh(), do not erase an iterator pointing to map.end()
2012-01-24 13:00:47 +00:00
eap
fe663d61f6 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In destructor, delete all data and delete mesh DS in a thread
2012-01-24 12:59:44 +00:00
eap
fe75082f74 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
in CreateMesh(), fix storing a new mesh in aStudyContext:

-  aStudyContext->mapMesh[_localId] = aMesh;
+  aStudyContext->mapMesh[_localId-1] = aMesh;
2012-01-24 12:58:12 +00:00
eap
b35e752a84 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
+	$(BOOST_LIB_THREAD)  \
2012-01-24 12:57:05 +00:00
eap
b630c0858f 0021338: EDF 1926 SMESH: New controls and filters 2012-01-24 06:41:04 +00:00
eap
12c12edac4 0021338: EDF 1926 SMESH: New controls and filters
-typedef pair< const SMDS_MeshNode*, const SMDS_MeshNode* >   NLink;
+typedef std::pair< const SMDS_MeshNode*, const SMDS_MeshNode* >   NLink;
2012-01-23 16:15:27 +00:00
eap
8e8c7bd49e 0021338: EDF 1926 SMESH: New controls and filters 2012-01-23 16:15:07 +00:00
eap
ffb69e815c 0021338: EDF 1926 SMESH: New controls and filters
+          case 6028:
+            aControl = SMESH_Actor::eCoincidentNodes;
+            break;
+          case 6029:
+            aControl = SMESH_Actor::eCoincidentElems1D;
+            break;
+          case 6030:
+            aControl = SMESH_Actor:: eCoincidentElems2D;
+            break;
+          case 6031:
+            aControl = SMESH_Actor::eCoincidentElems3D;
2012-01-23 16:15:00 +00:00
eap
a286422371 0021338: EDF 1926 SMESH: New controls and filters
+	-I$(srcdir)/../SMESHUtils
2012-01-23 16:14:27 +00:00
eap
0d35811cbb 0021338: EDF 1926 SMESH: New controls and filters
in SMESH_SubMeshObj::UpdateFunctor() set a part of mesh to eCoincident* functors
2012-01-23 16:13:53 +00:00
eap
c573d1fae4 0021338: EDF 1926 SMESH: New controls and filters
+   eCoincidentNodes, eCoincidentElems1D, eCoincidentElems2D, eCoincidentElems3D };
2012-01-23 16:12:32 +00:00
eap
3ce7e67ad8 0021338: EDF 1926 SMESH: New controls and filters
+    class SMESHCONTROLS_EXPORT CoincidentElements: public Predicate {
+    class SMESHCONTROLS_EXPORT CoincidentNodes: public Predicate {
2012-01-23 16:10:55 +00:00
eap
5b637a30b4 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
Read/write CS and units. Use vector instead of map as TDataSet
2012-01-23 08:02:02 +00:00
eap
83219fd4b2 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
+  inline std::string read_line(std::ifstream& in_stream, const bool next=true)
2012-01-23 08:00:37 +00:00
eap
1b141b0cb9 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files 2012-01-23 08:00:05 +00:00
eap
6a9e9ab497 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix GetMediumPos() to return EDGE instead of FACE for 2 VERTEXes
2012-01-18 12:42:06 +00:00
eap
fbae18cd7f Add "const char* name" argument to consrtucctor of SMESH_subMeshEventListener 2012-01-18 12:07:14 +00:00
eap
8a81427a0c 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix GetOrderedNodes() to work if not all edges are meshed
2012-01-18 12:02:44 +00:00
eap
4f5cf5faab 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix merging new and old nodes in case if not all edges are meshed
2012-01-18 12:01:40 +00:00
eap
025e264849 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
2012-01-18 12:00:29 +00:00
eap
5c991bb2b7 0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole 2012-01-17 13:17:19 +00:00
ana
2633709b28 Fix for the bug IPAL22854: preview is wrong for Create a new mesh 2012-01-16 15:14:07 +00:00
eap
fcf879a78b 0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
fix RemoveExcessIntPoints()
2012-01-16 13:53:29 +00:00
ana
253807f5b3 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 15:11:09 +00:00
ana
2bcd50a8b6 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 14:51:43 +00:00
jfa
53a497b9c8 Mantis issue 0021455: [CEA] internal test fails. 2012-01-13 11:18:46 +00:00
eap
3cdf7352b9 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
2012-01-11 14:14:58 +00:00
eap
17b10b2960 cosmetic changes 2012-01-11 14:11:39 +00:00
eap
9a55aad5ba 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
2012-01-11 09:50:28 +00:00
eap
98921cf0d1 0021330: EDF 1919 SMESH: Convert to quadratic gives wrong elements
fix convertElemToQuadratic()
2012-01-11 08:43:41 +00:00
eap
bfb3c2e489 0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
in MergeNodes(), fix detection of replaced nodes of an elem
2012-01-11 08:15:48 +00:00
gdd
dc0cbc90ec Rename "Delete Groups" into "Delete Groups with Contents" 2012-01-10 14:55:02 +00:00
eap
e8b482055b 0021457: [CEA] import check_mesh stability
in Transform(), reverse elements only if needed
2012-01-10 14:36:48 +00:00
jfa
5acab3d327 Porting to OCCT development version: Standard_PI -> M_PI 2011-12-26 13:07:08 +00:00
eap
ee7c5d0f83 fix the previous integration 2011-12-16 17:13:39 +00:00
eap
933c23d9cb not to dump GetMeshOrder() 2011-12-16 16:16:27 +00:00
eap
5638e6783f 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
2011-12-16 16:14:25 +00:00
eap
faf45035fc 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
2011-12-16 09:34:33 +00:00
eap
5b191ae5dd 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):
2011-12-16 09:32:19 +00:00
eap
209f475f91 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()
2011-12-16 09:31:47 +00:00
eap
32a63e97ee 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
2011-12-16 09:30:53 +00:00
eap
41b91cf1c6 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"
2011-12-16 09:30:05 +00:00
eap
11f855c30a 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
2011-12-16 09:29:06 +00:00
eap
14a1f50419 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
2011-12-16 09:26:40 +00:00
eap
fd5de6779a 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()
2011-12-16 09:22:06 +00:00
eap
032bca98c2 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()
2011-12-16 09:21:35 +00:00
eap
da68d59ab6 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);
2011-12-16 09:14:54 +00:00
eap
2380f80cd3 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
2011-12-16 09:14:18 +00:00
eap
7155478a3e 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
2011-12-16 09:13:11 +00:00
eap
6770f103af 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
2011-12-16 09:11:16 +00:00
eap
5f87831fb4 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
2011-12-16 09:09:24 +00:00
eap
88d5f149b9 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
2011-12-16 09:07:56 +00:00
eap
41ed515a46 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;
2011-12-16 09:06:23 +00:00
eap
3244dc5cc3 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)
2011-12-16 09:05:48 +00:00
eap
6b3bfde679 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()
2011-12-16 09:05:14 +00:00
eap
e059eb1584 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,
2011-12-16 09:02:39 +00:00
ana
44a302322a Additional fix for the bug 0020944: EDF 1464 SMESH: detection of over-constrained elements of a mesh. 2011-12-15 14:35:34 +00:00
ana
6665afd414 Fix for the bug IPAL22828 TC6.4.0: Displayed entities are wrong 2011-12-15 13:32:32 +00:00
eap
8191e5eb44 0021440: EDF 2040 SMESH: Bug translation of a mesh
do not initialize mesh to translate when specifying 2 points
2011-12-13 07:19:41 +00:00
eap
d9297961f7 0021440: EDF 2040 SMESH: Bug translation of a mesh
GetMediumNode(): use Force3D=true if projection on EDGE fails
2011-12-12 11:00:48 +00:00
vsr
493747e8ea Merge from V6_4_BR 05/12/2011 2011-12-05 11:03:04 +00:00
vsr
ef8432633e Fix make distcheck error (merge from V6_4_BR branch) 2011-11-02 13:24:06 +00:00
boulant
b441d65e90 Reverse the function of guihelper in smeshstudytool 2011-10-28 17:00:01 +00:00
boulant
fb93a51d7d small fix 2011-10-28 16:58:35 +00:00
eap
d3f04bfe6b 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
fix SetParametersByDefaults()
2011-10-28 13:44:03 +00:00
eap
e0125dc5c3 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured 2011-10-28 12:57:18 +00:00
eap
7a8ade40f7 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  static std::string CheckExpressionFunction( const std::string& expr,
+                                              const int          convMode)
+    throw (SALOME_Exception);
2011-10-28 12:55:48 +00:00
eap
e182c4b354 use new method SMESH_subMesh::GetAlgo() 2011-10-28 12:55:08 +00:00
eap
2c766c3b15 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+	StdMeshers_CartesianParameters3D.hxx \
+	StdMeshers_Cartesian_3D.hxx
2011-10-28 12:53:31 +00:00
eap
1eedac41d2 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)
2011-10-28 12:52:43 +00:00
eap
edba852a43 + operator<<(const SMESH::string_array& theArg); 2011-10-28 12:51:17 +00:00
eap
66bf37ad1a untabify 2011-10-28 12:50:34 +00:00
eap
72f74a3ee1 + bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const; 2011-10-28 12:49:19 +00:00
eap
41d7b89b3b 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
1) catch SMESH_ComputeError thrown by algo->Compute()
2)
+  SMESH_Algo* GetAlgo() const;
2011-10-28 12:48:56 +00:00
eap
07f1cc8292 speed up NotifySubMeshesHypothesisModification()
+  if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+    return;
2011-10-28 12:47:11 +00:00
eap
577f41d12d improve comment 2011-10-28 12:46:32 +00:00
vsr
b6174726d9 Merge from V6_3_BR branch (Windows porting) 27/10/2011 2011-10-27 15:33:35 +00:00
boulant
1d2d4e6bdc IMP: add a guihelper.py module in SMESH_PY (package salome.smesh) for managing the selection of mesh objects in the object browser. 2011-10-27 13:45:47 +00:00
eap
0ee1eb8432 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
SetMesh() to the filter and not to the predicate
2011-10-24 13:13:13 +00:00
eap
8801aa27ed in PublishGroup(), for the standalone groups, set full ot empty icon
depending on availability of elements of type of the group in the mesh
2011-10-24 13:12:22 +00:00
eap
5dda5df854 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
fix filter processing
2011-10-24 13:10:19 +00:00
eap
bbb7b25fa6 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 13:09:27 +00:00
eap
dee52cd346 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 11:57:06 +00:00
eap
fb68cb5a3d 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
2011-10-24 11:56:13 +00:00
prascle
0cc83ae5e2 PR: compilation on KUbuntu 11.10 2011-10-23 11:10:05 +00:00
eap
1c3b8d413b 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
2011-10-17 09:59:32 +00:00
vsr
26bfcad40a 0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM
Avoid endless recursing in FindCoincidentNodes() function (causing crash)
2011-10-14 15:09:47 +00:00
eap
4df44f5a1e Fix a bug reported to SALOME Forum http://www.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() )
2011-10-13 13:08:51 +00:00
eap
f95be2abe0 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells
Forbid 3D mesh on the SHELL
2011-10-13 06:35:00 +00:00
eap
cf76763e47 remove excess includes 2011-10-13 06:08:37 +00:00
eap
bb2db66613 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
fix for projection of a group
2011-10-13 05:35:12 +00:00
eap
669d7d6d0f 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm 2011-10-13 05:35:11 +00:00
eap
9091ead47e use helper.GetCommonAncestor() 2011-10-13 05:34:25 +00:00
eap
5036f6282e 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;
2011-10-13 05:31:21 +00:00
eap
678e9eaa31 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
+    def Projection1D2D(self, geom=0):
+        return Mesh_Projection2D(self,  geom, "Projection_1D2D")
2011-10-13 05:28:51 +00:00
eap
ce1fe98019 fix a comment 2011-10-13 05:28:23 +00:00
eap
9484b374c3 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);
2011-10-13 05:27:59 +00:00
eap
fb7637f099 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
set a more human readable name to the filter
2011-10-12 18:06:28 +00:00
eap
7133933036 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
use tolerance computed basing on min linear size of elements to import
2011-10-07 11:36:22 +00:00
eap
1064303dd1 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
in _Listener::ProcessEvent(), clear n2n and e2e maps at CLEAN event
2011-10-07 11:35:39 +00:00
eap
bf2f45b258 fix Mesh_UseExistingElements.SourceEdges() 2011-10-06 16:02:40 +00:00
eap
eaff026082 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
2011-10-06 16:01:08 +00:00
eap
1d668d5560 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
2011-10-06 15:59:05 +00:00
eap
bc5760bd4e untabify 2011-10-06 12:10:14 +00:00
eap
e30e0260ae 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
2011-10-06 09:46:34 +00:00
eap
1f44408d18 untabify 2011-10-06 09:43:59 +00:00
eap
59786ee5ea 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
+  const std::vector<TopoDS_Edge>& Edges() const { return myEdge; }
2011-10-06 09:43:30 +00:00
eap
9ff48e7e76 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
Redesign LoadNodeColumns() to work with a composite base side
2011-10-06 09:42:51 +00:00
eap
d36c35f9a2 fix comment 2011-10-06 09:39:29 +00:00
vsr
6dce27e43b 0021359: [CEA] Mesh information
Additional minor changes: fix bad layout; fix wrong statement
2011-10-05 08:39:05 +00:00
gdd
2dbfdb63ff Additional information:
Number of underlying nodes => Underlying nodes
2011-10-05 08:37:54 +00:00
gdd
23a8638194 Additional information:
Number of nodes => Number of underlying nodes
2011-10-05 08:28:05 +00:00
eap
f734fda203 0020716: EDF 1229 SMESH : Improvement of reversed edges dialog box
+def FirstVertexOnCurve(edge):
+    def ReversedEdgeIndices(self, reverseList):
2011-10-05 08:15:51 +00:00
gdd
c0ac1b2932 Update French resource file 2011-10-05 06:16:34 +00:00
vsr
f107eb7da4 0021275: EDF 1681 SMESH: Find the number of nodes of any group
0021359: [CEA] Mesh information
2011-10-04 14:19:30 +00:00
eap
fe3063e74b 0021275: EDF 1681 SMESH: Find the number of nodes of any group
remove 100000 limit
2011-10-04 14:01:58 +00:00
vsr
a75dad97e1 0021275: EDF 1681 SMESH: Find the number of nodes of any group
0021359: [CEA] Mesh information
2011-10-04 13:24:48 +00:00
vsr
5d42bfdbec 0021275: EDF 1681 SMESH: Find the number of nodes of any group
0021359: [CEA] Mesh information
2011-10-04 13:14:47 +00:00
eap
4fc70c1e15 in GetCriterion(), check enumeration type of Treshold and CritType 2011-10-04 09:02:21 +00:00
eap
89e2fe991e 0021275: EDF 1681 SMESH: Find the number of nodes of any group
fix GetTic()
2011-10-04 08:53:35 +00:00
eap
c39387f140 untabify 2011-10-04 07:19:13 +00:00
eap
af3090f59b 0021275: EDF 1681 SMESH: Find the number of nodes of any group
+  virtual int GetTic() const;
2011-10-04 07:17:28 +00:00
eap
044576569d 0021275: EDF 1681 SMESH: Find the number of nodes of any group
+    long GetNumberOfNodes();
+    long_array GetNodeIDs();
+    boolean IsNodeInfoAvailable();
2011-10-04 07:17:02 +00:00
rnv
a1f18f175a Additional fix for the "20984: EDF 1566 SMESH: Better visibility of the elements in a shrinked representation" issue. 2011-10-03 07:52:38 +00:00
rnv
3bf038b8b5 Implementation of the issue 20984: EDF 1566 SMESH: Better visibility of the elements in a shrinked representation. 2011-09-28 11:36:47 +00:00
rnv
48a0df2a9e Implementation of the issue 20984: EDF 1566 SMESH: Better visibility of the elements in a shrinked representation. 2011-09-28 08:43:35 +00:00
rnv
6722eec5f5 Implementation of the issue 21285: EDF 1877 SMESH: Color of groups is only visible on one side. 2011-09-26 10:41:06 +00:00
rnv
92675bafdf Implementation of the issue 21276: EDF 1857 SMESH: Order of algorithms in the combobox 2011-09-22 11:56:53 +00:00
rnv
4a818e20d5 Fix for the issue "21356: EDF 1705 SMESH: Extrusion along a path using a mesh w/o geometry". 2011-09-22 07:07:55 +00:00
eap
0f954310b4 0021363: EDF 1957 SMESH: Use of viscous layers with BLSURF
fix up incorrect uv of nodes on the FACE
2011-09-20 08:08:23 +00:00
rnv
d5627df2d4 Additional modifications for the "20494: EDF 1123 KERNEL/GUI : Improvment of 'About' dialog box." issue. 2011-09-16 06:22:33 +00:00
eap
9243678000 0021358: [CEA 500] SMESH HEXAHEDRA from 2D quad skin detect a error
Fix detection of corner nodes for blocks of size 1x1x1
2011-09-14 08:49:33 +00:00
gdd
9b32250146 Convert text to Qt::tr 2011-09-14 08:42:44 +00:00
rnv
9d3b3bf258 Implementation of the "20494: EDF 1123 KERNEL/GUI : Improvment of 'About' dialog box" issue. 2011-09-13 09:03:12 +00:00
gdd
9116958a2b Update Hexotic doc and remove some MESSAGE 2011-09-06 14:40:22 +00:00
eap
efd5d0e9d1 Fix error message for the case of adjacent faces with triangular elements 2011-09-05 07:16:47 +00:00
gdd
55f8593d0d Comment MESSAGE 2011-09-02 14:04:37 +00:00
gdd
03bbe4915a Update wrapping for BLSURFPLUGIN and GHS3DPLUGIN hypothesis 2011-09-02 11:58:22 +00:00
gdd
bff1e1c08e Remove message 2011-09-02 11:57:46 +00:00
gdd
42735de02e Fix and update translation files 2011-09-01 13:40:01 +00:00
eap
6d8aa3f0c8 Fix the bug reported at the SALOME forum http://salome-platform.org/forum/forum_10/510395693
map scale distribution of parameter to edge length
2011-09-01 11:34:43 +00:00
eap
7eb6cc5064 Fix a bug reported at the SALOME forum http://www.salome-platform.org/forum/forum_10/156409406
-  bool ok;
+  bool ok = true;
2011-08-30 10:59:48 +00:00
gdd
b19b5319ed PreCAD: minor change in function doc 2011-08-29 12:57:50 +00:00
eap
dad3caa028 0021348: EDF 1944 SMESH: Problem to assign a3D algorithm on a mixt 2D/3D shape
fix defining shape dimension
2011-08-25 09:25:27 +00:00
eap
48da63cb03 bug of NbElements() which misses nb of SEG2 elements 2011-08-24 17:03:36 +00:00
gdd
852a987961 PreCAD: add wrapping to SetPreCADOptionValue(optin,value) 2011-08-24 08:16:19 +00:00
gdd
0fdb0ecc07 PreCAD 2011-08-23 08:47:39 +00:00
eap
b9a943c613 021346: EDF 1938 SMESH: "Use existing elements" functionality
fix the bug that edges on the seam edges are not created
2011-08-22 08:44:59 +00:00
eap
6f68ffe5b7 021346: EDF 1938 SMESH: "Use existing elements" functionality
fix comments
2011-08-22 08:44:12 +00:00
eap
e7f669eb81 021346: EDF 1938 SMESH: "Use existing elements" functionality
In Load(), call hyp->UpdateAsMeshesRestored() before submesh->ComputeStateEngine(SUBMESH_RESTORED)
2011-08-22 08:43:48 +00:00
eap
01eee42f01 021346: EDF 1938 SMESH: "Use existing elements" functionality
Improve comments
2011-08-22 07:36:31 +00:00
eap
2edfe63af3 0021345: EDF 1936 : Problem in submeshes management
In ProcessEvent(), fix detection of algo removal
2011-08-19 12:38:38 +00:00
eap
2d61b98c65 0021345: EDF 1936 : Problem in submeshes management
+  static std::string AlgoName();
2011-08-19 12:37:32 +00:00
eap
c267141b79 Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing" discussion 2011-08-19 12:36:55 +00:00
eap
e8367fb018 Add SMESHUtils to DIST_SUBDIRS 2011-08-17 07:55:17 +00:00
eap
6e690a66ae Fix for platforms where conversion int -> cgsize_t does not work 2011-08-16 07:49:49 +00:00
eap
9358bbf48e - ../Driver/libSMESHUtils.la
+	../SMESHUtils/libSMESHUtils.la
2011-08-16 07:46:26 +00:00
vsr
ca435d2f6b Merge from V6_3_BR 12/08/2011 2011-08-12 15:16:02 +00:00
jfa
33fc29c42a Porting to OCCT6.5.1 2011-08-12 13:12:13 +00:00
rnv
012489a7e9 Win32 compilation. 2011-08-12 08:21:18 +00:00
rnv
d8ff2c2e8b Fix for the bug "IPAL22690 time stamp popup is wrong after work in Mesh". 2011-08-12 08:18:03 +00:00
jfa
d566947c69 Porting to OCCT6.5.1 2011-08-11 13:54:07 +00:00
eap
39841ffadd 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
make CGNS library an optional prerequisite
2011-08-11 11:38:37 +00:00
eap
54d766ea04 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Fix ExportCGNS()
2011-08-10 12:49:49 +00:00
eap
34bcb9e1fb 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 12:49:26 +00:00
eap
52749e3d7f 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 10:33:38 +00:00
eap
8fd7836b55 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../SMESHDS \
2011-08-10 10:29:41 +00:00
eap
17e2284321 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  SMESH::mesh_array* CreateMeshesFromCGNS( const char* theFileName,
+                                           SMESH::DriverMED_ReadStatus& theStatus )
2011-08-10 10:28:52 +00:00
eap
f1b9e57c55 In StringToFunctorType(), return FT_Undefined for an invalid input 2011-08-10 10:27:45 +00:00
eap
339862d49c 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../DriverCGNS \
+	-I$(srcdir)/../SMESHUtils \
2011-08-10 10:22:48 +00:00
eap
dadf483025 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../SMESHUtils \
2011-08-10 10:21:21 +00:00
eap
77ea3f0fc9 strip trailing white spaces of the object name 2011-08-10 10:21:05 +00:00
eap
418c46e962 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Move general utils independent of SMESH data structures to SMESHUtils
2011-08-10 10:18:40 +00:00
eap
b87bbe0ce5 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	SMESHUtils \
+	DriverCGNS \
2011-08-10 10:18:09 +00:00
eap
4913698067 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  SMESH_Group (SMESHDS_GroupBase* groupDS);
2011-08-10 10:17:44 +00:00
eap
111c7a0cd2 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 10:17:29 +00:00
eap
e17197e86b 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Remove stub files

-	DriverUNV_R_SMESHDS_Mesh.cxx \
-	DriverUNV_R_SMESHDS_Document.cxx \
-	DriverUNV_W_SMESHDS_Document.cxx \
-	DriverUNV_W_SMESHDS_Mesh.cxx \
2011-08-10 10:14:20 +00:00
eap
4d40b01642 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../SMESHUtils \
2011-08-10 10:13:50 +00:00
eap
6479700566 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Remove stub files

-	DriverMED_R_SMDS_Mesh.cxx \
-	DriverMED_R_SMESHDS_Document.cxx \
-	DriverMED_W_SMDS_Mesh.cxx \
-	DriverMED_W_SMESHDS_Document.cxx \
2011-08-10 10:13:23 +00:00
eap
f54d16f2aa 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Remove stub files

-	DriverDAT_R_SMESHDS_Mesh.cxx \
-	DriverDAT_R_SMESHDS_Document.cxx \
-	DriverDAT_W_SMDS_Mesh.cxx \
-	DriverDAT_W_SMESHDS_Mesh.cxx \
-	DriverDAT_W_SMESHDS_Document.cxx
2011-08-10 10:12:00 +00:00
eap
75bac8d6f5 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 10:10:26 +00:00
eap
ab30ed84d6 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Move SMESH_Controls.hxx from src/Controls to avoid mutual
    dependency between SMESHDS and Controls
2011-08-10 10:10:03 +00:00
eap
6725a9aa57 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  virtual void SetMeshName(const std::string& theMeshName);
+  virtual std::string GetMeshName() const;
+  Status addMessage(const std::string& msg, const bool isFatal=false);
2011-08-10 10:09:22 +00:00
eap
109378a75d 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
more comments
2011-08-10 10:05:12 +00:00
eap
55fc6f9383 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  // Groups. SMESHDS_Mesh is not an owner of groups
2011-08-10 10:04:47 +00:00
eap
2ddb295e4a 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
-  virtual int Extent();
+  virtual int Extent() const;
2011-08-10 10:04:00 +00:00
eap
4f20185178 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Move SMESH_Controls.hxx from src/Controls to avoid mutual
    dependency between SMESHDS and Controls
2011-08-10 09:58:51 +00:00
eap
db1a1fcbb7 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Fix setFace(): correctly take into account IsFaceExternal() for the polyhedron
2011-08-10 09:56:47 +00:00
eap
406dc55fef 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other);
2011-08-10 09:54:13 +00:00
eap
c9acf11dee use the hint when inserting into the std::set 2011-08-10 09:52:47 +00:00
eap
40c13601ee typo 2011-08-10 09:51:58 +00:00
vsr
e062bbd055 0021343: EDF 1930 SMESH: Huge memory occupation when assigning an hypothesis to a big model 2011-08-09 08:39:43 +00:00
vsr
38b9ea6198 0021343: EDF 1930 SMESH: Huge memory occupation when assigning an hypothesis to a big model 2011-08-09 07:46:44 +00:00
eap
d867e9b08b 0021330]: EDF 1919 SMESH: Convert to quadratic gives wrong elements
if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
+         surface->IsUClosed()   || surface->IsVClosed() )
2011-08-02 09:35:37 +00:00
gdd
6a49124672 Add wrapper to .mesh export from BLSURFPLUGIN 2011-07-28 16:50:48 +00:00
gdd
8eaa53c526 Add PreCAD wrappers 2011-07-26 17:48:10 +00:00
gdd
78fd150f79 Add PreCAD
Update doc
Update smeshDC.py
2011-07-26 17:18:04 +00:00
gdd
eed8bfc30b Check return value of Parameters() before setting values (BlSurf, GHS3D, GHS3DPRL) 2011-07-26 09:02:17 +00:00
eap
6426baa9f3 0021327: EDF 1915 SMESH: impossible to select a group to copy mesh
trim white spaces at end of object name, else the object seems not selected
2011-07-19 12:57:51 +00:00
vsr
39f36db219 Merge from V6_3_BR 19/07/2011 2011-07-19 12:05:24 +00:00
eap
191bcced1c 0021327: EDF 1915 SMESH: impossible to select a group to copy mesh
trim white spaces at end of object name, else the object seems not selected
2011-07-19 11:27:02 +00:00
eap
d3d686d410 - $(CORBA_CXXFLAGS) \
-        $(CORBA_INCLUDES) \
2011-07-15 14:55:38 +00:00
vsr
91c92cb543 Merge from V6_3_BR 15/07/2011 2011-07-15 11:19:53 +00:00
eap
34fc026192 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
fix selection/visualization mode at changing the group type
2011-07-11 07:22:14 +00:00
eap
e6c056f8c0 - -I$(srcdir)/../SMESHImpl \
-	../SMESH_I/libSMESHEngine.la \
2011-07-07 15:27:29 +00:00
eap
41cf70d768 0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
improve comment of getFunctNames()
2011-07-07 14:23:09 +00:00
eap
6263d10065 0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
In FunctorTypeToString(), return "FT_Undefined" for an invalid input
2011-07-07 14:21:27 +00:00
eap
974453b6c1 0021271: [CEA 473] Implement min size in netgen plugin
::SMESH_Hypothesis::TDefaults dflts;
+    dflts._shape = &shape;
2011-07-05 12:07:17 +00:00
eap
fa4bd0dfc4 0021271: [CEA 473] Implement min size in netgen plugin
struct TDefaults
   {
     double        _elemLength;
     int           _nbSegments;
+    TopoDS_Shape* _shape; // future shape of the mesh being created
   };
2011-07-05 12:06:17 +00:00
eap
2ef67f753e restore "QuadranglePreference" hyp as it can be used by NETGEN 2D
together with "Max. Elemet Area" for example
2011-07-05 12:04:49 +00:00
eap
b6fe67a04f initialize the Curve Adaptor using range of the edge 2011-07-01 15:45:09 +00:00
eap
ce5494a2c1 Suppress some doxygen warnings 2011-06-28 13:01:22 +00:00
eap
d8c160ee27 Create StdMeshers_QuadrangleParams hyp instead of "Quadrangle
preference" and "Triangle preference" obsolete hypotheses
2011-06-28 13:00:19 +00:00
eap
c58c3faf74 Remove "Quadrangle preference" and "Triangle preference" obsolete hypotheses 2011-06-28 12:58:21 +00:00
eap
eec523867a IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
Treate a case where a valid mesh is computed anyhow while the algo reports errors
2011-06-28 11:55:57 +00:00
eap
0650af74ab IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
1) Treate a case where a valid mesh is computed anyhow while the algo reports errors
    2) Remove unused
-  bool ApplyToCollection (SMESH_Algo*         theAlgo,
-                          const TopoDS_Shape& theCollection);
2011-06-28 11:54:43 +00:00
eap
3eefc085d8 IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
Treate a case where a valid mesh is computed anyhow while the algo reports errors

+  enum EMeshError { MEr_OK = 0, MEr_HOLES, MEr_BAD_ORI, MEr_EMPTY };
+
+  /*!
+   * \brief Finds topological errors of a sub-mesh
+   */
+  static EMeshError GetMeshError(SMESH_subMesh* subMesh);
2011-06-28 11:53:37 +00:00
eap
454d871477 IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
Treate a case where a valid mesh is computed anyhow while the algo reports errors

+  COMPERR_WARNING        = -10  //!< algo reports error but sub-mesh is computed anyway

+  bool IsKO()     { return myName != COMPERR_OK && myName != COMPERR_WARNING; }
2011-06-28 11:52:56 +00:00
eap
c5438eec06 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
fix bug of editing a not standalone group
2011-06-27 07:57:51 +00:00
eap
a6fa2d8561 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
icon for SMESH_GroupOnFilter
2011-06-24 08:36:34 +00:00
eap
ca0e6f7ceb 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
icon for SMESH_GroupOnFilter
2011-06-24 06:53:07 +00:00
eap
066bcc3471 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
To create/edit SMESH_GroupOnFilter
2011-06-23 12:39:01 +00:00
eap
d0b3f328a8 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+    def GetFilterFromCriteria(self,criteria):
+    def GroupOnFilter(self, typ, name, filter):
2011-06-23 12:38:38 +00:00
eap
00d6e38575 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Make groupType() return "SMESH_GroupOnFilter"
2011-06-23 12:37:17 +00:00
eap
74a4f1012d 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
1) make 'Mesh' be a default 'Source'
2)
+  SMESH::Filter_var         GetFilter() const;
+  void                      SetFilter(SMESH::Filter_var filter, int type);
2011-06-23 12:36:03 +00:00
eap
03ccec76c7 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+  SMESH::Filter_var         GetFilter() const;
+  void                      SetFilter(SMESH::Filter_var filter, int type);
2011-06-23 12:34:55 +00:00
eap
cb376aa1de 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
To edit SMESH_GroupOnFilter
2011-06-23 12:34:17 +00:00
eap
bd284fc142 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+  SMESH::SMESH_GroupOnFilter_ptr CreateGroupFromFilter()
2011-06-23 12:30:17 +00:00
eap
fa0176f072 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+class SMESH_GroupOnFilter_i:
2011-06-23 12:29:23 +00:00
eap
41ea31ca86 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Save and Load SMESH_GroupOnFilter
2011-06-23 12:26:04 +00:00
eap
a39a0e1f84 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
1) fix dump of Filter_i::SetCriteria()
2)
+    void Filter_i::AddWaiter( TPredicateChangeWaiter* waiter );
+    void Filter_i::RemoveWaiter( TPredicateChangeWaiter* waiter );
3)
+  const char*        SMESH::FunctorTypeToString(SMESH::FunctorType ft);
+  SMESH::FunctorType SMESH::StringToFunctorType(const char*       str);
2011-06-23 12:25:04 +00:00
eap
fe2d0f0f5c 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class Filter_i
   {
+    struct TPredicateChangeWaiter
+    {
+      virtual void PredicateChanged() = 0;
+    };
+    void AddWaiter( TPredicateChangeWaiter* waiter );
+    void RemoveWaiter( TPredicateChangeWaiter* waiter );

+    std::list<TPredicateChangeWaiter*> myWaiters;


+  const char*        FunctorTypeToString(SMESH::FunctorType ft);
+  SMESH::FunctorType StringToFunctorType(const char*       str);
2011-06-23 12:23:49 +00:00
eap
56793b53d1 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Fix dump of SMESH_IDSource which is Filter
2011-06-23 12:20:30 +00:00
eap
b3cba8f4fd 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
1) convert SMESH.Filter.Criterion() to GetCriterion()
2)
+_pyGroup::Process()
+_pyFilter::Process()
2011-06-23 12:19:06 +00:00
eap
c31705d887 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+class _pyGroup
+class _pyFilter
2011-06-23 12:15:16 +00:00
eap
00b26b695f 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
To remove sub-filters if necessary

-  SMESH_LogicalFilter( const QList<SUIT_SelectionFilter*>&, const int );
+  SMESH_LogicalFilter( const QList<SUIT_SelectionFilter*>&, const int, bool takeOwnership=false );

 private:
+  void                          deleteFilters();
2011-06-23 12:14:05 +00:00
eap
b21414354c 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
SMESH_Group* AddGroup (const SMDSAbs_ElementType theType,
                          const char*               theName,
                          int&                      theId,
                          const TopoDS_Shape&       theShape=TopoDS_Shape(),
+                         const SMESH_PredicatePtr& thePredicate=SMESH_PredicatePtr());
2011-06-23 12:12:22 +00:00
eap
f1c62974f6 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
SMESH_Group (int                       theID,
               const SMESH_Mesh*         theMesh,
               const SMDSAbs_ElementType theType,
               const char*               theName,
               const TopoDS_Shape&       theShape = TopoDS_Shape(),
+              const SMESH_PredicatePtr& thePredicate = SMESH_PredicatePtr());
2011-06-23 12:11:40 +00:00
eap
d73cacdd51 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Move definition of abstract classes Functor and Predicate from
   SMESH_ControlsDef.hxx to SMESH_Controls.hxx
2011-06-23 12:10:32 +00:00
eap
ec36250a0d 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+	SMESHDS_GroupOnFilter.cxx
2011-06-23 12:06:37 +00:00
eap
ac5729075f 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+	SMESHDS_GroupOnFilter.cxx

+	-I$(srcdir)/../Controls
2011-06-23 12:06:12 +00:00
eap
77d9e5ae72 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
-  int GetID (const int theIndex);
+  virtual int GetID (const int theIndex);
2011-06-23 12:05:43 +00:00
eap
e92088a576 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
-  unsigned long GetMTime();
+  unsigned long GetMTime() const;
2011-06-23 12:04:34 +00:00
eap
70aa7fe704 0020743: EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint() on groups 2011-06-14 14:10:39 +00:00
eap
d502285de5 0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups 2011-06-14 14:10:15 +00:00
eap
105bb4233f 0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups 2011-06-14 14:10:01 +00:00
eap
89c40c21f3 0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups
+  virtual int             dim( int ) const;
2011-06-14 14:08:45 +00:00
eap
a18ad2978f 0020743: EDF 1271 SMESH : Create a mesh from a group
export, FindElementByPoint() on groups
2011-06-14 13:58:29 +00:00
eap
d8c39ff840 0020743: EDF 1271 SMESH : Create a mesh from a group / export,FindElementByPoint() groups
1) convert
+  { // ExportPartTo*(part, ...) -> Export*(..., part)

+  // FindAmongElementsByPoint(meshPart, x, y, z, elementType) ->
+  // FindElementsByPoint(x, y, z, elementType, meshPart)

  2) make _pyCommand::GetArg() work with any compex arg like list, tuple etc
2011-06-14 13:57:24 +00:00
eap
4fcec244fd + case ELEM0D:myStream<<"ELEM0D";break; 2011-06-14 13:54:50 +00:00
eap
7d0549090a 0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() groups
+  /*!
+   * Searching among the given elements, return elements of given type
+   * where the given point is IN or ON.
+   * 'ALL' type means elements of any type excluding nodes
+   */
+  SMESH::long_array* FindAmongElementsByPoint(SMESH::SMESH_IDSource_ptr elements,
+                                              CORBA::Double             x,
+                                              CORBA::Double             y,
+                                              CORBA::Double             z,
+                                              SMESH::ElementType        type);
2011-06-14 13:54:32 +00:00
eap
9012a64442 0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
+  void ExportPartToMED(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file,
+                       CORBA::Boolean            auto_groups,
+                       SMESH::MED_VERSION        version,
+                       CORBA::Boolean            overwrite) throw (SALOME::SALOME_Exception);
+  void ExportPartToDAT(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file) throw (SALOME::SALOME_Exception);
+  void ExportPartToUNV(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file) throw (SALOME::SALOME_Exception);
+  void ExportPartToSTL(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file,
+                       CORBA::Boolean            isascii) throw (SALOME::SALOME_Exception);
2011-06-14 13:53:16 +00:00
eap
eb57bc9623 improve comments 2011-06-14 13:51:55 +00:00
eap
00fdc117cd 0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
void ExportMED(const char *file,
                  const char* theMeshName = NULL,
                  bool theAutoGroups = true,
-                 int theVersion = 0)
+                 int theVersion = 0,
+                 const SMESHDS_Mesh* meshPart = 0)
2011-06-14 13:51:27 +00:00
eap
77b26c3006 0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
+protected:
+  inline void addWithPoly(const SMDS_MeshElement* el);
2011-06-14 13:50:26 +00:00
eap
c9ccfc74e0 0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
+        int Tic() const { return myTic; }
+        int                                     myTic; // to track changes
2011-06-14 13:49:51 +00:00
eap
6a77e2f847 0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
make virtual methods returning iterators on elements
2011-06-14 13:49:08 +00:00
vsr
2c607013a2 Merge from V6_3_BR 06/06/2011 2011-06-06 08:15:39 +00:00
gdd
7191b0d735 Replace oe by ? 2011-05-11 20:41:37 +00:00
ouv
eaefb3fa06 Minor changes (untabify). 2011-04-18 09:59:35 +00:00
ouv
344fb98e28 Note 0010812 from the issue 0020999: EDF 1575 SMESH: Filters and precision preferences 2011-04-18 09:09:24 +00:00
eap
944af78798 Restore support of med-2.1 in MEDWrapper 2011-04-15 09:31:45 +00:00
gdd
3206fe9668 Small update for French translation 2011-04-14 12:42:52 +00:00
gdd
a66401aeb6 rnc : correction from Anthony Geay for a problem with medfiles when containing 0D elements 2011-04-14 12:08:29 +00:00
rnv
e079b751f3 RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis. 2011-04-13 08:03:11 +00:00
prascle
b05c8c76a5 PR: mistake 2011-04-12 17:09:41 +00:00
rnv
2290c49819 1) Fix for the issue "21220: EDF SMESH: Split into tetra from group does not work"
2) Change mechanism of the adding items in the QListWidget.
2011-04-12 12:28:40 +00:00
prascle
b9db0238dc PR: add an independant exe that cuts a tetra mesh by a plane. MeshCut is adpated from EDF project XMESHLAB and works with MED files. 2011-04-12 11:24:20 +00:00
rnv
022168f9e6 Fix for the "21222: SMESH EDF: Impossible to set a threshold value in the filter dialog" issue. 2011-04-11 12:42:27 +00:00
gdd
2d50f1341e rnc : gived some details about ExtrusionSweepObjectXD in documentation 2011-04-11 09:06:11 +00:00
eap
33459aac4f med-2.1 file no longer supported 2011-04-11 07:50:58 +00:00
gdd
f335dddadb Update French Translations 2011-04-08 15:29:33 +00:00
eap
ecdd9a6194 - ExportToMEDX(file,auto_groups,SMESH::MED_V2_1,true);
+  ExportToMEDX(file,auto_groups,SMESH::MED_V2_2,true);
2011-04-08 08:43:48 +00:00
eap
513e407ce6 comment off not used
static bool sameGroupType()
2011-04-08 08:43:30 +00:00
vsr
790c5cfa90 Merge from PortingMED3 07Apr11 2011-04-07 11:53:43 +00:00
eap
ffc4f7e618 0021218: EDF 1832 SMESH: Regression when computing a mesh
fix FindFaceAssociation() using UV
2011-04-06 11:06:53 +00:00
rnv
52a2be7aea Implementation "21042: EDF 1600 ALL: Rename objects in the OB" issue. 2011-04-05 09:25:26 +00:00
prascle
ecea4040f1 PR: create flat elements on face groups (ASTER calculations) 2011-03-30 15:48:07 +00:00
ouv
5f35b29326 Issue 0013373: EDF PAL 273 : Option Single/Multi file dump 2011-03-29 07:37:38 +00:00
prascle
4ac8d07584 PR: DoubleNodesOnGroupBoundaries in progress 2011-03-28 14:46:16 +00:00
eap
9e3ba593d5 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
fix a bug found by Renaud (note 0010641)
2011-03-28 12:22:53 +00:00
gdd
c09e9f7015 rnc: Added a missing translation 2011-03-28 11:54:53 +00:00
ouv
36afbbe8e3 Issue 0021055: EDF 1602 STUDY: Object browser reactualisation when creating an object 2011-03-25 15:25:16 +00:00
barate
7a6a25502e Fixed compilation without .la files from other modules 2011-03-25 14:33:52 +00:00
vsr
14c60ac03b Merge from BR_WIN_INDUS_514 branch 21/03/2011 (Windows industrialization) 2011-03-21 15:23:28 +00:00
vsr
a593ecab98 Fix compilation error on gcc 4.2 2011-03-21 15:12:11 +00:00
rnv
77270c3d82 Small correction for the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus should automatically switch to geometry" issue. 2011-03-21 13:02:22 +00:00
eap
cb561f9569 Fix idSourceToNodeSet() for the case of mesh with free nodes 2011-03-21 10:19:55 +00:00
rnv
81dcf37720 Implementation of the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus should automatically switch to geometry" issue. 2011-03-21 08:17:32 +00:00
adam
0f635a43a3 EA: Fix compilation with gcc-4.5.2 2011-03-19 22:21:45 +00:00
prascle
9f36bbc95a PR: double nodes and flat elements for ASTER calculations in progress 2011-03-19 06:55:48 +00:00
adam
c4bd4ff43b Implement Cancel Compute (end) 2011-03-17 09:53:14 +00:00
adam
911977bc89 Implement Cancel Compute (begin) 2011-03-17 08:53:25 +00:00
adam
5142df035d Implement Cancel Compute (begin) 2011-03-17 08:40:57 +00:00
eap
d992d85973 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh 2011-03-16 15:41:27 +00:00
eap
cfcd4f3b74 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
+    def ConvertToQuadratic(self, theForce3d, theSubMesh=None):
+    def ConvertFromQuadratic(self, theSubMesh=None):
2011-03-16 15:39:18 +00:00
eap
8b06eac8bd 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
class SMESH_MeshEditor_i
{
+  void ConvertToQuadraticObject(CORBA::Boolean            theForce3d,
+                                SMESH::SMESH_IDSource_ptr theObject)
+  void ConvertFromQuadraticObject(SMESH::SMESH_IDSource_ptr theObject)
2011-03-16 15:38:32 +00:00
eap
77e2a3970b 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
+  void AddTLinks(const SMDS_MeshEdge*   edge);
+  void AddTLinks(const SMDS_MeshFace*   face);
+  void AddTLinks(const SMDS_MeshVolume* vol);
2011-03-16 15:36:40 +00:00
eap
59fe802c13 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
+  void ConvertToQuadratic(const bool theForce3d, TIDSortedElemSet& theElements);
+  void ConvertFromQuadratic(TIDSortedElemSet& theElements);
2011-03-16 15:36:15 +00:00
eap
098d6b0723 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
fix the problem with adding elements (elements are not added) after
  {elems removal + addition of elements with specified IDs}:
  1) add elems with IDs 1,2,3
  2) remove elem 1 (1 stored in the pool )
  3) add elem with id 1 (1 remains in the pool)
  4) add elem with no id specified -> not added as GetFreeID() returns
     1 which is already occupied

+  virtual int GetFreeID();
2011-03-16 15:35:00 +00:00
prascle
fcae5eda64 PR: double nodes and flat elements for ASTER calculations in progress 2011-03-16 10:51:52 +00:00
gdd
396e119df0 rnc: unset minimum size of generic hypothesis window in SMESH_GUI hypothesis, so that the minimum sizes set independently in each hypothesis window are now taken into account 2011-03-16 10:36:43 +00:00
prascle
f2dd0cac12 PR: double nodes and flat elements for ASTER calculations in progress 2011-03-15 08:29:06 +00:00
prascle
527af438cd PR: double nodes and flat elements for ASTER calculations in progress 2011-03-14 17:01:56 +00:00
eap
c7177e7a38 in createGroup(), make a unique name if no name is provided 2011-03-14 10:28:54 +00:00
eap
8fd9904246 0021177: EDF 1563 SMESH: Preview of mesh during a modification
fix layout: set "Generate groups" near "Copy Elements"
2011-03-14 09:48:51 +00:00
eap
3ce08c8e48 0021177: EDF 1563 SMESH: Preview of mesh during a modification
set scale near other similar transformations
2011-03-14 09:47:15 +00:00
eap
a2db5e7c30 0021177: EDF 1563 SMESH: Preview of mesh during a modification
to add adjacent elements to preview only when move nodes in this mesh
2011-03-14 08:33:11 +00:00
prascle
bdfc51bda9 PR: double nodes and flat elements for ASTER calculations in progress 2011-03-12 15:07:47 +00:00
eap
7b0ac035d6 0021177: EDF 1563 SMESH: Preview of mesh during a modification
add to preview elements sharing nodes moved by transformation
2011-03-11 16:48:31 +00:00
eap
f27d39d23d 0021177: EDF 1563 SMESH: Preview of mesh during a modification
update preview when action changes ( move <-> copy )
2011-03-11 16:46:37 +00:00
eap
08e8bc3016 - cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;
+  //cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;
2011-03-11 15:32:42 +00:00
rnv
6e4eb47f89 Fix compilation error. 2011-03-11 14:57:25 +00:00
eap
a02de3dacc untabify 2011-03-11 14:36:56 +00:00
eap
05a14a9203 0020749: EDF 1291 SMESH : Create 2D Mesh from 2D improvement
fix comment of MakeBoundaryElements()
2011-03-11 13:18:40 +00:00
eap
28a69ca812 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
-  myDlg->setHypoSets( SMESH::GetHypothesesSets() );
+  myDlg->setHypoSets( SMESH::GetHypothesesSets( shapeDim ));
2011-03-11 13:17:33 +00:00
eap
ed77213c0d 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
-  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );
2011-03-11 13:16:39 +00:00
eap
8b054381e1 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
return names of HypoSets sorted with dimension and [custom] appended

-  QStringList GetHypothesesSets();
+  QStringList GetHypothesesSets( int maxDim );
2011-03-11 13:16:16 +00:00
eap
9296d2af7b 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
class HypothesesSet
{
+  void setIsCustom( bool );
+  bool getIsCustom() const;
+  int maxDim() const;
2011-03-11 13:14:52 +00:00
eap
c1c7d4f3b3 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
fix python dump of MakeBoundaryElements()
2011-03-11 10:55:32 +00:00
eap
c4a24dfe97 unused variable 2011-03-11 10:27:33 +00:00
eap
a619563bc7 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
for note 0010000
2011-03-11 10:18:32 +00:00
eap
d7815a2348 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
for note 0010000

+  CORBA::Long MakeBoundaryElements(SMESH::Bnd_Dimension dimension,
+                                   const char* groupName,
+                                   const char* meshName,
+                                   CORBA::Boolean toCopyAll,
+                                   const SMESH::ListOfIDSources& groups,
+                                   SMESH::SMESH_Mesh_out mesh,
+                                   SMESH::SMESH_Group_out group)
2011-03-11 10:17:50 +00:00
eap
bd4cadfcf0 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
int MakeBoundaryMesh(const TIDSortedElemSet& elements,
                        Bnd_Dimension           dimension,
                        SMESH_Group*            group = 0,
                        SMESH_Mesh*             targetMesh = 0,
                        bool                    toCopyElements = false,
                        bool                    toCopyExistingBondary = false,
+                       bool                    toAddExistingBondary = false,
+                       bool                    aroundElements = false);
2011-03-11 10:15:41 +00:00
eap
aff2414055 1) fix Mesh.__init__(): do not overwrite given mesh name by name of not published geometry
2) 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement

+    def MakeBoundaryElements()
2011-03-11 10:13:41 +00:00
rnv
512a892301 Start implementation of the "21177: EDF 1563 SMESH: Preview of mesh during a modification" issue. 2011-03-11 08:34:40 +00:00
prascle
b3a725059c PR: doubleNodesOnGroupBoundaries in progress 2011-03-09 16:05:51 +00:00
prascle
0edf326ffd PR: remove commented code 2011-03-09 16:03:51 +00:00
prascle
024fa9ffbf PR: commit mistake 2011-03-09 10:01:16 +00:00
prascle
293e2534c0 PR: doubleNodesOnGroupBoundaries in progress 2011-03-09 08:42:21 +00:00
eap
044bc6d891 improve comments of MakeBoundaryMesh() 2011-03-05 13:49:54 +00:00
vsr
ac724740a9 SALOME::GenericObj : Destroy() -> UnRegister() 2011-03-04 15:42:14 +00:00
prascle
5cfaebe1bf PR: getOrderedNodesOfFace for hexahedron 2011-03-03 16:35:32 +00:00
gdd
61fbeb9fea Now the current object(s) selected in the OB is (are) set into the widget when the button is clicked. 2011-03-01 15:26:30 +00:00
eap
5613f2a33c suppress message "Algo supports no multi-parameter hypothesis" with Netgen-1D-2D-3D 2011-03-01 14:36:06 +00:00
rnv
fa15bee5e1 Fix for the issue "21203: EDF 1797 SMESH: SIGSEGV with move node on a Mesh with 0D elements" 2011-03-01 09:35:50 +00:00
jfa
b21fc186af Rename Engines::Component to Engines::EngineComponent 2011-02-28 14:55:52 +00:00
ana
b9918993a1 Fix for the bug IPAL22277: Crash on "Find elements by point" dialog box 2011-02-28 14:52:52 +00:00
eap
d13fde3e5e 0021074: EDF 1682 MESH: Bug with start and end length hypothesis
additionally fix compensateError() (for S_domain.hdf)
2011-02-25 09:07:59 +00:00
gdd
76d6063480 rnc : Made the AddStretch operation optional (previous behaviour is kept) 2011-02-24 16:21:51 +00:00
eap
01f4ed1a85 Fix bug of work with ViscousLayers hyp introduced during
"Redesign again to work with composed cube edges"
2011-02-22 14:30:49 +00:00
eap
e377bfeb20 unused variables 2011-02-22 14:28:14 +00:00
eap
b84e6567f0 Fix GetAxisStruct() by replacing ExtractShapes() by SubShapeAll() 2011-02-22 08:59:08 +00:00
rnv
242f34ddc8 Fix for the bug 21194: EDF SMESH: Cannot display a group by clicking on the "eye" of the OB 2011-02-22 07:57:36 +00:00
adam
ce4b39907d Remove warnings 2011-02-18 11:53:32 +00:00
eap
f0a9396455 ACTION 31.3 from CoTech:
EURIWARE BO: Homogenize the formulas used to calculate the Controls in SMESH to fit with
those of ParaView. The library used by ParaView for those calculations can be reused in SMESH.
2011-02-17 14:37:46 +00:00
eap
18e25f5736 excess semicolons 2011-02-17 13:54:05 +00:00
rnv
fbd01b197c Implementation of the "20830: EDF 1357 GUI : Hide/Show Icon"
(at the moment implemeted only in GEOM and SMESH modules).
2011-02-17 08:12:24 +00:00
eap
bd6b92b1da 0020974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be removed
Treat the case where a quadrilateral FACE includes the 5th degenerated EDGE

+  void UpdateDegenUV(FaceQuadStruct* quad);
+  void Smooth (FaceQuadStruct* quad);
2011-02-16 10:24:50 +00:00
eap
58ac21315b typos 2011-02-16 10:19:04 +00:00
eap
4ebc2ac980 untabify 2011-02-16 10:18:08 +00:00
vsr
9f513fd3a3 Modify GetCriterion() to take into account the case when tolerance is passed via UnaryOp parameter 2011-02-15 14:12:03 +00:00
adam
696c252ac8 cmake compatibility 2011-02-15 11:46:11 +00:00
eap
69b571614d in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET 2011-02-11 15:20:50 +00:00
eap
4903340a61 untabify 2011-02-11 15:20:04 +00:00
eap
904e9a8802 Add polyhedron type to my3DExtActor
+  aFilter->RegisterCellsWithType(VTK_POLYHEDRON);
2011-02-11 15:19:49 +00:00
eap
df50de7d46 0021153: [CEA] non regression test fails
Fix RemoveNode() and RemoveElement(): erase only elements
         belonging to this sub-mesh
2011-02-10 13:31:17 +00:00
eap
7d73daf123 0021153: [CEA] non regression test fails
Improve removeFromContainers() by taking into account that now mesh
         element knows the sub-mesh it belongs to
2011-02-10 13:30:00 +00:00
vsr
a91bb00475 0021180: EDF 1772 SMESH: Set of hypothesis in 1D
Additional change: enable tabs if no shape is selected
2011-02-10 13:09:43 +00:00
eap
b712c057d5 Modification of hypothesis parameters modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:08:32 +00:00
eap
e5ac48bcf7 Addition and removal of hypotheses modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:02:43 +00:00
ana
95fb8be9ca Fix for the bug IPAL22091: Crash by calling context menu on the SMESH presentation 2011-02-10 08:48:33 +00:00
vsr
36ec1b3d2f 0021176: EDF 1697 SMESH: Smoothing: impossible to select elements of a group 2011-02-10 08:26:27 +00:00
vsr
2fee37828a 0021180: EDF 1772 SMESH: Set of hypothesis in 1D 2011-02-09 15:25:51 +00:00
eap
3c96a71bde Regression of the test case patterns/A8
1) fix an error made during SMDS redesign
-      if (node->getshapeId() <0) {
+      if (node->getshapeId() <1) {
   2) fix an error of Clear() that not all fields are cleared
   3) create polyhedrons only if volume boundary is split by refinement
2011-02-09 13:29:33 +00:00
eap
4ebb8cfccc Regression of the test case imps/A1
In Compute2ndPart(), create a new SMESH_ElementSearcher to avoid
  search of volumes in a proxy mesh contaiting only faces
2011-02-08 12:21:46 +00:00
eap
ae0943024f 0021153]: [CEA] non regression test fails
Fix Mesh.Prism(): replace ExtractShapes() by SubShapeAll() again
2011-02-08 10:26:55 +00:00
eap
0953f1790f Regression of test case bugs/P1
Restore the lost initialization of _nbSegments
2011-02-07 15:08:52 +00:00
eap
977978e76d correct the preceeding patch 2011-02-07 14:27:59 +00:00
eap
44bcdd8f8c Regression of test case bugs/D0
call ComputePentahedralMesh() if the mesh of FACE is quadrangular
  but not structured
2011-02-07 13:52:10 +00:00
eap
ad61c4111d Test case bugs/C2
Fix buildMeshGrille() by taking into account that element ID in smesh
  can't be less that 1 since the recent redesign.
2011-02-07 13:11:11 +00:00
eap
be718d6061 Protect from a distorted block (test 3D_mesh_HEXA3D/B7 on 32bit platform) 2011-02-07 12:23:57 +00:00
eap
68f4ae0cfe 0021153: [CEA] non regression test fails
uninitialized variable
2011-02-04 09:47:29 +00:00
jfa
3bc3b5cb5a Mantis issue 0020834: the mesher of reduced type has been improved. 2011-02-04 09:16:41 +00:00
eap
6beb289c1a 0021122: EDF 1735 SMESH: Bug when saving in .hdf
when creating Mesh on geometry, add to study the not published geometry
2011-02-03 15:07:31 +00:00
eap
692ae6c6e3 0021122: EDF 1735 SMESH: Bug when saving in .hdf
In Mesh_Algorithm.Assign(), add to study the not pubished sub-shape
2011-02-03 12:28:55 +00:00
eap
07112cd8f1 0021153: [CEA] non regression test fails
fix TooCloseAdjacent() w/o shape: correct distinction of domains
2011-02-02 09:47:22 +00:00
eap
d8a28e48bb 0021153: [CEA] non regression test fails
1) at merging pyramids, move the common apex at the middle of 2 apexes
  2) at intersecting pyramids, check all four base-apex directions
2011-02-01 15:25:21 +00:00
eap
d9c073c952 0021153: [CEA] non regression test fails
fix error that pyramids sharing one common node are not checked for intersection
2011-02-01 13:48:56 +00:00
eap
71803bed9f comment unnecessary call
-      SMESH::UpdateNulData(myIObject, true);
+      //SMESH::UpdateNulData(myIObject, true);
2011-02-01 13:46:31 +00:00
eap
6b012bc7d8 fix bug of compactGrid() that the last block of nodes and elements is
not copied if there is no hole after it
2011-02-01 13:42:33 +00:00
eap
f7c8f718f9 fix FPE error at "Clear mesh data" by setting nb of nodes to zero
instead of SMDS_Mesh::chunkSize
2011-02-01 13:40:02 +00:00
eap
b6b8aa7213 fix a misspell in comment 2011-01-31 13:10:15 +00:00
eap
d419c86499 fix indentation 2011-01-31 13:07:39 +00:00
eap
861641c25a 0020973: EDF 1554 GHS3DPLUGIN: Make possible to have a mixed mesh hexa-tetra with GHS3D
enlarge box size of each branch by 1e-10 of root size
2011-01-31 13:07:07 +00:00
vsr
e30e3628ce 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
Allow multiple selection of groups as input
2011-01-31 09:26:19 +00:00
eap
17b5f093a6 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis
Fix invalid discretization of EDGEs: in GetCurve3d(), set Closed flag to WIRE wrapped into BRepAdaptor_CompCurve
2011-01-28 17:04:54 +00:00
eap
910eadfc30 fix file header (comments) 2011-01-28 17:01:19 +00:00
gdd
0cdd86443b Add missing include 2011-01-28 16:21:11 +00:00
eap
facae4f797 0021114: EDF 1736 SMESH: Problem with 3D extrusion
decrease tolerance at checking transformation
2011-01-28 13:33:22 +00:00
eap
8b075049f9 0021130: EDF 1746 SMESH: Issue with export in STL format
Import of STL file via GUI has been enabled
2011-01-28 11:19:54 +00:00
eap
ab928f3773 0021123: EDF 1734 SMESH: Bug with propagation hypothesis 2011-01-28 10:29:23 +00:00
eap
50b08dce3d untabify 2011-01-28 10:29:01 +00:00
ana
4be7efd6bd Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis 2011-01-28 08:38:53 +00:00
eap
20b841039b 0021130: EDF 1746 SMESH: Issue with export in STL format
export any kind of 2D and 3D elements to STL file becomes possible
2011-01-27 16:58:49 +00:00
eap
d0b5d6090a 0021130: EDF 1746 SMESH: Issue with export in STL format
1) write not triangular faces as many triangles
   2) write triangles for missing faces of free facets of volumes
2011-01-27 16:48:44 +00:00
eap
e3409934a4 0021130: EDF 1746 SMESH: Issue with export in STL format
move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ
2011-01-27 16:45:55 +00:00
eap
40b9d1ba43 0021130: EDF 1746 SMESH: Issue with export in STL format
1) move instantiations of templates from separate files to SMESH_TypeDefs.hxx
   2) move frequently used typedefs and small classes from SMESH_MeshEditor to to SMESH_TypeDefs.hxx
2011-01-27 16:44:48 +00:00
vsr
f44e34f568 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Update an anctor when necessary
2011-01-27 14:05:46 +00:00
eap
d976fc7810 0021144: [CEA 441] Problem with projection
+  bool projectBy2DSimilarity()
2011-01-27 13:41:43 +00:00
eap
237e3eaae1 0021144: [CEA 441] Problem with projection
care of degenerated geom EDGEs
2011-01-27 13:41:06 +00:00
eap
b337ba17f3 not initialized value 2011-01-27 13:40:10 +00:00
eap
cbe632e32e unused variable 2011-01-27 13:37:31 +00:00
vsr
20570dd75e 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Fix "bare faces" control problem
2011-01-27 10:14:07 +00:00
vsr
bdebea37d3 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Add new controls support to the SMESHGUI_Selection
2011-01-27 07:40:19 +00:00
eap
b87176dacc unused variable 2011-01-26 14:09:59 +00:00
eap
6cf8eec182 Clear data structures at Compute() finish 2011-01-26 14:09:38 +00:00
eap
0df1e71b77 For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
1) Store TopoDS_Face in FaceQuadStruct
2) Make CheckNbEdges() public
2011-01-26 14:08:42 +00:00
eap
9462051381 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Redesign again to work with composed cube edges
2011-01-26 14:06:40 +00:00
eap
812e5de47f 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Fix SplitVolumesIntoTetra() taking into account changed behavior
    of the complex SMESHDS_SubMesh
2011-01-26 13:40:27 +00:00
eap
98119844c8 0021140: EDF 1759 SMESH: Netgen1D2D fails on subshape
Fix work on edges computed with the Composed Segment discretizer
2011-01-25 14:46:58 +00:00
eap
063408f854 untabify 2011-01-25 14:45:34 +00:00
eap
bc4ff5ff6c remove useless dump of vertices of failed shape 2011-01-25 14:45:01 +00:00
vsr
f36c4b1044 0021151: [CEA] unit test fails
Use int instead long to decrease memory consumption
2011-01-25 11:38:54 +00:00
vsr
029dc689fe 0021151: [CEA] unit test fails
Index of sub-shape might be greater than 32767 (max allowed value for short type)
2011-01-25 11:23:48 +00:00
eap
266561983c +static int MYDEBUGWITHFILES = 0;//1; 2011-01-24 16:56:10 +00:00
eap
ae954579c5 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Assure stability
2011-01-24 09:17:26 +00:00
eap
80ac3613f8 valid IDs count from 1 2011-01-24 09:15:52 +00:00
gdd
b94b5d0b91 Fix a French translation 2011-01-21 16:34:19 +00:00
gdd
eaf8c3a3b1 Update of French translation files 2011-01-21 15:56:03 +00:00
rnv
1758d524e7 Additional changes for the Point 2 of the "20948: EDF 1468 SMESH: Histogram of the quality controls" issue. 2011-01-21 14:01:49 +00:00
vsr
ddc98ff4c0 0021136: EDF 1748 SMESH: SetAutoColor has no effect in a python script 2011-01-21 12:20:52 +00:00
rnv
18e0bef9d9 Implementation of the Point 2 of the 20948: EDF 1468 SMESH: Histogram of the quality controls. 2011-01-20 15:41:36 +00:00
gdd
9ae572587c Add new method DoubleNodeElemGroupsNew which allows to have the group of newly created elements. 2011-01-18 14:45:18 +00:00
gdd
44f80071d1 Add missing include 2011-01-18 13:02:45 +00:00
eap
c6a711c175 fix SetPosition() 2011-01-18 12:54:18 +00:00
eap
61149a4aee 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers_i.hxx
2011-01-18 12:21:27 +00:00
eap
5c3abea39e \ No newline at end of file0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work with StdMeshers_ViscousLayers
2011-01-18 12:20:52 +00:00
eap
b0cd839dd0 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0 );
+  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
+                                     TopAbs_ShapeEnum aSubShType = TopAbs_EDGE );

+  void                           setFilter();
2011-01-18 12:20:13 +00:00
eap
b01dba1ff2 \ No newline at end of file 2011-01-18 12:19:28 +00:00
eap
b2a261da2b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work after StdMeshers_ViscousLayers
2011-01-18 12:18:56 +00:00
eap
e5bb05c0df 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
2011-01-18 12:17:14 +00:00
eap
bb52dc60e8 monor change 2011-01-18 12:16:37 +00:00
eap
96063cdc0a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Implement Compute() with the viscous layers
2011-01-18 12:16:09 +00:00
eap
e201ae8a2a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers.hxx
2011-01-18 12:15:36 +00:00
eap
44d84c2bb8 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+    def ViscousLayers(self, thickness, numberOfLayers, stretchFactor, ignoreFaces=[]):
2011-01-18 12:15:17 +00:00
eap
daa2cf5397 untabify 2011-01-18 12:14:57 +00:00
eap
f42b1f95af 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  else if ( aHypType == "ViscousLayers")
+    aHelpFileName = "additional_hypo_page.html#viscous_layers_anchor";
2011-01-18 12:14:41 +00:00
eap
715b3d4689 unused variable 2011-01-18 12:14:25 +00:00
eap
db8973dc5c 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject) );
+  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject), bool* isMesh=0 );
2011-01-18 12:14:09 +00:00
eap
02201a772d no more memostat() 2011-01-18 12:11:56 +00:00
eap
78d0067647 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
prevent from an infinite recursion via the event listener
2011-01-18 12:11:00 +00:00
eap
4466dfe1ce 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
1) make CheckNodeUV() and CheckNodeU() optionally return XYZ of node
      projection to shape
   2) prevent ancestors iterator from returning duplicates
   3) move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
   4) for hexa 3D
   static bool LoadNodeColumns(TParam2ColumnMap & theParam2ColumnMap,
                               const TopoDS_Face& theFace,
                               const TopoDS_Edge& theBaseEdge,
                               SMESHDS_Mesh*      theMesh,
+                              SMESH_ProxyMesh*   theProxyMesh=0);
2011-01-18 12:09:32 +00:00
eap
121d45ed88 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
make SMESH_ElementSearcher work on a sub-set of elements
2011-01-18 11:03:09 +00:00
eap
c0b03d98ac 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 11:02:33 +00:00
eap
7b1bae1651 minor change 2011-01-18 11:02:03 +00:00
eap
20cf4f072b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	SMESH_ProxyMesh.hxx
2011-01-18 11:01:28 +00:00
eap
9d606e4a9b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
show arrows on EDGE's only
2011-01-18 10:58:51 +00:00
eap
4a3492c3f1 untabify 2011-01-18 10:58:29 +00:00
eap
8b21a624a6 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make some methods virtual to enable inheriting by StdMeshers_ProxyMesh::SubMesh

+virtual ~SMESHDS_SubMesh()
+void RemoveAllSubmeshes()
2011-01-18 10:57:32 +00:00
eap
f409dd5186 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 10:55:54 +00:00
eap
6a532d5567 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+ SMDS_IteratorOnIterators.hxx
2011-01-18 10:55:06 +00:00
eap
708dbb145f 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  _Self
+  operator++(int)

+  bool
+  operator==(const _Self& __x) const
2011-01-18 10:51:03 +00:00
eap
cbe181b40c untabify 2011-01-18 10:49:35 +00:00
eap
1876773996 remove extra ; 2011-01-18 10:48:28 +00:00
eap
6e58f2fb40 delete node positions at node removal 2011-01-18 10:47:49 +00:00
rnv
0c1947cfe5 Fix for the issue 21127: EDF 1290 SMESH: A user script fails in versions more than 512 2011-01-18 08:46:10 +00:00
gdd
41d66a815f Add default text and style sheet for StdMeshersGUI_ObjectReferenceParamWdg 2011-01-17 10:27:48 +00:00
rnv
96cbac2048 Fix for the 21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion. 2011-01-10 15:38:48 +00:00
akl
07808b26b0 Fix of IPAL22187: mesh is updated now after removing of orphan nodes. 2011-01-10 11:43:47 +00:00
vsr
e74edb9fb4 Code refactoring 2010-12-29 13:17:10 +00:00
jfa
301af5256a Mantis issue 0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group. 2010-12-29 10:27:23 +00:00
rnv
0b0fc19f70 Fix for the issue 0020885: EDF 607 SMESH: Measure tools
(See Additional Note 10037)
2010-12-28 16:29:23 +00:00
ouv
8e1434e86d 0021105: EDF 1179 SMESH: Efficiency of clipping plane in VTK viewer 2010-12-28 12:27:54 +00:00
inv
fc1ff1af4b Issue 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells 2010-12-24 10:59:30 +00:00
inv
2de294b09a Merge from V6_2_BR 23/12/2010 2010-12-24 08:18:34 +00:00
secher
1f7581fe43 use vtkIdType to be independant of architecture 2010-12-15 10:13:32 +00:00
prascle
2b665e09bb PR: debug imps E3 and E7 2010-12-06 16:59:16 +00:00
jfa
85f3ec887b Allow Show/Hide during other SMESH operations. Mantis issue 0021082. 2010-12-06 14:49:00 +00:00
prascle
7013eafe2d PR: debug split into tetras 2010-12-05 22:57:20 +00:00
prascle
43a4d0b5c1 PR: debug polygons and merge nodes 2010-12-05 19:22:06 +00:00
prascle
5927f96360 PR: bug in compactGrid with polyhedrons 2010-12-04 16:50:15 +00:00
prascle
0d10253e8d PR: compactGrid with polyhedrons 2010-12-04 15:44:40 +00:00
prascle
45ed5d9a93 PR: fix Transform method with orphan nodes 2010-12-01 22:56:36 +00:00
prascle
2e16ca1281 PR: correct some warnings 2010-11-30 22:35:24 +00:00
prascle
8fa039a796 merge from branch BR_SMDS_MEMIMP 29 nov 2010 2010-11-29 13:20:53 +00:00
vsr
dd21629a81 Merge from V5_1_main 26/11/2010 2010-11-26 15:48:22 +00:00
vsr
d8f644ca3d Merge from V5_1_main branch 24/11/2010 2010-11-25 12:44:43 +00:00
vsr
dd7baabfa1 0021063: [CEA 434] Compilation using gnu compiler v4.5 2010-11-11 13:02:20 +00:00
vsr
bd9123f5c8 Merge from V6_1_BR 07/09/2010 2010-09-07 14:19:57 +00:00
vsr
3a40107689 Merge from V5_1_main 10/06/2010 2010-06-10 09:43:07 +00:00
vsr
9357f5c870 Merge from V5_1_main 14/05/2010 2010-05-14 15:32:37 +00:00
eap
da57c65070 fix pb with GetName() in case of meshing imported 2D skin 2010-02-19 08:43:22 +00:00
dmv
7ca0689d93 0020701: Additional fix concerned to the GetName Method changes. 2010-02-18 11:28:58 +00:00
eap
a710674f83 020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
* Correct adding geom groups into map of ansestors
2010-02-18 08:29:00 +00:00
eap
b3a24eca49 0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
1) Try to build nodes using transformation before using block approach
2) workaround for wrong surface.Value(u,v) for UV near boundary of BSline surface
2010-02-17 14:59:19 +00:00