]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
13 years ago0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
eap [Wed, 10 Aug 2011 10:04:47 +0000 (10:04 +0000)]
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported

+  // Groups. SMESHDS_Mesh is not an owner of groups

13 years ago0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
eap [Wed, 10 Aug 2011 10:04:00 +0000 (10:04 +0000)]
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported

-  virtual int Extent();
+  virtual int Extent() const;

13 years ago0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
eap [Wed, 10 Aug 2011 09:58:51 +0000 (09:58 +0000)]
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

13 years ago0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
eap [Wed, 10 Aug 2011 09:56:47 +0000 (09:56 +0000)]
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
     Fix setFace(): correctly take into account IsFaceExternal() for the polyhedron

13 years ago0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
eap [Wed, 10 Aug 2011 09:54:13 +0000 (09:54 +0000)]
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported

+  inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other);

13 years agouse the hint when inserting into the std::set
eap [Wed, 10 Aug 2011 09:52:47 +0000 (09:52 +0000)]
use the hint when inserting into the std::set

13 years agotypo
eap [Wed, 10 Aug 2011 09:51:58 +0000 (09:51 +0000)]
typo

13 years ago0021343: EDF 1930 SMESH: Huge memory occupation when assigning an hypothesis to...
vsr [Tue, 9 Aug 2011 08:39:43 +0000 (08:39 +0000)]
0021343: EDF 1930 SMESH: Huge memory occupation when assigning  an hypothesis to a big model

13 years ago0021343: EDF 1930 SMESH: Huge memory occupation when assigning an hypothesis to...
vsr [Tue, 9 Aug 2011 07:46:44 +0000 (07:46 +0000)]
0021343: EDF 1930 SMESH: Huge memory occupation when assigning  an hypothesis to a big model

13 years ago0021330]: EDF 1919 SMESH: Convert to quadratic gives wrong elements
eap [Tue, 2 Aug 2011 09:35:37 +0000 (09:35 +0000)]
0021330]: EDF 1919 SMESH: Convert to quadratic gives wrong elements

     if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
+         surface->IsUClosed()   || surface->IsVClosed() )

13 years agoAdd wrapper to .mesh export from BLSURFPLUGIN
gdd [Thu, 28 Jul 2011 16:50:48 +0000 (16:50 +0000)]
Add wrapper to .mesh export from BLSURFPLUGIN

13 years ago0021337: EDF 1924 NETGENPLUGIN: Mesh optimization
eap [Thu, 28 Jul 2011 12:41:24 +0000 (12:41 +0000)]
0021337: EDF 1924 NETGENPLUGIN: Mesh optimization
   Restore "Optimize" parameter of 2D hyps removed by mistake

13 years agoFix errors in Ghs3d example script
gdd [Wed, 27 Jul 2011 14:49:42 +0000 (14:49 +0000)]
Fix errors in Ghs3d example script

13 years agoAdd PreCAD wrappers
gdd [Tue, 26 Jul 2011 17:48:10 +0000 (17:48 +0000)]
Add PreCAD wrappers

13 years agoAdd PreCAD
gdd [Tue, 26 Jul 2011 17:18:04 +0000 (17:18 +0000)]
Add PreCAD
Update doc
Update smeshDC.py

13 years agoCheck return value of Parameters() before setting values (BlSurf, GHS3D, GHS3DPRL)
gdd [Tue, 26 Jul 2011 09:02:17 +0000 (09:02 +0000)]
Check return value of Parameters() before setting values (BlSurf, GHS3D, GHS3DPRL)

13 years agoFix problem with doxygen (using default font leads to the dot errors) - switch defaul...
vsr [Wed, 20 Jul 2011 10:16:19 +0000 (10:16 +0000)]
Fix problem with doxygen (using default font leads to the dot errors) - switch default dot font explicitly to Arial.

13 years ago0021327: EDF 1915 SMESH: impossible to select a group to copy mesh
eap [Tue, 19 Jul 2011 12:57:51 +0000 (12:57 +0000)]
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

13 years agoMerge from V6_3_BR 19/07/2011
vsr [Tue, 19 Jul 2011 12:05:24 +0000 (12:05 +0000)]
Merge from V6_3_BR 19/07/2011

13 years ago0021327: EDF 1915 SMESH: impossible to select a group to copy mesh
eap [Tue, 19 Jul 2011 11:27:02 +0000 (11:27 +0000)]
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

13 years ago- $(CORBA_CXXFLAGS) \
eap [Fri, 15 Jul 2011 14:55:38 +0000 (14:55 +0000)]
- $(CORBA_CXXFLAGS) \
-        $(CORBA_INCLUDES) \

13 years agoMerge from V6_3_BR 15/07/2011
vsr [Fri, 15 Jul 2011 11:19:53 +0000 (11:19 +0000)]
Merge from V6_3_BR 15/07/2011

13 years agotypo
eap [Tue, 12 Jul 2011 11:25:45 +0000 (11:25 +0000)]
typo

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 11 Jul 2011 07:22:14 +0000 (07:22 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
   fix selection/visualization mode at changing the group type

13 years ago- -I$(srcdir)/../SMESHImpl \
eap [Thu, 7 Jul 2011 15:27:29 +0000 (15:27 +0000)]
- -I$(srcdir)/../SMESHImpl \

- ../SMESH_I/libSMESHEngine.la \

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
eap [Thu, 7 Jul 2011 14:23:09 +0000 (14:23 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
  improve comment of getFunctNames()

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
eap [Thu, 7 Jul 2011 14:21:27 +0000 (14:21 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
  In FunctorTypeToString(), return "FT_Undefined" for an invalid input

13 years ago0021271: [CEA 473] Implement min size in netgen plugin
eap [Tue, 5 Jul 2011 12:07:17 +0000 (12:07 +0000)]
0021271: [CEA 473] Implement min size in netgen plugin
     ::SMESH_Hypothesis::TDefaults dflts;
+    dflts._shape = &shape;

13 years ago0021271: [CEA 473] Implement min size in netgen plugin
eap [Tue, 5 Jul 2011 12:06:17 +0000 (12:06 +0000)]
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
   };

13 years agorestore "QuadranglePreference" hyp as it can be used by NETGEN 2D
eap [Tue, 5 Jul 2011 12:04:49 +0000 (12:04 +0000)]
restore "QuadranglePreference" hyp as it can be used by NETGEN 2D
together with "Max. Elemet Area" for example

13 years ago0021271: [CEA 473] Implement min size in netgen plugin
eap [Tue, 5 Jul 2011 08:51:16 +0000 (08:51 +0000)]
0021271: [CEA 473] Implement min size in netgen plugin

13 years agoinitialize the Curve Adaptor using range of the edge
eap [Fri, 1 Jul 2011 15:45:09 +0000 (15:45 +0000)]
initialize the Curve Adaptor using range of the edge

13 years agoSuppress some doxygen warnings
eap [Tue, 28 Jun 2011 13:01:22 +0000 (13:01 +0000)]
Suppress some doxygen warnings

13 years agoCreate StdMeshers_QuadrangleParams hyp instead of "Quadrangle
eap [Tue, 28 Jun 2011 13:00:19 +0000 (13:00 +0000)]
Create StdMeshers_QuadrangleParams hyp instead of "Quadrangle
preference" and "Triangle preference" obsolete hypotheses

13 years agoRemove "Quadrangle preference" and "Triangle preference" obsolete hypotheses
eap [Tue, 28 Jun 2011 12:58:21 +0000 (12:58 +0000)]
Remove "Quadrangle preference" and "Triangle preference" obsolete hypotheses

13 years agoIPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
eap [Tue, 28 Jun 2011 11:55:57 +0000 (11:55 +0000)]
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

13 years agoIPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
eap [Tue, 28 Jun 2011 11:55:32 +0000 (11:55 +0000)]
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  //!< algo reports error but sub-mesh is computed anyway

13 years agoIPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
eap [Tue, 28 Jun 2011 11:54:43 +0000 (11:54 +0000)]
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);

13 years agoIPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
eap [Tue, 28 Jun 2011 11:53:37 +0000 (11:53 +0000)]
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);

13 years agoIPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
eap [Tue, 28 Jun 2011 11:52:56 +0000 (11:52 +0000)]
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; }

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 27 Jun 2011 07:57:51 +0000 (07:57 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
  fix bug of editing a not standalone group

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Fri, 24 Jun 2011 08:36:34 +0000 (08:36 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
  icon for SMESH_GroupOnFilter

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Fri, 24 Jun 2011 06:53:07 +0000 (06:53 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
  icon for SMESH_GroupOnFilter

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:39:01 +0000 (12:39 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
  To create/edit SMESH_GroupOnFilter

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:38:38 +0000 (12:38 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+    def GetFilterFromCriteria(self,criteria):
+    def GroupOnFilter(self, typ, name, filter):

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:37:17 +0000 (12:37 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
  Make groupType() return "SMESH_GroupOnFilter"

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:36:03 +0000 (12:36 +0000)]
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);

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:34:55 +0000 (12:34 +0000)]
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);

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:34:17 +0000 (12:34 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
  To edit SMESH_GroupOnFilter

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:33:18 +0000 (12:33 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+  interface SMESH_GroupOnFilter : SMESH_GroupBase

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:32:53 +0000 (12:32 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+    SMESH_GroupOnFilter CreateGroupFromFilter( in ElementType   elemType,
+                                               in string        name,
+                                               in SMESH::Filter filter )

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:30:17 +0000 (12:30 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+  SMESH::SMESH_GroupOnFilter_ptr CreateGroupFromFilter()

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:29:23 +0000 (12:29 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+class SMESH_GroupOnFilter_i:

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:26:04 +0000 (12:26 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
  Save and Load SMESH_GroupOnFilter

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:25:04 +0000 (12:25 +0000)]
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);

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:23:49 +0000 (12:23 +0000)]
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);

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:20:30 +0000 (12:20 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
   Fix dump of SMESH_IDSource which is Filter

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:19:06 +0000 (12:19 +0000)]
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()

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:15:16 +0000 (12:15 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+class _pyGroup
+class _pyFilter

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:14:05 +0000 (12:14 +0000)]
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();

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:12:22 +0000 (12:12 +0000)]
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());

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:11:40 +0000 (12:11 +0000)]
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());

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:10:32 +0000 (12:10 +0000)]
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

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:06:37 +0000 (12:06 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+ SMESHDS_GroupOnFilter.cxx

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:06:12 +0000 (12:06 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

+ SMESHDS_GroupOnFilter.cxx

+ -I$(srcdir)/../Controls

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:05:43 +0000 (12:05 +0000)]
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);

13 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Thu, 23 Jun 2011 12:04:34 +0000 (12:04 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups

-  unsigned long GetMTime();
+  unsigned long GetMTime() const;

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint...
eap [Tue, 14 Jun 2011 14:19:21 +0000 (14:19 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint...
eap [Tue, 14 Jun 2011 14:10:39 +0000 (14:10 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 14:10:15 +0000 (14:10 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups
eap [Tue, 14 Jun 2011 14:10:01 +0000 (14:10 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups
eap [Tue, 14 Jun 2011 14:08:45 +0000 (14:08 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups

+  virtual int             dim( int ) const;

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 14:05:24 +0000 (14:05 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on 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 and 0D elements
+     */
+    long_array FindAmongElementsByPoint(in SMESH_IDSource elements,
+                                        in double x, in double y, in double z,
+                                        in ElementType type);

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 14:04:58 +0000 (14:04 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
+    void ExportPartToMED( in SMESH_IDSource meshPart,
+    void ExportPartToDAT( in SMESH_IDSource meshPart,
+    void ExportPartToUNV( in SMESH_IDSource meshPart,
+    void ExportPartToSTL( in SMESH_IDSource meshPart,

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group
eap [Tue, 14 Jun 2011 13:58:29 +0000 (13:58 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group
  export, FindElementByPoint() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export,FindElementByPoint...
eap [Tue, 14 Jun 2011 13:57:24 +0000 (13:57 +0000)]
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

13 years ago+ case ELEM0D:myStream<<"ELEM0D";break;
eap [Tue, 14 Jun 2011 13:54:50 +0000 (13:54 +0000)]
+    case ELEM0D:myStream<<"ELEM0D";break;

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() groups
eap [Tue, 14 Jun 2011 13:54:32 +0000 (13:54 +0000)]
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);

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:53:16 +0000 (13:53 +0000)]
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);

13 years agoimprove comments
eap [Tue, 14 Jun 2011 13:51:55 +0000 (13:51 +0000)]
improve comments

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:51:27 +0000 (13:51 +0000)]
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)

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:50:26 +0000 (13:50 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups

+protected:
+  inline void addWithPoly(const SMDS_MeshElement* el);

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 13:49:51 +0000 (13:49 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
+        int Tic() const { return myTic; }
+        int                                     myTic; // to track changes

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:49:08 +0000 (13:49 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
   make virtual methods returning iterators on elements

13 years agoMerge from V6_3_BR 06/06/2011
vsr [Mon, 6 Jun 2011 08:15:39 +0000 (08:15 +0000)]
Merge from V6_3_BR 06/06/2011

13 years agoReplace oe by ?
gdd [Wed, 11 May 2011 20:41:37 +0000 (20:41 +0000)]
Replace oe by ?

13 years agoMinor changes (untabify).
ouv [Mon, 18 Apr 2011 09:59:35 +0000 (09:59 +0000)]
Minor changes (untabify).

13 years agosalome_adm doesn't exist anymore
gdd [Mon, 18 Apr 2011 09:12:43 +0000 (09:12 +0000)]
salome_adm doesn't exist anymore

13 years agoNote 0010812 from the issue 0020999: EDF 1575 SMESH: Filters and precision preferences
ouv [Mon, 18 Apr 2011 09:09:24 +0000 (09:09 +0000)]
Note 0010812 from the issue 0020999: EDF 1575 SMESH: Filters and precision preferences

13 years agoFix for the "21237: EDF SMESH: The python interface documentation is no more availabl...
rnv [Mon, 18 Apr 2011 07:39:11 +0000 (07:39 +0000)]
Fix for the "21237: EDF SMESH: The python interface documentation is no more available" issue

13 years agoRestore support of med-2.1 in MEDWrapper V6_3_0a1
eap [Fri, 15 Apr 2011 09:31:45 +0000 (09:31 +0000)]
Restore support of med-2.1 in MEDWrapper

13 years agoSmall update for French translation
gdd [Thu, 14 Apr 2011 12:42:52 +0000 (12:42 +0000)]
Small update for French translation

13 years agornc : correction from Anthony Geay for a problem with medfiles when containing 0D...
gdd [Thu, 14 Apr 2011 12:08:29 +0000 (12:08 +0000)]
rnc : correction from Anthony Geay for a problem with medfiles when containing 0D elements

13 years agoRNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing...
rnv [Wed, 13 Apr 2011 08:03:11 +0000 (08:03 +0000)]
RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis.

13 years agoPR: mistake
prascle [Tue, 12 Apr 2011 17:09:41 +0000 (17:09 +0000)]
PR: mistake

13 years ago1) Fix for the issue "21220: EDF SMESH: Split into tetra from group does not work"
rnv [Tue, 12 Apr 2011 12:28:40 +0000 (12:28 +0000)]
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.

13 years agoPR: add an independant exe that cuts a tetra mesh by a plane. MeshCut is adpated...
prascle [Tue, 12 Apr 2011 11:24:20 +0000 (11:24 +0000)]
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.

13 years agoFix for the "21222: SMESH EDF: Impossible to set a threshold value in the filter...
rnv [Mon, 11 Apr 2011 12:42:27 +0000 (12:42 +0000)]
Fix for the "21222: SMESH EDF: Impossible to set a threshold value in the filter dialog" issue.

13 years agornc : gived some details about ExtrusionSweepObjectXD in documentation
gdd [Mon, 11 Apr 2011 09:06:11 +0000 (09:06 +0000)]
rnc : gived some details about ExtrusionSweepObjectXD in documentation

13 years agomed-2.1 file no longer supported
eap [Mon, 11 Apr 2011 07:50:58 +0000 (07:50 +0000)]
med-2.1 file no longer supported