Commit Graph

765 Commits

Author SHA1 Message Date
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
jfa
5746a53aa7 Correct bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300) 2009-08-11 08:02: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
ouv
d61e132baa Issue 0020420: Bad links in Documentation 2009-07-28 14:49:34 +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
skl
418ecd5e73 Implementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis). 2009-07-24 05:08:32 +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
f5a2b6350e 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
+# optionally reverse node distribution on certain edges
+allEdges = geompy.SubShapeAllSortedIDs( box, geompy.ShapeType["EDGE"])
+reversedEdges = [ allEdges[0], allEdges[4] ]
+
 # define "Arithmetic1D" hypothesis to cut all edges in several segments with increasing arithmetic length
-algo1D.Arithmetic1D(1, 4)
+algo1D.Arithmetic1D(1, 4, reversedEdges)
2009-07-16 06:13:51 +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
eap
4479d7348d {
/*!
      * 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:26:29 +00:00
vsr
686a864564 Merge from V5_1_2_BR branch (14 July 2009) 2009-07-15 08:11:22 +00:00
ouv
142fbce46d Fix of bug 0020420: Bad links in Documentation 2009-07-14 12:04:10 +00:00
dmv
184f00f38e 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-07-08 10:34:09 +00:00
ouv
ebb875b091 Fix of bug 0020420: Bad links in Documentation 2009-07-07 12:35:26 +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
c601f55833 -algotithm, resulting in different 2D and 3D meshes.</li>
+algorithm, resulting in different 2D and 3D meshes.</li>
2009-06-23 08:29:25 +00:00
maintenance team
6728d3c1e8 Update SMESH GUI documentation 2009-06-22 12:46:02 +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
maintenance team
6a528ce128 Changing version to 5.1.2 2009-06-01 10:25:36 +00:00
nge
8657df1e18 Update documentation for BLSurf size map feature 2009-05-29 14:48:47 +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