Commit Graph

1327 Commits

Author SHA1 Message Date
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