Commit Graph

1186 Commits

Author SHA1 Message Date
eap
324f7b8ed8 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
* Add HEXA_TO_24 splitting mode
2010-10-04 11:39:25 +00:00
eap
0d966dfe0f +</ol> 2010-10-04 11:38:57 +00:00
eap
b9acb518d9 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
* Add HEXA_TO_24 splitting mode
2010-10-04 11:30:00 +00:00
eap
61e5c761ce 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
* Add Hex_24Tet splitting mode
2010-10-04 11:29:01 +00:00
eap
cd749c768d 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
void SMESH_MeshEditor_i::SplitVolumesIntoTetra (SMESH::SMESH_IDSource_ptr elems,
                                                CORBA::Short              methodFlags)
  throw (SALOME::SALOME_Exception)
{
  Unexpect aCatch(SALOME_SalomeException);

+  initData();
2010-10-04 11:27:58 +00:00
eap
7b7daf5e4b + SMDS_MeshFace* AddPolygonalFace (const std::vector<const SMDS_MeshNode*>& nodes,
+  SMDS_MeshVolume* AddPolyhedralVolume (const std::vector<const SMDS_MeshNode*>& nodes,
2010-10-04 11:25:52 +00:00
eap
679fca4c8a 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
* Add HEXA_TO_24 splitting mode
 * Fix ConvertToQuadratic() to avoid disappearance of poly elements
2010-10-04 11:24:14 +00:00
eap
d246fa304c Do not pass vector arguments by value 2010-10-04 11:19:48 +00:00
eap
73edef8516 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
* Fix IsLinked()
 * Add GetFaceBaryCenter():
2010-10-04 11:18:24 +00:00
vsr
6521e4304e Fix configure problem (caused by previous integration).
AC_PROG_MKDIR_P is not available for autoconf 2.59 (Debian Sarge, Mandriva 2006)
2010-10-04 09:57:42 +00:00
eap
d51f12e37e inline TCollection_AsciiString ElementTypeString (SMESH::ElementType theElemType)
{
...
+    CASE2STRING( ELEM0D );
2010-10-04 06:01:04 +00:00
gdd
19ef864fd7 Patch for the generation of the documentation 2010-10-01 15:06:10 +00:00
eap
b65a958881 0021015: EDF 1578 SMESH: Free nodes are removed when translating a mesh
* Pass empty set of elements if the whole mesh is to be transformed
 * Fix incorrect treatment of groups of nodes
 * Call SMESH_MeshEditor::Transform() from Scale*()
2010-10-01 12:53:07 +00:00
eap
ee86814502 0021015: EDF 1578 SMESH: Free nodes are removed when translating a mesh
* Treate orphan nodes in Transform()
 * Remove Scale() as being a paricular case of Transform()
2010-10-01 12:48:49 +00:00
eap
ea89003dc2 - theObject = self.editor.MakeIDSource(theObject)
+            theObject = self.editor.MakeIDSource(theObject, SMESH.ALL)
2010-10-01 12:44:05 +00:00
eap
dcf75abef1 improve comment for Scale 2010-10-01 07:29:53 +00:00
eap
a109051402 0021016: [CEA] non regression test KO
Implement
      SMDS_ElemIteratorPtr Q2TAdaptor_Triangle::elementsIterator(SMDSAbs_ElementType type) const
2010-09-30 13:25:40 +00:00
vsr
0074bfab7c 0021012: [CEA] Different names between GUI and TUI function 2010-09-29 08:00:24 +00:00
eap
79dc752f75 -#include "SMDS_FaceOfNodes.hxx" 2010-09-29 07:58:16 +00:00
eap
56d3c935a8 0021006: EDF 1546 SMESH : Convert To Quadratic fails
+  const SMDS_MeshNode* getMediumNodeOnComposedWire(const SMDS_MeshNode* n1,
+                                                   const SMDS_MeshNode* n2,
+                                                   bool                 force3d);
2010-09-28 11:29:20 +00:00
gdd
195a4bb6ec RNC: Completed the documentation of GetElementsByType with the values taken by ElementType 2010-09-28 08:06:46 +00:00
gdd
656fe38db7 Merge from BR_pypkg (python packaging) 2010-09-27 15:28:50 +00:00
gdd
4de666ddfa RNC: Fixed documentation of SetGeometricMesh
Parameter theGeometricMesh takes the value 0 or 1
2010-09-27 09:35:03 +00:00
eap
27cd471609 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
One more redesign
2010-09-27 06:30:22 +00:00
eap
9167a6a24d Remove unused method
-  bool emptyInverseElements();
2010-09-27 06:21:30 +00:00
vsr
79d1c82a95 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature 2010-09-27 06:17:50 +00:00
vsr
92ccacc7e0 Improve dialog box's layout 2010-09-26 16:14:05 +00:00
vsr
632a68b51c Remove compilation warning 2010-09-26 06:47:43 +00:00
vsr
d4f9cc5a79 EDF 1575 SMESH: Filters and precision preferences 2010-09-24 13:08:23 +00:00
vsr
7615037388 Fix crash in Length2D::GetValues() and MultiConnection2D::GetValues() methods. 2010-09-24 08:28:34 +00:00
vsr
75c075899d Hack libtool (!) to workaround problem with wrong linkage of native libraries 2010-09-22 13:58:13 +00:00
eap
c9ba971509 issue 0020959: HEXA_3D fails on shell
Fix DependsOn() for a not-closed SHELL not in SOLID
2010-09-22 11:41:25 +00:00
eap
8ca5200ec2 0020986: EDF 1557 SMESH: Convert to quadratic with medium node on geometry fails on a GHS3D mesh
Optimize FixQuadraticElements()
2010-09-22 11:24:21 +00:00
eap
f3ec053630 0020996: EDF 1549 SMESH: Projection 1D/2D algorithms fail
implement FindFaceAssociation() by UV correspondence which is used
   in case if correspondent vertices belong to inner wires
2010-09-22 10:01:32 +00:00
gdd
5fbfcdf41e GDD:
- fix documentation of ConvertToQuadratic (inform about theForce3d parameter)
- New function PrintDoubleValue added in PluginUtils
2010-09-21 13:48:27 +00:00
eap
13325ec615 0020996: EDF 1549 SMESH: Projection 1D/2D algorithms fail
Fix FindFaceAssociation():
     1) exit from loop on outer_wire_algo as soon as solution is found
     2) treat edges of inner wires
2010-09-21 07:53:49 +00:00
eap
631ad5cae2 Correct name of an argument
static int GetOrderedEdges (const TopoDS_Face&        theFace,
                               TopoDS_Vertex             theFirstVertex,
                               std::list< TopoDS_Edge >& theEdges,
-                              std::list< int >  &       theNbVertexInWires,
+                              std::list< int >  &       theNbEdgesInWires,
                               const bool                theShapeAnalysisAlgo=false);
2010-09-21 07:48:09 +00:00
ouv
47134513c5 Issue 0020226: [CEA 329] Invalid glyphs position in vector fields on polyhedrons cell. 2010-09-20 13:00:13 +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
e0baca518c 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Fix fillAncestorsMap(theShape) for the case if a sub-shape of
   theShape is not in _mapAncestors
2010-09-17 05:35:42 +00:00
eap
c72cfb82fd 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Move all checks of shape validity from AddCompoundSubmesh() to IsGroupOfSubShapes()
2010-09-17 05:34:11 +00:00
eap
52e29b1d26 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
bool IsLinked (const SMDS_MeshNode* theNode1,
                  const SMDS_MeshNode* theNode2,
+                 const bool           theIgnoreMediumNodes=false) const;
   // Return true if theNode1 is linked with theNode2.
+  // If theIgnoreMediumNodes then corner nodes of quadratic cell are considered linked as well
2010-09-15 15:11:26 +00:00
eap
27c31e5d2a 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Replace VTK_CONVEX_POINT_SET with VTK_QUADRATIC_PYRAMID
2010-09-15 15:08:58 +00:00
dmv
82fc097deb 0020983: EDF 1569 SMESH: Numbering Display Elements with several groups selected does not work 2010-09-15 14:59:58 +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
ca0696b420 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
## Finds groups of ajacent nodes within Tolerance.
     #  @param Tolerance the value of tolerance
     #  @param SubMeshOrGroup SubMesh or Group
+    #  @param exceptNodes list of either SubMeshes, Groups or node IDs to exclude from search
     #  @return the list of groups of nodes
     #  @ingroup l2_modif_trsf
-    def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance):
+    def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance, exceptNodes=[]):
2010-09-15 12:09:30 +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