Commit Graph

176 Commits

Author SHA1 Message Date
vsr
7615037388 Fix crash in Length2D::GetValues() and MultiConnection2D::GetValues() methods. 2010-09-24 08:28:34 +00:00
eap
e350ffef91 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
-    if ( !subMeshId )
+    if ( !subMeshId && ! _impl->GetMeshDS()->IsGroupOfSubShapes( myLocSubShape ))
       THROW_SALOME_CORBA_EXCEPTION("not sub-shape of the main shape", SALOME::BAD_PARAM);
2010-09-17 05:36:15 +00:00
eap
2cea858d03 indentation 2010-09-15 13:25:26 +00:00
eap
893497d10a 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
Add an argument to DoubleNodeXXX() creating groups
2010-09-15 13:25:06 +00:00
eap
ddff0c0a7e 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
No need in new commands in smeshDC.py, so DoubleNodeXXXNew() is replaced by DoubleNodeXXX()
2010-09-15 12:46:19 +00:00
eap
cd7aa1f910 Use TIDSortedNodeSet instead of set< const SMDS_MeshNode*> when looking for coincident nodes 2010-09-15 11:52:34 +00:00
eap
e38b448770 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
+  /*!
+   * Returns types of elements it contains
+   */
+  virtual SMESH::array_of_ElementType* GetTypes();
2010-09-15 11:51:57 +00:00
eap
d1d0bb638c 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
+    TPythonDump&
+    operator<<(const SMESH::ListOfIDSources& theList);
+
2010-09-15 11:50:48 +00:00
eap
c375774866 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
+  // set "FindCoincidentNodesOnPart()" instead of "FindCoincidentNodesOnPartBut()"
+  if ( !isPyMeshMethod && method == "FindCoincidentNodesOnPartBut")
+  {
+    isPyMeshMethod=true;
+    theCommand->SetMethod("FindCoincidentNodesOnPart");
+  }
2010-09-15 11:50:13 +00:00
eap
1e8fc8a66c 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
-    SMESH_IDSource MakeIDSource(in long_array IDsOfElements);
+    SMESH_IDSource MakeIDSource(in long_array IDsOfElements, in ElementType type);

+    void FindCoincidentNodesOnPartBut (in  SMESH_IDSource      SubMeshOrGroup,
+                                       in  double              Tolerance,
+                                       out array_of_long_array GroupsOfNodes,
+                                       in  ListOfIDSources     ExceptSubMeshOrGroups);
+
2010-09-15 11:47:53 +00:00
dmv
20db1a650f WinTC5.1.4: Application crash after open Linux study 2010-09-13 14:23:50 +00:00
eap
859a8ee4f0 untabify 2010-08-30 12:00:00 +00:00
eap
4802162fe0 Fix dump python of DoubleNode*() 2010-08-30 11:59:17 +00:00
eap
290a70345b Fix TPythonDump::operator<<(const SMESH::ListOfGroups& theList) for an empty list 2010-08-30 11:44:16 +00:00
mzn
cc203f62c3 Fix for imp 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI. 2010-08-30 10:57:47 +00:00
eap
da13b7ebd3 0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
* Fix for usecase: open the atached study, convert Mesh_1 from
   quadratic, unassign GHS3D algo -> SIGSEGV. Reason is that the same
   SMDS_SpacePosition is shared by all nodes in different solids.
2010-08-04 12:02:49 +00:00
adam
92931e254a Patch from Anthony to be compliant with MED 2010-07-19 15:18:39 +00:00
vsr
32a86c1f4a 0020742: EDF 1270 SMESH : Delete Group with contents and remove Orphan Nodes 2010-07-07 05:32:15 +00:00
adam
3cd9dd3663 windows port 2010-07-06 10:17:30 +00:00
vsr
8c1e153907 0020752: EDF 1303 SMESH : Add a 'Select All' button in Create Group dialog box 2010-06-22 15:24:40 +00:00
jfa
946f0a4e5c Mantis issue 0020812: Register() and Destroy() of the GenericObj. 2010-06-22 14:43:41 +00:00
ouv
e533bcb1d7 Issue 0020755: EDF 1279 MESH : 'Mesh to Pass Through a Point' enhancement 2010-06-21 10:30:03 +00:00
eap
475c43c868 0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
* set _isModified attribute of the mesh to true
2010-05-13 06:23:03 +00:00
eap
fdac3f59c5 0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
* save/restore _isModified attribute of the mesh
2010-05-13 06:22:26 +00:00
eap
dc9f7a0708 0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
+    /*!
+     * Return true if the mesh has been edited since a total re-compute
+     * and those modifications may prevent successful partial re-compute
+     */
+    boolean HasModificationsToDiscard()
+      raises (SALOME::SALOME_Exception);
2010-05-13 06:18:57 +00:00
vsr
6650dea1f8 Merge from V5_1_4_BR 07/05/2010 2010-05-07 15:08:23 +00:00
eap
da4a6470be Rename to avoid clash with same name class from GEOM_Engine
-class ObjectStates{
+class SMESH_ObjectStates{
2010-03-31 05:56:30 +00:00
eap
204b3f755c Remove useless extra dump in DEBUG mode 2010-03-31 05:55:11 +00:00
eap
a232cd7e03 0020672: EDF 1243 SMESH : Be able to transform mixed mesh
+    void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)
2010-03-30 12:38:16 +00:00
eap
8abf245a59 /*!
+     * Returns nodes of given face (counted from zero) for given volumic element.
+     */
+    long_array GetElemFaceNodes(in long elemId, in short faceIndex);
+
+    /*!
+     * Returns an element based on all given nodes.
+     */
+    long FindElementByNodes(in long_array nodes);
2010-03-30 12:27:31 +00:00
vsr
e9aead38a5 Issue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file 2010-03-22 15:08:53 +00:00
dmv
9e0ab432cc 0020799: [CEA] Smesh script fails 2010-03-22 14:48:33 +00:00
eap
8a6ef93bb1 SMESH_IDSource can be not-published object
+    operator<<(SMESH::SMESH_IDSource_ptr theArg);
2010-03-19 14:56:03 +00:00
eap
e1e680f157 0020714: EDF GHS3DPLUGIN: shapeToMesh when creating 3D mesh from 2D mesh
* Add function to find out if the given point is out of closed 2D mesh.

+  virtual TopAbs_State GetPointState(const gp_Pnt& point);
2010-03-04 14:05:05 +00:00
eap
a59cbfc28e Add a function to know kind of mesh element
+    EntityType GetElementGeomType( in long id )
2010-03-04 08:08:21 +00:00
skl
0af7b3cb3d Changes for bug 0020671. 2010-03-03 07:23:24 +00:00
adam
45fd4efb6f windows port 2010-03-01 14:15:48 +00:00
eap
c73dc0e564 + /*!
+     * \brief Wrap a sequence of ids in a SMESH_IDSource
+     */
+    SMESH_IDSource MakeIDSource(in long_array IDsOfElements);
2010-02-26 08:15:02 +00:00
vsr
2029d91e2f Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump 2010-02-12 08:37:10 +00:00
eap
0cadad987c 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
* Evaluate():
  ** do not read from out of vector range
  ** report error if algo->Evaluate() returns negative number
2010-02-01 11:12:17 +00:00
eap
035f2b519d - if ( theNbSegments )
+  if ( theNbSegments > 0 )
     myGen.SetDefaultNbSegments( int(theNbSegments) );
   else
     THROW_SALOME_CORBA_EXCEPTION( "non-positive number of segments", SALOME::BAD_PARAM );
2010-01-22 11:34:11 +00:00
eap
890d47aa59 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Fix conversion of LayerDistribution hypothesis
2010-01-22 11:33:35 +00:00
eap
0862b12810 1) + // RadialQuadrangle_1D2D ----------
2) fix _pyLayerDistributionHypo: move some code from Process() to Flush()
2010-01-20 11:03:16 +00:00
ouv
6c4be33671 Issue 0020514: EDF 1110 SMESH : Export many meshes in one Med File 2010-01-11 07:17:11 +00:00
eap
bcb8d2c754 cosmetic changes 2009-12-14 09:26:16 +00:00
eap
f1bc3e4413 0020605: EDF 1190 SMESH: Display performance. 80 seconds for 52000 cells.
set IsEmbeddedMode() in costructor
2009-12-11 10:43:31 +00:00
vsr
b03a1e6001 Merge from BR_phase16 branch (09/12/09) 2009-12-09 15:46:26 +00:00
vsr
2daa321efa Merge from V5_1_3_BR branch (07/12/09) 2009-12-08 13:11:42 +00:00
dmv
f314777950 correct previous integration (Porting to Python 2.6) 2009-10-12 13:47:12 +00:00
dmv
630e3674da Porting to Python 2.6 - add coding page specification for Python scripts 2009-10-12 06:16:35 +00:00