Commit Graph

844 Commits

Author SHA1 Message Date
eap
53254ff3ed untabify 2009-09-10 16:11:08 +00:00
eap
0244669837 untabify 2009-09-10 15:29:29 +00:00
ptv
4ce8e26285 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 12:57:35 +00:00
eap
9c4c09606e untabify 2009-09-10 12:51:28 +00:00
ptv
a44eb77228 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 12:40:55 +00:00
eap
525249fdfb unatbify 2009-09-10 11:06:18 +00:00
eap
99e3564a09 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
+#include <limits>
2009-09-10 08:10:41 +00:00
eap
e4bbd9cf6a - CORBA::Long SMESH_MeshEditor_i::FindNodeClosestTo(CORBA::Double x,
-                                                    CORBA::Double y,
-                                                    CORBA::Double z);
+  CORBA::Long FindNodeClosestTo(CORBA::Double x,
+                                CORBA::Double y,
+                                CORBA::Double z);
2009-09-10 08:07:28 +00:00
eap
7e8c1c603d untabify 2009-09-10 07:19:24 +00:00
ptv
35c05cab65 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 06:59:27 +00:00
eap
8772f598d6 untabify 2009-09-10 06:50:30 +00:00
eap
c15f8d1936 - some memory leaks 2009-09-10 06:02:38 +00:00
eap
38fb650b9e 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

     def FindNodeClosestTo(self, x, y, z):
-        preview = self.mesh.GetMeshEditPreviewer()
-        return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        #preview = self.mesh.GetMeshEditPreviewer()
+        #return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        return self.editor.FindNodeClosestTo(x, y, z)

+    ## Finds the elements where a point lays IN or ON
+    #  @param x  the X coordinate of a point
+    #  @param y  the Y coordinate of a point
+    #  @param z  the Z coordinate of a point
+    #  @param elementType type of elements to find (SMESH.ALL type
+    #         means elements of any type excluding nodes and 0D elements)
+    #  @return list of IDs of found elements
+    #  @ingroup l2_modif_throughp
+    def FindElementsByPoint(self, x, y, z, elementType = SMESH.ALL):
+        return self.editor.FindElementsByPoint(x, y, z, elementType)
+
2009-09-10 05:54:04 +00:00
eap
7756cec8c7 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
+    /*!
+     * Return ID of node closest to a given point
+     */
+    long FindNodeClosestTo(in double x, in double y, in double z);
+

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+    /*!
+     * Return elements of given type where the given point is IN or ON.
+     *
+     * 'ALL' type means elements of any type excluding nodes and 0D elements
+     */
+    long_array FindElementsByPoint(in double x, in double y, in double z, in ElementType type);
+
2009-09-10 05:52:11 +00:00
eap
7512099966 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

optimize for performance
2009-09-10 05:49:16 +00:00
eap
0f2c407672 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
struct SMESH_NodeSearcher
 {
   virtual const SMDS_MeshNode* FindClosestTo( const gp_Pnt& pnt ) = 0;
+  virtual void MoveNode( const SMDS_MeshNode* node, const gp_Pnt& toPnt ) = 0;
 };

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+//=======================================================================
+/*!
+ * \brief Return elements of given type where the given point is IN or ON.
+ *
+ * 'ALL' type means elements of any type excluding nodes and 0D elements
+ */
+//=======================================================================
+
+struct SMESH_ElementSearcher
+{
+  virtual void FindElementsByPoint(const gp_Pnt&                           point,
+                                   SMDSAbs_ElementType                     type,
+                                   std::vector< const SMDS_MeshElement* >& foundNodes)=0;
+};
2009-09-10 05:29:55 +00:00
eap
ba741219df 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+  bool IsOut(double X, double Y, double Z, double tol);
+  // Classify a point
2009-09-10 05:19:01 +00:00
eap
ec71bd93d2 untabify 2009-09-09 06:17:26 +00:00
asl
1f8dc8762c PAL20378 2009-09-04 08:21:40 +00:00
ouv
5ff23c3748 To avoid memory leaks 2009-09-03 08:50:15 +00:00
ouv
bcbdd40a30 To avoid memory leaks 2009-09-03 08:18:11 +00:00
ouv
2c26db46be Removed as obsolete 2009-09-02 10:53:52 +00:00
ptv
2fa6f3c92b remove compilation error on Windows 2009-09-01 06:56:48 +00:00
ptv
8a7fc527d7 remove compilation error on Windows 2009-09-01 03:53:08 +00:00
eap
db647c3bf2 unused variables 2009-08-27 14:09:43 +00:00
eap
30aaa793b9 fix GetSubMesh()
if ( it.More() )
+    {
       index = _myMeshDS->AddCompoundSubmesh( aSubShape, it.Value().ShapeType() );
+      if ( index > _nbSubShapes ) _nbSubShapes = index; // not to create sm for this group again
+    }
   }
2009-08-27 13:58:53 +00:00
eap
7dba98132c fix SetEventListener() for the case of groups 2009-08-27 13:56:40 +00:00
eap
037d3f1a0c untabify 2009-08-27 10:45:29 +00:00
eap
e069a4fc65 fix MakeMeshOnFxy1(): set medium nodes to the Fxy1 face instead of volume 2009-08-27 10:43:10 +00:00
ptv
20a656158d 0020095: EDF 896 SMESH : Advanced Mesh info on a group
correct Mesh Info statistic for sub-mesh objects
2009-08-27 10:27:17 +00:00
skl
72b7497557 Remove not needed "cout". 2009-08-27 08:10:02 +00:00
skl
3add66f219 Integration improvements 0020310 and 0020431. 2009-08-27 07:26:22 +00:00
jfa
874fdebf62 Bug 0020403: Clear mesh data doen't 'free' the memory. 2009-08-27 06:22:59 +00:00
dmv
df30a6d6f6 IPAL21303 ex15_cyl2geometry: mesh computation failed 2009-08-25 13:14:23 +00:00
dmv
0913edc2fc IPAL21340 Compute leads to Unknown Exception if No available data in selection. 2009-08-25 08:31:07 +00:00
ptv
7d36523b6a 0019296: EDF 681 SMESH
Add Evaluate into pop-up menu
2009-08-25 07:41:51 +00:00
ptv
40b2818f18 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
Replace hard coded values of element types by new enumeration (added in advanced mesh info Improvement)
2009-08-25 05:18:16 +00:00
dmv
96777f9e35 Editing hypothesis bug... 2009-08-24 11:31:32 +00:00
eap
53d936f2cd untabify 2009-08-24 08:45:30 +00:00
eap
7da5ad9632 untabify 2009-08-24 07:27:17 +00:00
vsr
d7f0a306f9 Fix crash in Filter_i::GetIDs() after Filter_i::SetMesh() function call 2009-08-21 09:22:45 +00:00
ptv
79c00fe8dd 0020095: EDF 896 SMESH : Advanced Mesh info on a group 2009-08-21 05:41:59 +00:00
eap
4aab533cbd 0020452: EDF 1056 SMESH : 2D Projection Issue
use shape partnership (TopoDS_Shape::IsPartner()) for an easy projection
2009-08-20 07:42:20 +00:00
eap
c9d6ead3f5 0020452: EDF 1056 SMESH : 2D Projection Issue
1) in FindSubShapeAssociation(): use shape partnership (TopoDS_Shape::IsPartner())
   for association
2) in FindFaceAssociation(): try two algoritms to find a correct outer wire
2009-08-20 07:40:08 +00:00
eap
b32884a5f8 fix indentation 2009-08-20 07:36:49 +00:00
eap
57781aac7a 0020452: EDF 1056 SMESH : 2D Projection Issue
static int GetOrderedEdges (const TopoDS_Face&        theFace,
                               TopoDS_Vertex             theFirstVertex,
                               std::list< TopoDS_Edge >& theEdges,
-                              std::list< int >  &       theNbVertexInWires);
+                              std::list< int >  &       theNbVertexInWires,
+                              const bool                theShapeAnalysisAlgo=false);
2009-08-20 07:35:09 +00:00
vsr
2e5ccf9f57 Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined 2009-08-13 05:50:13 +00:00
ptv
3a85b1b855 correct script (syntax error and missing arguments) Bug IPAL21322 2009-08-12 07:35:36 +00:00
ptv
787fff0067 IMP20439 Create hole by element and nodes duplication 2009-08-11 12:01:49 +00:00
eap
eee601b7b1 IPAL21302 Selection of the Hypothesis without Geometry leads to Unknown exception. Regress to 5.1.2 2009-08-11 09:09:55 +00:00
skl
3611527175 Protection before invalid hypothesises for "Evaluate" operation. 2009-08-06 12:44:45 +00:00
jfa
f4ba12e460 Correct bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300) 2009-08-04 12:22:34 +00:00
adam
05a54f24ee Another fix like previous one. 2009-08-03 14:39:22 +00:00
vsr
a4d61a7b6f Fix compilation problems on Windows 2009-07-31 13:52:22 +00:00
vsr
ce336312be Issue 20443: SIGSEGV in SMESHGUI_VTKUtils.cxx::RemoveVisuData 2009-07-31 13:12:15 +00:00
adam
fc90840855 Remove warnings 2009-07-30 16:14:24 +00:00
skl
6a950222ba Changes for bug 0020381 from Mantis. 2009-07-28 11:38:26 +00:00
maintenance team
e0f4c9a46e update SMESH_test comment i3 2009-07-27 12:03:16 +00:00
dmv
dfb859163d IPAL21286 1D Meshing for the Forward and Reversed Edge are equal. 2009-07-27 08:44:02 +00:00
ouv
4e54c1cef1 Fix of the problem with vtkRenderer::GetActors() method 2009-07-22 10:46:42 +00:00
skl
55510e5ccd Implementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis). 2009-07-22 09:13:29 +00:00
dmv
f02c3a1b9e IPAL21265 It's impossible to select edge for Reverce in Arithmetic 1D Hypothesis when Edit Mesh 2009-07-22 07:33:31 +00:00
dmv
4137f1c07b 0020089: EDF 887 MED : Take into account 0D elements (MED_POINT1) 2009-07-20 14:50:13 +00:00
adam
90c6367e0c Fix compilation of gcc 4.3.2 2009-07-20 13:11:57 +00:00
jfa
4592fecfcf IMP 0020089: Take into account 0D elements (MED_POINT1) 2009-07-16 13:33:03 +00:00
eap
74c0034727 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
implement python dump
2009-07-15 13:44:24 +00:00
eap
951e90bf47 {
/*!
      * Sets <start segment length> or <end segment length> parameter value
+     * * OBSOLETE *. Avoid such a way of interface design
+     * * It is recommended to dedicate a method to each parameter.
      */
     void SetLength(in double length, in boolean isStartLength)
       raises (SALOME::SALOME_Exception);

     /*!
+     * Sets <start segment length> parameter value
+     */
+    void SetStartLength(in double length)
+      raises (SALOME::SALOME_Exception);
+
+    /*!
+     * Sets <end segment length> parameter value
+     */
+    void SetEndLength(in double length)
+      raises (SALOME::SALOME_Exception);
2009-07-15 13:43:48 +00:00
eap
67b7121966 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
add reversedEdges parameter
2009-07-15 13:43:06 +00:00
eap
53843f55f6 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
class _pyComplexParamHypo
{
+  void Flush();

in order to clear SetObjectEntry() command
2009-07-15 13:42:30 +00:00
eap
2e8fa1f01c 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
convert SetReversedEdges(),
     improve GetWord() to return a whole list
2009-07-15 13:41:14 +00:00
vsr
686a864564 Merge from V5_1_2_BR branch (14 July 2009) 2009-07-15 08:11:22 +00:00
dmv
184f00f38e 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-07-08 10:34:09 +00:00
vsr
0d70483e9f Fix compilation problem on Debin Sarge 2009-07-06 11:39:01 +00:00
skl
f91869c65c Implememtation of evaluation for improvement 0019296. 2009-06-30 12:19:47 +00:00
skl
bb0c89d5a8 Implememtation of evaluation for improvement 0019296. 2009-06-29 13:26:16 +00:00
eap
0f98258c46 SMESH_Hypothesis::Hypothesis_Status aStatus;
if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) {
+      aPrism3D->InitComputeError();
       bOK = aPrism3D->Compute( aMesh, aShape );
2009-06-18 12:47:55 +00:00
eap
6d0508c77b - ## Returns the list of IDs of submesh elements with the given type
+    ## Returns type of elements on given shape
     #  @param Shape a geom object(subshape) IOR
     #         Shape must be a subshape of a ShapeToMesh()
-    #  @return the list of integer values
+    #  @return element type
     #  @ingroup l1_meshinfo
     def GetSubMeshElementType(self, Shape):
         if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
2009-06-18 12:45:53 +00:00
eap
8735b17bdc 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
/*!
+   * \brief Move medium nodes of faces and volumes to fix distorted elements
+   * \param volumeOnly - fix nodes on faces or not if the shape is solid
+   */
+  void FixQuadraticElements(bool volumeOnly=true);
2009-06-18 12:44:50 +00:00
eap
3232c8723f 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
struct SMESH_TLink: public NLink {
+  const SMDS_MeshNode* node1() const { return first; }
+  const SMDS_MeshNode* node2() const { return second; }
};
2009-06-18 12:42:13 +00:00
eap
47e62a030c 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
in ConvertToQuadratic()
+  if ( !theForce3d ) {
+    aHelper.SetSubShape(0); // apply to the whole mesh
+    aHelper.FixQuadraticElements();
+  }
2009-06-18 12:40:22 +00:00
eap
02846fd083 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
+  inline int NbElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:38:26 +00:00
eap
51a896bafb 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
-  SMDS_ElemIteratorPtr elementsIterator() const;
+  SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:35:37 +00:00
skl
34fb01e7b5 Implementation of new version ExtrusionAlongPath (20003 from Mantis). 2009-06-10 07:09:15 +00:00
vsr
23636c1eb3 Issue 0020370: Symbols multi defined 2009-05-28 13:39:06 +00:00
dmv
bd5c3ea6d2 0020373: MakeMultiTransformation1D failed on maintenances branch (V4 and V5) 2009-05-27 14:34:10 +00:00
vsr
c645e10df0 Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something 2009-05-27 14:20:16 +00:00
vsr
b726570a5c Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something 2009-05-27 14:10:47 +00:00
ouv
9df276244b Issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption) 2009-05-27 12:05:48 +00:00
rnv
e85139c53f Implementation of the issue 20115: [CEA 308] Quadratic elements visualization.
Some corrections.
2009-05-27 12:05:17 +00:00
rnv
c66c06508b Implementation of the issue 20115: [CEA 308] Quadratic elements visualization. 2009-05-27 11:25:25 +00:00
ouv
daf3ca87d0 Issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption) 2009-05-27 07:24:39 +00:00
eap
cead6d7aed 0019936: EDF 794 SMESH : Export UNV : Node color and group id
default node color - 11
2009-05-26 05:22:13 +00:00
eap
c13e1f70bc 0019936: EDF 794 SMESH : Export UNV : Node color and group id
write group label as <group ID>+1
2009-05-26 05:17:10 +00:00
eap
4ac1bf1b0d minor change 2009-05-25 11:37:37 +00:00
eap
ca174cbff6 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
1) Call CheckGeomGroupModif() in Clear()
    2) In CheckGeomGroupModif(), implement case where meshed geom group changes
2009-05-25 11:37:06 +00:00
eap
b4562e1bda 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
+  void changeLocalId(int localId) { myLocalID = localId; }
+  friend void SMESH_Mesh_i::CheckGeomGroupModif();
2009-05-25 11:33:38 +00:00
eap
8a18d05e3b 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
enable Load() in case if meshed geom group has changed
2009-05-25 11:32:35 +00:00
eap
a16572377f 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
update object browser as some object can be removed
2009-05-25 11:29:49 +00:00
eap
b5cb4a64fb 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
In ShapeToMesh(), delete submeshes
2009-05-25 11:24:54 +00:00
eap
c7b8fb12f3 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
allow changing shape to mesh in case of shape being group
2009-05-25 11:20:50 +00:00
dmv
adc76cf234 0020104: EDF 861 SMESH : Mesh element info evolution 2009-05-21 13:09:36 +00:00
vsr
efc89ab066 0020362: EDF SMESH: Smesh commands always generate print logs 2009-05-21 11:11:41 +00:00
eap
c4e4d52dd6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix for SIGSEGV on quadratic  mesh
2009-05-20 13:21:04 +00:00
eap
c8e501d713 0020279: [CEA 334] control the "random" use when using mesh algorithms
sort faces by IDs
2009-05-19 15:41:19 +00:00
eap
318d07b4db 0020279: [CEA 334] control the "random" use when using mesh algorithms
1) delete temporary faces in destructor
   2) bind created pyramids to shape
   3) create quadratic pyramids when necessary
   4) sort faces by IDs
2009-05-19 15:40:53 +00:00
eap
58e6fd99b6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix FindMatchingNodesOnFaces() on quadratic mesh
2009-05-19 15:36:09 +00:00
eap
e07947533e 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SetSourceMesh(): set mesh before calling NotifySubMeshesHypothesisModification()
2009-05-19 15:35:17 +00:00
eap
eb2c096f8e 0020279: [CEA 334] control the "random" use when using mesh algorithms
Compare TNode's by node ID
2009-05-19 15:34:07 +00:00
eap
966f6ecf06 0020279: [CEA 334] control the "random" use when using mesh algorithms
In SetEventListener(), avoid meshing of internal vertices of
   complex edge
2009-05-19 15:33:12 +00:00
eap
ec51778b0c 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SourceShape3D() for the case when no vertices are provided
2009-05-19 15:32:08 +00:00
eap
f33734eda1 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix GetHypothesisList() for mesh w/o shape
2009-05-19 15:31:06 +00:00
eap
ea772b0267 0020279: [CEA 334] control the "random" use when using mesh algorithms
Use TIDCompare from SMDS_MeshElement.hxx
2009-05-19 15:28:40 +00:00
eap
60009bb9da 0020279: [CEA 334] control the "random" use when using mesh algorithms
For stability of StdMeshers_CompositeSegment_1D:
+  bool IsAlwaysComputed() { return _alwaysComputed; }
2009-05-19 15:27:52 +00:00
eap
aa8faf765a #include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx 2009-05-19 15:26:34 +00:00
eap
413a2425d7 eliminate compilation warning 2009-05-19 15:23:46 +00:00
eap
c50dcca3fe +#include "SMESH_MeshEditor.hxx" // needed for many meshers 2009-05-19 15:20:28 +00:00
eap
b6c9c862b4 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix IsQuadraticSubMesh() to work on mesh w/o shape
2009-05-19 15:19:52 +00:00
eap
b632539159 move struct TIDCompare to SMDS_MeshElement.hxx 2009-05-19 15:17:19 +00:00
eap
eb1ffbdba2 static const SMDS_MeshNode* VertexNode(const TopoDS_Vertex& V,
-                                         SMESHDS_Mesh*        meshDS);
+                                         const SMESHDS_Mesh* meshDS);
2009-05-19 15:16:37 +00:00
eap
24f41d7b2b in GetNodeParamOnEdge(), take into account that nodes on vertices not
always present, e.g. when Composite side discretisation is used
2009-05-19 15:16:23 +00:00
eap
91d01b7efe + const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedIndex( ind )); }
+// ============================================================
+/*!
+ * \brief Comparator of elements by ID for usage in std containers
+ */
+// ============================================================
+
+struct TIDCompare {
+  bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
+  { return e1->GetID() < e2->GetID(); }
+};
2009-05-19 15:13:59 +00:00
eap
b6986ac1b1 GetNode(int index) no longer wraps index, rather GetNodeWrap(int index) does 2009-05-19 15:12:54 +00:00
maintenance team
88eccafce6 Update according to change of boolean operation. 2009-05-19 10:18:06 +00:00
eap
52aa1d3b40 0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
Nullify mesh after TNodeSearcherDeleter::Unset()
2009-05-06 13:23:57 +00:00
eap
fd97cbec7c 0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
notify node searcher on mesh destruction
2009-05-06 13:17:33 +00:00
dmv
879dbf686e 0020321: EDF : Some windows do not appear depending on the platform (MinimumSizeHint()) 2009-05-06 11:36:36 +00:00
eap
14dd470a5d 0020338: EDF 1019 SMESH : 3D extrusion issue
fix FindMatchingNodesOnFaces() for the case of no nodes on edge (since nb segments == 1 )
2009-05-06 11:31:45 +00:00
eap
1f4f2f7503 IPAL21120 SIGSEGV on Meshing attached Compound with Automatic Hexadralization
Report on bad geometry if GetFaceIndex() returns -1
2009-05-04 15:17:26 +00:00
dmv
8fccf870d3 IPAL20992 Controls Free nodes works wrong 2009-04-28 12:53:25 +00:00
ptv
ddbb0db133 0020313
EDF 1002 SMESH: Mesh groups are not published in the good study
2009-04-24 07:57:47 +00:00
ptv
0b8a0a7ce8 0020319: EDF SMESH 1007: creation of a sub-mesh on face tries to assign Netgen3D algorithm 2009-04-22 12:47:06 +00:00
ptv
103c6cfb67 fix bug with "Compute" operation invoked from Preview dialog (The problem that dialog with mesh result info appear and disappear very quickly) 2009-04-21 11:27:21 +00:00
eap
728f9a0bad TCollection_AsciiString anEntry;
...
-        anEntry = aSObj->GetID();
+        CORBA::String_var anEntry = aSObj->GetID();
2009-04-21 10:45:40 +00:00
dmv
fb9eed7fa3 0020323: EDF SMESH 1006: Group on geometry: automatic switch to geometry selection field 2009-04-17 12:30:43 +00:00
rnv
0f1fe5b1e3 Implementation of the issue 0020151 (SALOME: Light Python module):
Call LightApp_Module::LightApp_Module() constructor, because virtual inheritance between LightApp_Module and SalomeApp_Module classes was added.
2009-04-17 11:03:03 +00:00
dmv
4efe224f00 0020317: EDF SMESH 1004: "Edit group" changes the name of the group 2009-04-17 07:44:03 +00:00
dmv
25f640b0b6 IPAL21062 Fatal error on Add "Names of filters" - regression 2009-04-17 07:15:33 +00:00
dmv
c41972303e IPAL21058 Preview and Compute mesh help file not found 2009-04-16 13:31:33 +00:00
dmv
4fcbba44ec IPAL21052 Hypothesis Construction Help doesn't show help information 2009-04-16 07:12:26 +00:00
vsr
66b8a7daf6 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
Additional patch: do not publish SMESH component automatically on the module activation
2009-04-14 12:12:27 +00:00
jfa
25d7535ec6 small optimization 2009-04-14 08:49:57 +00:00
dmv
72c8afe581 IPAL21003 Impossible create group from existing group shown only 2009-04-13 07:08:56 +00:00
eap
cd3124ccaa 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
update groups
2009-04-03 14:32:33 +00:00
eap
42b21b7e94 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
use gen->SetPixMap()
2009-04-03 14:31:37 +00:00
eap
908ed4f2a2 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
+  static void SetPixMap(SALOMEDS::SObject_ptr theSObject,
+                        const char*           thePixMap);
2009-04-03 14:30:42 +00:00
eap
dd496074b4 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
call mesh->CheckGeomGroupModif() when current study changes
2009-04-03 14:28:20 +00:00
eap
3c24068111 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
Make SMESH_Gen update meshes at switching GEOM->SMESH
2009-04-03 14:26:25 +00:00
eap
5c372d327f 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
+  void SetShape( const TopoDS_Shape& theShape);
2009-04-03 14:20:45 +00:00
eap
9266dd32f0 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape)
{
 ...
+  else
+  {
+    _isShapeToMesh = false;
+    _shapeDiagonal = 0.0;
+    _myMeshDS->ShapeToMesh( PseudoShape() );
+  }
2009-04-03 14:11:19 +00:00
jfa
c113b9f92e Bug 0020185: EDF SMESH 967 : Anomaly in Merge Nodes. 2009-04-03 08:54:51 +00:00
vsr
7bc441ba31 Fix problem (internal 21002) - "MED file information" command is not shown in popup menu 2009-04-02 09:32:03 +00:00
dmv
c3c7609f27 IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group 2009-04-02 08:41:29 +00:00
eap
95f31e3a95 fix the previous modification
-      std::swap( iAfterSame, iAfterSame );
+      std::swap( iBeforeSame, iAfterSame );
2009-03-24 08:29:44 +00:00
eap
73a829efdf simply code 2009-03-23 08:00:51 +00:00
jfa
0556492614 Bug 0016617: Regression in V5.1.1rc3: the groups are not generated. 2009-03-19 14:41:11 +00:00
eap
9fd4726f74 0020222: Quandrangle_2D meshing fail
unite only edges shared by two same faces
2009-03-19 07:14:16 +00:00
vsr
cb0cec3f05 Issue 19292: fix wrong use case 2009-03-16 16:11:22 +00:00
eap
38d5458b4d 0020217: EDF SMESH: Dump file with mesh and group on geom is wrong
fix _pyCommand::GetWord() for case of names with white spaces inside
2009-03-16 07:50:59 +00:00
eap
a84fe0415c 0020213: RadialPrism_3D_4 failed on V5_1 64 bits
0020214: Project_2D_4 failed on V5_1 64 bits
   different ways of removing deleted and alive elements from submesh
2009-03-12 09:47:59 +00:00
eap
bebf85204e 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
clear mesh if an added local algorithm hides a global all-dimensional one
2009-03-11 15:19:39 +00:00
eap
7462200bee 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
clear mesh if an added local algorithm hides a global all-dimensional one
2009-03-11 15:18:03 +00:00
eap
e49d9ab359 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
in GetSubMesh(), fix detection of SMESHDS_SubMesh'es of geom groups
2009-03-11 15:09:46 +00:00
eap
6f2fdeb795 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
fix detection of SMESHDS_SubMesh'es of geom groups
+  int                        _nbSubShapes;  // initial nb of subshapes in the shape to mesh
2009-03-11 14:58:44 +00:00
eap
e3ca5591ac 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
don't create ordinary submeshes for compounds
2009-03-11 14:55:05 +00:00
eap
666e100eeb enable NoteBook variables for "MaxSize" 2009-03-11 14:52:48 +00:00
eap
015abb3cd3 avoid extra list copying
-    aRes = (*it).second;
+    return it->second;
2009-03-11 14:48:54 +00:00
eap
59b7f3d704 0020200: EDF SMESH 983: changing algo of a mesh and switching back to original algo leads to different result than original
sort nodes and elements by ID
2009-03-10 16:32:02 +00:00
jfa
2534543b1e Bug 0020201: EDF SMESH 984: Dump with Netgen1D2D3D doest not work. 2009-03-10 09:12:29 +00:00
vsr
e4630fff0c Add missing translations 2009-03-10 06:32:10 +00:00
vsr
5e1a596ea1 Integrate patch from E.ADAM (Qt 4.5.0 compatibility) 2009-03-09 13:38:20 +00:00
adam
c9cb7f7c5d Test EXPORTS definition with target name as suggested by cmake 2009-03-06 16:00:11 +00:00
dmv
f408ed4ef2 IPAL20918 Color of Group of Nodes or Edges is not changed when Edit Group 2009-03-06 12:40:08 +00:00
eap
fd5333a3ed PAL20915 TC5.1.1: field "Value" is not shown for assigned hypothesis
Since NoteBook appears, "Value" OB field shows names of variable
    and not values of parameters
2009-03-06 09:23:52 +00:00
eap
b17276ded0 0020184: EDF SMESH 952: Projection 2D does not work
project only if there are nodes on face
2009-03-03 08:53:53 +00:00
eap
cba66c5885 0020184: EDF SMESH 952: Projection 2D does not work
+  static bool IsBoundaryEdge()
+  bool AssocGroupsByPropagation()
2009-03-03 08:49:33 +00:00
eap
d27067784a 0020184: EDF SMESH 952: Projection 2D does not work
use ShapeAnalysis::OuterWire() insead of BRepTools::OuterWire()
2009-03-03 08:38:05 +00:00
jfa
2bd83d5b0b Bug 0020185: EDF SMESH 967 : Anomaly in Merge Nodes. 2009-03-02 14:57:00 +00:00
dmv
14e6b5b1a7 0019928: EDF 771 SMESH : Extrusion (Revolution) with normal to a face 2009-02-27 15:33:35 +00:00
eap
2db16adfe0 0020183: EDF SMESH 966 : Mesh element info anomaly
enable selecting nodes common to 2 shown groups
2009-02-27 13:34:22 +00:00
eap
4f4312b86e avoid repeated search in std::map 2009-02-27 11:27:33 +00:00
eap
b7c184daab 0020183: EDF SMESH 966 : Mesh element info anomaly
fix GetElemObjId() and GetNodeObjId: prevent out_of_range error if id==vector.size()
2009-02-27 11:26:14 +00:00
adam
ea89ab6a23 Compatibility cmake 2009-02-26 15:04:36 +00:00
adam
96fede33b3 Compatibility windows 2009-02-26 15:02:59 +00:00
eap
672ca0c09f 0020182: EDF SMESH 965 : SIGSEV at study opening with SMESH
be patient to studies with invalid node positions data
2009-02-25 15:22:05 +00:00
eap
167a4d4243 In Clear(), nullify nb of poly elements 2009-02-25 15:13:26 +00:00
eap
455ceefa49 0020182: EDF SMESH 965 : SIGSEV at study opening with SMESH
be patient to studies with invalid node positions data
2009-02-25 15:02:11 +00:00
eap
ef7a7ed667 0019929: EDF 772 SMESH : script readability
+class _pySelfEraser: public _pyObject
2009-02-24 14:57:10 +00:00
eap
2b1b345532 fix dumping colors:
use valid python names instead of names in Study
2009-02-24 14:56:11 +00:00
eap
df4afe2d50 0019929: EDF 772 SMESH : script readability
+
+  operator char*() const {
+    return (char*)c_str();
+  }
2009-02-24 14:52:58 +00:00
eap
c539a4181c fix Python Dump 2009-02-24 13:48:47 +00:00
adam
d5dd2d9628 compatibility windows compilation with cmake 2009-02-24 09:27:39 +00:00
eap
2401f44552 0020170: EDF SMESH: Selection behaviour in object browser from hypothesis editing windows
remove filters before creation/edition of hypothesis and restore them after
2009-02-24 09:26:28 +00:00
adam
efe3598bba compatibility compilation with cmake 2009-02-24 09:25:26 +00:00
eap
2142c9f70f 0020170: EDF SMESH: Selection behaviour in object browser from hypothesis editing windows
+  int                          getActiveObject();
2009-02-24 09:23:25 +00:00
vsr
7ce6ef7ee9 Issue 0019938 - fix problem with wrong filter selection (ptv) 2009-02-20 15:11:22 +00:00
vsr
751f23b3e0 Issue 19925: Fix bug with 2d mesh preview 2009-02-20 15:00:02 +00:00
dmv
85ce250186 0020168: EDF SMESH 953: uncomplete selection with filter 'belong on geom' 2009-02-20 11:39:09 +00:00
dmv
b199783795 0020168: EDF SMESH 953: uncomplete selection with filter 'belong on geom' 2009-02-20 08:08:43 +00:00
vsr
18711ecd04 Merge from BR_V5_DEV 17Feb09 2009-02-17 06:55:16 +00:00
vsr
0635c9fc80 Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00