Commit Graph

1961 Commits

Author SHA1 Message Date
eap
6f564a0788 In RemoveHypothesis() print a WARNING if the hypothesis was not
assigned to the given shape
2013-01-10 11:30:44 +00:00
eap
7f5d1328b1 21397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder
after successful algo->Compute(), send SUBMESH_COMPUTED to all lower sub-meshes if ( !algo->NeedDiscreteBoundary() )
2013-01-10 11:29:37 +00:00
eap
293883f8d4 21397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder
bool Load (SMESH_Mesh*        theMesh,
              const TopoDS_Face& theFace,
              bool               theProject = false,
+             TopoDS_Vertex      the1stVertex=TopoDS_Vertex());
2013-01-10 11:26:34 +00:00
eap
a94078a14b improve comments 2013-01-10 11:25:42 +00:00
vsr
577906c7b0 Imp: numbering font preferences 2012-12-29 11:45:10 +00:00
eap
752ad5bd14 untabify 2012-12-28 16:30:38 +00:00
eap
e9bec6bddf missing @param description 2012-12-28 16:26:40 +00:00
eap
e205108fca 0021397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder 2012-12-28 15:53:47 +00:00
eap
00ac0dfc36 typo 2012-12-28 15:53:01 +00:00
eap
64a8aee9ab 0021397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder
enable FindSubShapeAssociation() on faces with different nb of VERTEXes
2012-12-28 15:52:46 +00:00
eap
d7b0855638 prevent GetName() failure on a not CORBA object 2012-12-28 15:50:11 +00:00
eap
a763cfdd81 - <translation>%1 nodes successfully merged.</translation>
+        <translation>%1 groups of nodes successfully merged.</translation>
2012-12-28 15:49:07 +00:00
eap
d8ad3b8931 minor decoration 2012-12-28 15:48:52 +00:00
vsr
fe32ec275a Imp: Mesh Info dialog box - show node/element position not only in colocated mode 2012-12-28 14:49:43 +00:00
eap
d95ba01c50 leaks of CORBA objects 2012-12-28 11:39:35 +00:00
eap
3e47e37091 initialize myIsMultipleAllowed 2012-12-28 11:39:01 +00:00
eap
79cd67d5b8 untabify 2012-12-28 11:38:26 +00:00
eap
08f731ecd6 Use GEOM_Object_var instead of GEOM_Object_wrap for obj returned by GetMainShape() 2012-12-28 11:38:13 +00:00
vsr
fd1f32bef8 Win32 compatibility 2012-12-25 05:25:17 +00:00
eap
414745da0e 0021948]: EDF SMESH : Memory is not freed when deleting a mesh
Move declaration of GEOM::GEOM_Object_wrap form
  GEOMBase/GEOM_GenericObjPtr.h to GEOM_I/GEOM_wrap.hxx as GEOMBase is
  a part of GUI

-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
2012-12-24 13:58:17 +00:00
vsr
75be4ee0eb 0021858: EDF 2171 SMESH : Add an information about the groups an element or node belongs to
- additional minor change: trim long group names
2012-12-21 11:06:26 +00:00
eap
c6270448c0 untabify 2012-12-20 15:35:56 +00:00
eap
c8c3c7ed5d Add a method comment 2012-12-20 15:34:53 +00:00
eap
8951167c87 - TCollection_AsciiString aSavedTrace (oldValue.out());
+  TCollection_AsciiString aSavedTrace (oldValue.in());
2012-12-20 15:31:28 +00:00
vsr
65f79df2af 0021858: EDF 2171 SMESH : Add an information about the groups an element or node belongs to 2012-12-20 15:29:39 +00:00
vsr
5e7fae6a20 0021858: EDF 2171 SMESH : Add an information about the groups an element or node belongs to 2012-12-20 14:44:56 +00:00
vsr
b31f9cd66a Fix misprint 2012-12-20 12:52:29 +00:00
eap
54a7ed03b8 - if ( myProjFace.IsDone() && myProjFace.LowerDistance() <= myTol );
+  if ( myProjFace.IsDone() && myProjFace.LowerDistance() <= myTol )
2012-12-20 11:20:35 +00:00
eap
0115246c96 Fix for 32-bit platforms
-  int          GetElementIds( int* ids ) const;
+  template< typename IDTYPE >
+    int        GetElementIds( IDTYPE* ids ) const
+  {
+    return getElementIds( (void*)ids, sizeof(IDTYPE));
+  }
2012-12-20 10:19:51 +00:00
vsr
1e288edaa1 Imp: show element position in a mesh information dialog box 2012-12-20 05:59:39 +00:00
prascle
2af758c692 PR: fix previous commit 2012-12-19 16:31:35 +00:00
vsr
2cb5a0ee33 Imp: dump mesh information to file 2012-12-19 14:33:24 +00:00
eap
c8b155a155 Add an arg to Concatenate() specifying a name of a new mesh 2012-12-18 17:49:25 +00:00
eap
9ed5632be0 22017: [CEA 739] Get an error code returned by cadsurf_set_param
Remove "Salome " from "Salome Exception" prefix returned by
  SALOME_Exception::what() while composing an error message
2012-12-18 13:33:32 +00:00
eap
338eab651c - TCollection_AsciiString oldScript (oldValue.out());
+  TCollection_AsciiString oldScript (oldValue.in());
2012-12-18 12:57:39 +00:00
eap
5ee5ad7e03 Fix a bug that "Lying on Geom" filter rejects elements whose gravity
center is outside the shape
2012-12-18 10:56:35 +00:00
prascle
500aed0351 PR: compilation problem on ubuntu 12.04 2012-12-18 09:25:28 +00:00
vsr
22878614be Imp for Mesh Info dialog box: double click on "connectivity" item switch dialog box to show information of connected nodes/elements 2012-12-18 08:06:25 +00:00
eap
cda4289765 - nbElemsLabel = new QLabel(" 0", this );
+  nbElemsLabel = new QLabel("0", this );
2012-12-17 16:42:40 +00:00
eap
b69677548c 22011: [CEA 736] Mesh ends with "Global 2D algorithm is missing"
In checkMissing(), check only sub-meshes on meshable shapes (edges,faces,solids)
2012-12-17 16:37:18 +00:00
eap
4f0a26fa4d Allow for definition of sweep vector by 3 vector components 2012-12-17 16:17:54 +00:00
vsr
beab223e19 Imp: allow customization of nodes / cells numbering text properties via preferences 2012-12-17 15:48:01 +00:00
eap
7085686b04 Add missing throw (SALOME::SALOME_Exception) 2012-12-17 15:39:59 +00:00
eap
bd7cecec9a Add missing try/catch using SMESH_TryCatch.hxx 2012-12-17 15:39:30 +00:00
eap
c3597c66f0 + /*!
+   * \brief Function used in SMESH_CATCH to convert a caught exception to
+   * SALOME::SALOME_Exception
+   */
+  inline void throwCorbaException(const char* excText)
+  {
+    THROW_SALOME_CORBA_EXCEPTION( excText, SALOME::INTERNAL_ERROR );
+  }
2012-12-17 15:38:09 +00:00
eap
dfe68f4de1 - smeshpy.py 2012-12-17 15:10:44 +00:00
eap
62cf47f6ed useless file 2012-12-17 15:09:43 +00:00
eap
7abb1c93b4 Use SMESH_TryCatch.hxx 2012-12-17 14:14:18 +00:00
eap
2b6536d33b + SMESH_TryCatch.hxx 2012-12-17 14:14:03 +00:00
eap
6cafe5cc9f 22010: [CEA 731] "CreateDimGroup" creates some faces not belonging to volumes's skin
Re-implenent CreateDimGroup()
2012-12-17 14:12:40 +00:00
vsr
b70f27b542 Imp: use file name as default mesh name when publishing data coming from SAUV or STL file 2012-12-17 12:38:17 +00:00
vsr
5f2fdbf53f Fix bug: wrong default color the the group 2012-12-17 12:15:09 +00:00
eap
b3aa30bca3 21948: EDF SMESH : Memory is not freed when deleting a mesh
Elimenate memory leaks on CORBA objects, servants of SALOMEDS objects etc
2012-12-14 13:57:37 +00:00
eap
873eca935e 21948: EDF SMESH : Memory is not freed when deleting a mesh
UnRegister filter manager etc
2012-12-14 13:56:22 +00:00
eap
4f585d60b6 21948: EDF SMESH : Memory is not freed when deleting a mesh
<source>SMESH_VISU_PROBLEM</source>
+        <translation>Mesh visualization failed</translation>
+    </message>
+    <message>
+        <source>SMESH_VISU_PROBLEM_MEMORY</source>
         <translation>Mesh visualization failed, probably due to lack of memory</translation>
2012-12-14 13:54:34 +00:00
eap
f48b7044a2 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  bool                         myToDeleteInitParamsHypo;
2012-12-14 13:54:12 +00:00
eap
111d1ee46e 21948: EDF SMESH : Memory is not freed when deleting a mesh
Show nb of nodes and elements in "Compute" dialog
2012-12-14 13:49:42 +00:00
eap
cad015ecdc 21948: EDF SMESH : Memory is not freed when deleting a mesh
SMESH::RemoveVisualObjectWithActors() at object removal from study
2012-12-14 13:44:41 +00:00
eap
91312a2db5 21948: EDF SMESH : Memory is not freed when deleting a mesh
Fix a leak of GEOM_IGroupOperations_i servant
2012-12-14 13:42:25 +00:00
eap
d0a6c1f78d untabify 2012-12-14 13:41:32 +00:00
eap
47709d42f2 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize for groups in large meshes
2012-12-14 13:41:14 +00:00
eap
dcf5dee894 21948: EDF SMESH : Memory is not freed when deleting a mesh
Delete fields in order of their declaration in the header - for easier check
2012-12-14 13:40:14 +00:00
eap
37eb451785 21948: EDF SMESH : Memory is not freed when deleting a mesh
Fix leaks of myPreHighlightActor and myHighlightActor
2012-12-14 13:37:18 +00:00
eap
3304d08571 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize ElementsOnShape for large meshes
2012-12-14 13:36:23 +00:00
eap
11e1059f3e 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  static void ForgetAllData( SMESH_Mesh_i* mesh );
2012-12-14 13:35:19 +00:00
eap
ee00100fa4 21948: EDF SMESH : Memory is not freed when deleting a mesh
Elimenate memory leaks on CORBA objects, servants of SALOMEDS objects etc
2012-12-14 13:34:34 +00:00
eap
09a87fd9f2 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  static bool               IsTemporaryIDSource( SMESH::SMESH_IDSource_ptr& idSource );
2012-12-14 13:34:18 +00:00
eap
04a91a7190 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize groups on filter for large meshes

+  virtual SMESH::long_array* GetListOfID();
+  virtual SMESH::long_array* GetMeshInfo();
2012-12-14 13:33:47 +00:00
eap
7973c25121 21948: EDF SMESH : Memory is not freed when deleting a mesh
In DeleteEventListener() fix removal of listeners
2012-12-14 13:25:12 +00:00
eap
413fec58c7 21948: EDF SMESH : Memory is not freed when deleting a mesh
Use _id instead of _idDoc

-  _myMeshDS      = theDocument->GetMesh(_idDoc);
+  _myMeshDS      = theDocument->NewMesh(theIsEmbeddedMode,theLocalId);
2012-12-14 13:24:26 +00:00
eap
730908a7f4 21948: EDF SMESH : Memory is not freed when deleting a mesh
-  int                        _idDoc;        // id given by SMESHDS_Document
2012-12-14 13:23:20 +00:00
eap
0d9cd77ceb 21948: EDF SMESH : Memory is not freed when deleting a mesh
minor changes
2012-12-14 13:22:42 +00:00
eap
d3fb998efd 21948: EDF SMESH : Memory is not freed when deleting a mesh
Delete SMESHDS_Document's at destruction
2012-12-14 13:21:56 +00:00
eap
1199fcd63c 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize for large meshes
2012-12-14 13:19:01 +00:00
eap
06544a5936 21948: EDF SMESH : Memory is not freed when deleting a mesh
void SMESHDS_SubMesh::Clear()
 {
-  myElements.clear();
-  myNodes.clear();
+  clearVector( myElements );
+  clearVector( myNodes );
2012-12-14 13:17:12 +00:00
eap
ee35ac825c 21948: EDF SMESH : Memory is not freed when deleting a mesh
-        int                  NewMesh(bool theIsEmbeddedMode);
+        SMESHDS_Mesh *       NewMesh(bool theIsEmbeddedMode, int MeshID);
2012-12-14 13:16:39 +00:00
eap
b22f68bd44 21948: EDF SMESH : Memory is not freed when deleting a mesh
pass vector arg by reference, not by value
2012-12-14 13:15:17 +00:00
eap
56b857de47 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks: adjuct vtkCellLinks::MaxId

+  void ResizeForPoint(vtkIdType vtkID);
2012-12-14 13:13:00 +00:00
eap
a29e12d8f9 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks

class SMDS_EXPORT SMDS_CellLinks: public vtkCellLinks
{
public:
+  void ResizeForPoint(vtkIdType vtkID);
2012-12-14 13:09:07 +00:00
eap
6bb8dd97b8 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks

void SMDS_MeshNode::init()
{
-  if (myVtkID >= cellLinks->GetLinksSize())
-          cellLinks->ResizeL(myVtkID+SMDS_Mesh::chunkSize);
+  cellLinks->ResizeForPoint( myVtkID );
2012-12-14 13:08:08 +00:00
eap
585362053b 21948: EDF SMESH : Memory is not freed when deleting a mesh
Make clear free as much as possible memory
2012-12-14 13:04:42 +00:00
eap
fa38ad0b49 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  void clear()
2012-12-14 13:02:44 +00:00
eap
2eb294fdc3 21948: EDF SMESH : Memory is not freed when deleting a mesh
Elimenate memory leaks
2012-12-14 12:30:59 +00:00
vsr
37b9292da6 Merge from BR_Qt48_porting (compatibility with Qt4.8) 14/12/2012 2012-12-14 10:16:09 +00:00
vsr
13ff1c4641 Merge from V6_6_BR (V6_6_0rc2) 11/12/2012 2012-12-11 13:23:39 +00:00
eap
0864c4d0a8 0021999: EDF 2480 SMESH : Aspect ratio on a flat mesh
1) For badly shaped elements, to prevent division by zero and other FP errors, do not use Presicion::Confusion() but 1e-100 and return 1e+100 if this limit is overcome
   2) merge other changes from V6_6_BR
2012-11-23 14:34:33 +00:00
gdd
71680afe44 Remove unwanted file 2012-11-12 09:59:56 +00:00
pnoyret
890fd0a1aa ajout du plugin yams 2012-10-29 13:06:41 +00:00
pnoyret
fc55c41f6c minor bugs -) 2012-10-29 13:02:14 +00:00
gdd
6a54fa6046 Update translation files 2012-10-23 10:03:15 +00:00
eap
b75ee995ab 0021339: EDF 1928 SMESH: Create group of 0D elements 2012-10-18 11:44:44 +00:00
eap
5d017835af untabify 2012-10-18 11:44:28 +00:00
eap
e1fe8b5ce1 fix of comment 2012-10-18 11:43:55 +00:00
eap
0c27c22747 0021339: EDF 1928 SMESH: Create group of 0D elements
Enable filtering 0D elements
2012-10-18 11:42:50 +00:00
eap
1fb9c7dd26 0021339: EDF 1928 SMESH: Create group of 0D elements
Enable creation of Balls and 0D elements on all selected nodes, not
  on one node only
2012-10-18 11:41:56 +00:00
eap
49c44a713e 0021339: EDF 1928 SMESH: Create group of 0D elements
Fix ElemGeomType::IsSatisfy() to work automatically with any new type
2012-10-18 11:40:33 +00:00
ana
e77525fc4f win32 compatibility 2012-10-17 13:42:00 +00:00
vsr
f3f2d644ef 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box 2012-10-16 16:00:19 +00:00
vsr
d2f0eb8f21 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box 2012-10-16 15:49:48 +00:00
eap
7e1dee49ad 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Fix setEventListener() for a case of a listener found by name
2012-10-16 11:19:06 +00:00
eap
7c801b5b44 Values of element controls have been added to Mesh info 2012-10-16 09:56:24 +00:00
vsr
c5698502cc 0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the hdf file 2012-10-16 08:28:43 +00:00
ana
3816b8e97c win32 compilation: remove unnecessary definition of dllimport 2012-10-16 06:35:13 +00:00
eap
43839bab02 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Add StdMeshers_ViscousLayers2D hypothesis
2012-10-15 14:52:18 +00:00
eap
40e5fd72da 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
1) Move struct uvPtStruct to SMESH_TypeDefs.hxx
2) Enable work with a SMESH_ProxyMesh
2012-10-15 14:41:16 +00:00
eap
8b733351ad 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
+	StdMeshers_ViscousLayers2D.cxx \
2012-10-15 14:39:45 +00:00
eap
2c227fc6a5 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
+    def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor, ignoreEdges=[]):
2012-10-15 14:39:03 +00:00
eap
c53c4defde Convert ExportGMF() 2012-10-15 14:38:40 +00:00
eap
252161f517 Fix dump of ExportGMF() and ExportCGNS() 2012-10-15 14:35:51 +00:00
eap
8944375f22 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
In FindEqualElements(), use idSourceToSet()
2012-10-15 14:34:23 +00:00
eap
e9a46da8ca 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
enable reporting lack of a node on a vertex
2012-10-15 14:32:14 +00:00
eap
6d69062419 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
move struct uvPtStruct from StdMeshers_FaceSide
2012-10-15 14:30:54 +00:00
eap
cf56ad7e8d 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Derive SMESH_Octree from a template SMESH_Tree
2012-10-15 14:30:14 +00:00
eap
8ab8fbfb50 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Derive SMESH_Octree from SMESH_Tree

+	SMESH_Tree.hxx \
+	SMESH_Quadtree.hxx \
2012-10-15 14:29:45 +00:00
eap
0f6b40b239 Avoid referencing memory of an automatic variable
struct StdParam
   {
-    const char* text() const { return myText.toLatin1().constData(); }
+    const char* text() const {
+      ((QByteArray&) myTextAsBytes) = myText.toLatin1(); return myTextAsBytes.constData();
+    }
2012-10-15 14:27:55 +00:00
eap
b4d9638c8c 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
-  inline SMESHDS_Mesh *getParent() {return myParent; };
+  SMESHDS_Mesh *GetParent()   { return myParent; }
2012-10-15 14:25:42 +00:00
eap
b648205fec 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
1) Fix notifyListenersOnEvent() for the case if a listener is deleted
2) in setEventListener(), use a listener name to find an existing listener
2012-10-15 13:15:55 +00:00
eap
c0f78ed06c + const SMESHDS_SubMesh * GetSubMeshDS() const; 2012-10-15 13:04:17 +00:00
eap
3750df108a 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Extend the class to store 1D proxy elements
2012-10-15 13:03:16 +00:00
eap
4605267548 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
-void FindEqualElements(set<const SMDS_MeshElement*> & theElements,
+void FindEqualElements(TIDSortedElemSet &        theElements,
                        TListOfListOfElementsID & theGroupsOfElementsID)
2012-10-15 13:01:00 +00:00
gdd
00e6cbee7f EDF 2357 : Modification of the "Files of type" (*.med => *.*med) - CTN 2012-10-15 09:58:06 +00:00
vsr
65de7c2a91 0021905: EDF SMESH: Impossible to add a face without layers with "viscous layers" 2012-10-12 15:07:11 +00:00
prascle
f3d031f77d PR: bug on CreateHoleSkin with groups 2012-10-12 10:59:49 +00:00
inv
e88340470b Fix error in previous integration 2012-10-12 07:17:27 +00:00
inv
0d78a54227 Fix problem when building SMESH in --without-gui mode (revert previous commit, instead put all directory to the conditional, since it contains only GUI) 2012-10-12 07:04:31 +00:00
inv
55532407fe Fix problem when building SMESH in --without-gui mode 2012-10-12 07:03:48 +00:00
inv
00649fb99d Fix problem when building SMESH in --without-gui mode 2012-10-12 06:56:39 +00:00
vsr
aa3edf49ef 0021906: [CEA 579] Missing section in Mesh Properties Dialog 2012-10-12 05:28:23 +00:00
pnoyret
fe533dd568 Yams Plugin 2012-10-11 07:56:03 +00:00
eap
e1f28b0a35 More precise error description 2012-10-10 11:29:08 +00:00
eap
2c8f4c513e Try to use length of edges for association in case of a 2-edges wire 2012-10-10 10:48:10 +00:00
eap
bd01d75a47 protect from SIGSEGV in case of "Composite Wire Discretization" usage 2012-10-10 10:46:53 +00:00
eap
798c633011 in ComputeStateEngine(), clear _computeError at certain events only 2012-10-10 10:45:50 +00:00
eap
b02b941bd8 protect GetSubShapeByNode() from SIGSEGV at NULL node 2012-10-10 10:44:55 +00:00
ana
5a4525c20f Avoid "GROUP" redefinition on win32: add 'MeshObjectType'enum to namespace SMESH 2012-10-10 08:46:51 +00:00
eap
afd264a070 0021897: EDF 1495 SMESH : Problem with groups when building a compound with medballs
Make control variable of for different in outer (on meshes) and
   inner (on groups) loops.
2012-10-09 14:02:38 +00:00
eap
c5c930fa65 0021891: EDF 2398 : Error when dumping a study with non historical mode
Fix bug that AddHypothesis() + RemoveHypothesis() pair was cleared in
  the historical mode if a hypothesis was removed
2012-10-09 13:53:34 +00:00
vsr
1116b207ea Automatic assigning of default name for the group at the dialog box initialization 2012-10-09 05:25:18 +00:00
eap
bc65599349 0021891: EDF 2398 : Error when dumping a study with non historical mode
AddHypothesis() + RemoveHypothesis() pair was not cleared in
  snap-shot mode if a hypothesis was removed
2012-10-08 12:45:03 +00:00
eap
ac003a0da5 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
Initialize myDoGroupOfBalls and myDoGroupOf0DElems in the constructor
2012-10-08 09:17:18 +00:00
vsr
92d9bb8988 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
- Move all export mesh commands to the single Export submenu (as in main menu File)
2012-10-04 15:54:27 +00:00
vsr
3f2f87b248 0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh
Additional patch for store/restore visual parameters
2012-10-04 15:40:50 +00:00
eap
052ef39f86 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
Note 0014299. Fix writing groups (again)
2012-10-04 10:52:46 +00:00
eap
abc9568eca 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
Note 0014299. Fix writing groups
2012-10-04 10:41:10 +00:00
eap
aafd432548 0021382]: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
Add "Export GMF" to the pop-up of mesh and group
2012-10-04 10:04:17 +00:00
gdd
f312847d16 Fix dump of ExportCGNS, ExportGMF, CreateMeshesFromUNV and CreateMeshesFromGMF 2012-10-04 09:21:50 +00:00
vsr
1e6fde8450 0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh 2012-10-03 14:25:24 +00:00
vsr
878662e498 0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh 2012-10-03 13:45:18 +00:00
vsr
5296aeeaa6 0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh 2012-10-03 13:25:32 +00:00
eap
5d5b9e01cd fix reading/writing BALLs 2012-10-03 12:15:28 +00:00
vsr
b398c3a304 Add function to erase an actor in current viewer or in all viewers where it is displayed (patch from vsv - PPGP dev) 2012-10-02 08:17:28 +00:00
eap
5f62c18c48 Make IsQuadraticMesh() return LINEAR instead of QUADRATIC in an empty mesh 2012-10-01 14:08:42 +00:00
eap
1943d6f613 0021884]: [CEA 679] SALOME crashes when using Netgen 2D without 1D algorithm
Stupid access to NULL object
2012-10-01 13:58:55 +00:00
rnv
c23203b921 Implementation of the "21459: EDF 1495 SMESH: Manipulation of discrete elements with attributes" issue: visualization of the 0D and balls elements. 2012-09-28 10:59:30 +00:00
rnv
ad10fd292a Win32 compatibility. 2012-09-28 09:08:03 +00:00
rnv
0368b0a293 Implementation of the "21459: EDF 1495 SMESH: Manipulation of discrete elements with attributes" issue: visualization of the 0D and balls elements. 2012-09-28 07:30:34 +00:00
vsr
023c706135 0021882: [CEA 673] Add preference for default color for mesh groups 2012-09-27 08:22:16 +00:00
vsr
b86b991075 Windows compatibility 2012-09-26 06:16:59 +00:00
vsr
a3a6c690ba 0021869: [CEA 672] Clipping always apply even with auto-apply not checked 2012-09-25 11:54:33 +00:00
vsr
55c69756c9 Fix compilation error (add missing boost flags) 2012-09-25 09:10:01 +00:00
eap
80272b8f05 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
fix an error message
2012-09-24 12:20:20 +00:00
eap
0bea71e671 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+    def ExportGMF(self, f, meshPart=None):
+    def CreateMeshesFromGMF( self, theFileName ):
2012-09-24 11:32:03 +00:00
eap
87b989815b 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  void ExportGMF(SMESH::SMESH_IDSource_ptr meshPart,
+                 const char*               file) throw (SALOME::SALOME_Exception);
+  SMESH::ComputeError* ImportGMFFile( const char* theFileName )
2012-09-24 11:31:39 +00:00
eap
bbc0ed28d2 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  SMESH::SMESH_Mesh_ptr CreateMeshesFromGMF( const char*             theFileName,
+                                             SMESH::ComputeError_out theError)
2012-09-24 11:31:06 +00:00
eap
1cf0520025 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format) 2012-09-24 11:29:41 +00:00
eap
5c5f09b047 some decoration 2012-09-24 11:29:14 +00:00
eap
855c03018d 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../SMESHUtils \
2012-09-24 11:27:10 +00:00
eap
6162a92b86 Enable searching EventListener by its name
+  const char*  GetName()     const { return myName; }
+  virtual void BeforeDelete(SMESH_subMesh*                  subMesh,
+                            SMESH_subMeshEventListenerData* data)
2012-09-24 11:26:52 +00:00
eap
9586144b53 + EventListenerData* GetEventListenerData(const std::string& listenerName) const; 2012-09-24 11:25:47 +00:00
eap
587ed40d42 Enable Transform() of 0D elements 2012-09-24 11:24:09 +00:00
eap
b59ca5c972 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  SMESH_ComputeErrorPtr GMFToMesh(const char* theFileName);
+  void ExportGMF(const char * file, const SMESHDS_Mesh* mesh);
2012-09-24 11:20:01 +00:00
eap
cc048fe72d Remove this from StudyContextStruct at destructor 2012-09-24 11:19:01 +00:00
eap
2974c0b8ab 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
when setting myName, call myGroupDS->SetStoreName( myName )
2012-09-24 11:17:56 +00:00
eap
dce6fb4fd7 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../DriverGMF \
2012-09-24 11:16:52 +00:00
eap
53d6a3426f typo:
-  void   GetXYZ(double xyx
+  void   GetXYZ(double xyz
2012-09-24 11:16:31 +00:00
eap
fe1dc15cf1 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../SMESHUtils \
2012-09-24 11:15:30 +00:00
eap
663bff2184 HEXA_27021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../SMESHUtils \
2012-09-24 11:15:17 +00:00
eap
d9d9b36627 HEXA_27021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format) 2012-09-24 11:15:01 +00:00
eap
765ce25ce9 fix interlace array of HEXA_27 2012-09-24 11:14:08 +00:00
eap
553185b191 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  virtual void        SetOption(const std::string& optionName,
+                                const std::string& optionValue) {}
+  virtual SMESH_ComputeErrorPtr GetError();
2012-09-24 11:13:16 +00:00
eap
673b8a1d41 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	DriverGMF \
2012-09-24 11:12:27 +00:00
ana
3dfa809507 Win32 compatibility 2012-09-20 08:06:33 +00:00
eap
0798335da8 def GetMeshEditor(self):
-        return self.mesh.GetMeshEditor()
+        return self.editor
2012-09-17 10:23:15 +00:00
eap
ff7d2479be 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+   * \brief Returns description of an error/warning occured during the last operation
+   */
+  SMESH::ComputeError* GetLastError();
2012-09-17 10:22:42 +00:00
eap
c651365140 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
extract SMESH_MeshPartDS.hxx from SMESH_MeshEditor_i.cxx
2012-09-17 10:22:02 +00:00
eap
a1a7402321 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+  // Errors of SMESH_MeshEditor follow
+  EDITERR_NO_MEDIUM_ON_GEOM= -101 /* during conversion to quadratic,
+                                     some medium nodes not placed on geometry
+                                     to avoid distorting elements, which are
+                                     stored in SMESH_ComputeError::myBadElements */
2012-09-17 10:20:50 +00:00
eap
bf2593a237 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Show elements whose medium nodes were not placed on geometry
2012-09-17 10:20:24 +00:00
eap
6adaa05a56 + prop->Delete(); 2012-09-17 10:18:47 +00:00
eap
2077709da4 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+  void force3DOutOfBoundary( SMESH_MesherHelper&    theHelper,
+                             SMESH_ComputeErrorPtr& theError)
2012-09-17 10:18:28 +00:00
eap
12c889c3f6 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Returns description of an error/warning occured during the last mesh edition
2012-09-17 10:18:07 +00:00
eap
3a58968846 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
double MaxLinearSize2() const;
  // Return maximal square distance between connected corner nodes
2012-09-17 10:16:21 +00:00
eap
55d54bc7f0 decrease the low bound of Threshold 2012-09-14 13:14:35 +00:00
eap
5e940de5e3 0021821: EDF 2356 SMESH: Wrong GHS3D mesh with Viscous Layer hypothesis
Log node movement not only in DEBUG mode
2012-09-13 12:25:09 +00:00
eap
7a940415de 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Improve GetAlgo()
2012-09-11 13:20:29 +00:00
eap
118122435c 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
+  static TopAbs_ShapeEnum GetGroupType(const TopoDS_Shape& group,
+                                       const bool          avoidCompound=false);
2012-09-11 09:24:59 +00:00
eap
68b41560cb 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
1) fix getAlgoData()
2) correct detection of concurrent algos in GetAlgo()
2012-09-11 09:24:28 +00:00
eap
8d6f13f41e 0021821: EDF 2356 SMESH: Wrong GHS3D mesh with Viscous Layer hypothesis
Fix smoothAnalyticEdge() for a circle
2012-09-11 07:53:33 +00:00
prascle
34976cf1e1 PR: bug EDF 2300 2012-09-10 07:04:02 +00:00
prascle
61bc7f8f5f PR: correction bug EDF 2299. 2012-09-08 14:40:53 +00:00
eap
db07298a81 Call a not published shape to mesh by name of the mesh if provided 2012-09-07 14:12:35 +00:00