Commit Graph

1819 Commits

Author SHA1 Message Date
eap
5894f538ab fix GetLastError() 2012-11-13 07:21:40 +00:00
vsr
9645435524 Merge from V6_main 12/11/2012 2012-11-12 14:50:52 +00:00
eap
d367212954 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
fix shrink() around a concave VERTEX
2012-11-12 09:19:52 +00:00
prascle
abb28ffdd2 PR: link problem detection on ubuntu 12.04 2012-11-10 19:11:36 +00:00
eap
ea23bdf69b precise comment 2012-11-09 10:20:59 +00:00
vsr
32ea2faf03 Fix bug caused by integration of improvement for tri-quadratic elements - dialog box for adding of quadratic hexahedron was not shown. 2012-11-08 16:05:16 +00:00
eap
ea5674061b 0021954: [CEA 706] Error at the mesh object creation
protect fillAncestorsMap() from empty compounds
2012-11-08 15:34:29 +00:00
ana
48fb343b63 Fix for the "0051573: TC6.6.0: Clipping - Select all check-box behavior is wrong" issue. 2012-11-08 15:07:36 +00:00
eap
70bcc2ddff Fix for the "0021861: EDF 2226 : Documentation of numeric functor option in split quadrangles is unclear" issue.
Improve comments
2012-11-08 14:03:31 +00:00
eap
d627437f5d Fix for the "0021861: EDF 2226 : Documentation of numeric functor option in split quadrangles is unclear" issue.
Fix conversion of "QuadToTriObject"
2012-11-08 14:02:30 +00:00
eap
62f76f744f 0051564: TC6.6.0: Extrusion work incorrect
+  MeshEditor_I::TPreviewMesh * getPreviewMesh( SMDSAbs_ElementType previewType = SMDSAbs_All );
+  ::SMESH_MeshEditor& getEditor();
2012-11-08 10:46:53 +00:00
eap
8c26f69fe1 initialize myEditCurrentArgument, else valgrind complaints 2012-11-08 08:36:08 +00:00
eap
c84ff91c39 0051567: TC6.6.0: Qadrangle_2D fail
remove wrong code entered while implementing ViscousLayers2D
2012-11-07 16:27:19 +00:00
eap
f49ad7283f 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
Create _pyMesh for CreateMeshesFromGMF() command
2012-11-07 13:20:51 +00:00
eap
87905be5e7 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
debug on a complex sketch
2012-11-07 08:31:22 +00:00
eap
b0362f7109 0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command
In Compute(), report on hiding algo
2012-11-07 08:30:39 +00:00
eap
0e8ed41adb 0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command
In readMesh(), if there are incompatible algos assigned, one of
  which is thus ignored by Compute(), make the not ignored algo be
  present in the dialog instead of the ignored one
2012-11-07 08:30:07 +00:00
eap
949330b987 - theElems.insert( face );
+      theElems.insert( theElems.end(), face );
2012-11-07 08:24:45 +00:00
eap
1df3773296 0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command
In checkConformIgnoredAlgos(), report on hiding algo
2012-11-07 08:23:53 +00:00
eap
3fa13a8549 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
debug on a complex sketch -- almost OK
2012-11-02 12:22:25 +00:00
eap
d05c72902a 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
debug on a complex sketch

+    bool improve();
2012-11-02 09:50:14 +00:00
eap
fb0d4ffa39 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
debug on a complex sketch
2012-11-01 16:50:00 +00:00
ana
f0bf265fc0 Fix for the "0021861: EDF 2226 : Documentation of numeric functor option in split quadrangles is unclear" issue. 2012-11-01 11:39:48 +00:00
eap
7348db21e5 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Fix inflate(), fixCollisions() and shrink()
2012-10-31 10:53:31 +00:00
ana
a49e1b8fe4 Win32 compatibility 2012-10-30 15:03:29 +00:00
eap
4226c05219 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Fix shrink()
2012-10-30 08:05:44 +00:00
vsr
1b48eab880 Porting to med 3.0.6 / Win32 compatibility / Replace dependency on libmed (fortran API) by libmedC 2012-10-30 06:17:46 +00:00
vsr
29819883c2 IPAL 0051565: TC6.6.0: Create sub-mesh - wrong Mesh field when multiply selection 2012-10-29 14:27:39 +00:00
vsr
c889773a15 IPAL 0051561: Hexotic algorithm fail
Fix problem of Hexotic algo computation on 32bit platforms
2012-10-29 13:36:13 +00:00
vsr
8255b5e32f Remove bad implementation of "position" parameter for mesh elements causing SIGSEGV 2012-10-29 11:54:32 +00:00
eap
61bbd63ee9 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Fix usage of nodes already shrinked within an adjacent FACE
2012-10-29 09:15:02 +00:00
eap
986cacacdb 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
+    bool toShrinkForAdjacent( const TopoDS_Face& adjFace,
+                              const TopoDS_Edge& E,
+                              const TopoDS_Vertex& V);
2012-10-26 14:28:19 +00:00
vsr
b503f03bf3 Fix compilation problem. 2012-10-26 09:27:41 +00:00
eap
8f17999ad4 code shorten 2012-10-25 11:57:36 +00:00
eap
c128018070 0021339: EDF 1928 SMESH: Create group of 0D elements
Use TMeshModifTracer in ElementsOnSurface
2012-10-25 10:37:56 +00:00
eap
6d1ea10cad 0021921: [CEA 690] GetVolume applied on many elements has performance issue
Optimize _valueFromFunctor()
2012-10-24 15:46:31 +00:00
gdd
b3c476c3ec Merge updates of translations files 2012-10-24 08:08:05 +00:00
eap
6cb56a9c44 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Fix UVPtStructVec on the shrinked EDGE
2012-10-23 12:47:36 +00:00
eap
7414d74a9e 21680: EDF 2288 SMESH: creation of 0D elements from other elements 2012-10-23 12:42:36 +00:00
eap
12cbac91e8 21680: EDF 2288 SMESH: creation of 0D elements from other elements
In RemoveGroupWithContents(), make python dump before group removal
2012-10-23 12:42:23 +00:00
eap
436a1990ff 21680: EDF 2288 SMESH: creation of 0D elements from other elements
fix myHelpFileName
2012-10-23 08:03:26 +00:00
eap
08c538cf8f 21680: EDF 2288 SMESH: creation of 0D elements from other elements
+    def Add0DElementsToAllNodes(self, theObject, theGroupName=""):
2012-10-23 07:52:48 +00:00
eap
957276d339 21680: EDF 2288 SMESH: creation of 0D elements from other elements
1)
+  SMESH::SMESH_IDSource_ptr Create0DElementsOnAllNodes(SMESH::SMESH_IDSource_ptr theObject,
+                                                       const char*               theGroupName)

2) Keep 10 last auxilary IDSources
2012-10-23 07:52:29 +00:00
eap
e47e273629 21680: EDF 2288 SMESH: creation of 0D elements from other elements
fix onTextChanged() for selectionMode() == CellSelection
2012-10-23 07:50:39 +00:00
eap
9aa7dd10a4 21680: EDF 2288 SMESH: creation of 0D elements from other elements
fix SMESHGUI_FilterTable::Init (const QList<int>& theTypes) for the
   case of theTypes.count() > 1
2012-10-23 07:49:29 +00:00
eap
c7ed8139b4 21680: EDF 2288 SMESH: creation of 0D elements from other elements
and untabify
2012-10-23 07:48:38 +00:00
eap
1ba66cde78 21680: EDF 2288 SMESH: creation of 0D elements from other elements
+  void Create0DElementsOnAllNodes( const TIDSortedElemSet& elements,
+                                   TIDSortedElemSet&       all0DElems);

+  void                           CrearLastCreated();
2012-10-23 07:46:58 +00:00
eap
7bf0e19b3d 21680: EDF 2288 SMESH: creation of 0D elements from other elements 2012-10-23 07:45:56 +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