Salome HOME
modules/smesh.git
14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
dmv [Tue, 15 Sep 2009 14:16:35 +0000 (14:16 +0000)]
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse

14 years agoChanged for 0020431.
skl [Tue, 15 Sep 2009 13:32:29 +0000 (13:32 +0000)]
Changed for 0020431.

14 years agoIPAL21340 Compute leads to Unknown Exception if No available data in selection.
dmv [Tue, 15 Sep 2009 13:25:02 +0000 (13:25 +0000)]
IPAL21340 Compute leads to Unknown Exception if No available data in selection.

14 years ago0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
eap [Tue, 15 Sep 2009 13:24:04 +0000 (13:24 +0000)]
0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
  pb: only the 1st algo is applied

     // apply the algos that do not require descretized boundaries
     // ----------------------------------------------------------
     for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
+    {
+      sm = *subIt;
       if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
       {

14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
dmv [Tue, 15 Sep 2009 13:00:06 +0000 (13:00 +0000)]
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse

14 years ago0020310: EDF 997 SMESH : Tell the mesh to pass through different points
ptv [Tue, 15 Sep 2009 12:42:32 +0000 (12:42 +0000)]
0020310: EDF 997 SMESH : Tell the mesh to pass through different points
Edit sub mesh with hypothesis, but without algos.
It is necessary tocheck is there are any comparing of strings as "char* == char*" but HOW?

14 years ago0020378: selection is empty after "cancel" in the hypothesis edition dialog box
asl [Tue, 15 Sep 2009 12:20:05 +0000 (12:20 +0000)]
0020378: selection is empty after "cancel" in the hypothesis edition dialog box

14 years agountabify
eap [Tue, 15 Sep 2009 08:46:22 +0000 (08:46 +0000)]
untabify

14 years agoavoid FPE exception
ptv [Tue, 15 Sep 2009 07:51:41 +0000 (07:51 +0000)]
avoid FPE exception

14 years agoUse the f2c flag when trte.f is compiled with f2c
adam [Mon, 14 Sep 2009 14:13:38 +0000 (14:13 +0000)]
Use the f2c flag when trte.f is compiled with f2c

14 years agoWindows port
adam [Mon, 14 Sep 2009 14:02:45 +0000 (14:02 +0000)]
Windows port

14 years agoIssue 0020474: Symbols multi-defined in SMESHimpl.dll
vsr [Mon, 14 Sep 2009 13:21:39 +0000 (13:21 +0000)]
Issue 0020474: Symbols multi-defined in SMESHimpl.dll

14 years ago0020463: EDF 1099 SMESH: performance regression from V4 to V5
eap [Mon, 14 Sep 2009 13:05:16 +0000 (13:05 +0000)]
0020463: EDF 1099 SMESH: performance regression from V4 to V5

Remove memory leaks and optimize ParseParameters()

14 years agountabify
eap [Mon, 14 Sep 2009 12:00:44 +0000 (12:00 +0000)]
untabify

14 years agoCorrected for 0020310.
skl [Fri, 11 Sep 2009 12:10:55 +0000 (12:10 +0000)]
Corrected for 0020310.

14 years ago0020378: EDF 1042 SMESH : Gui of SMESH hypothesis not multi-study
dmv [Fri, 11 Sep 2009 11:37:47 +0000 (11:37 +0000)]
0020378: EDF 1042 SMESH : Gui of SMESH hypothesis not multi-study

14 years agountabify
eap [Thu, 10 Sep 2009 16:11:08 +0000 (16:11 +0000)]
untabify

14 years agountabify
eap [Thu, 10 Sep 2009 15:29:29 +0000 (15:29 +0000)]
untabify

14 years ago0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh
ptv [Thu, 10 Sep 2009 12:57:35 +0000 (12:57 +0000)]
0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh

14 years agountabify
eap [Thu, 10 Sep 2009 12:51:28 +0000 (12:51 +0000)]
untabify

14 years ago0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh
ptv [Thu, 10 Sep 2009 12:40:55 +0000 (12:40 +0000)]
0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh

14 years ago echo ---------------------------------------------
eap [Thu, 10 Sep 2009 11:11:30 +0000 (11:11 +0000)]
 echo ---------------------------------------------
-echo Coniguring production
+echo Configuring production
 echo ---------------------------------------------
 echo
 AC_ENABLE_DEBUG(yes)

14 years agounatbify
eap [Thu, 10 Sep 2009 11:06:18 +0000 (11:06 +0000)]
unatbify

14 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 08:10:41 +0000 (08:10 +0000)]
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode

+#include <limits>

14 years ago- CORBA::Long SMESH_MeshEditor_i::FindNodeClosestTo(CORBA::Double x,
eap [Thu, 10 Sep 2009 08:07:28 +0000 (08:07 +0000)]
-  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);

14 years agountabify
eap [Thu, 10 Sep 2009 07:19:24 +0000 (07:19 +0000)]
untabify

14 years ago0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh
ptv [Thu, 10 Sep 2009 06:59:27 +0000 (06:59 +0000)]
0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh

14 years agountabify
eap [Thu, 10 Sep 2009 06:50:30 +0000 (06:50 +0000)]
untabify

14 years ago- some memory leaks
eap [Thu, 10 Sep 2009 06:02:38 +0000 (06:02 +0000)]
- some memory leaks

14 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:54:04 +0000 (05:54 +0000)]
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)
+

14 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:52:11 +0000 (05:52 +0000)]
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);
+

14 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:49:16 +0000 (05:49 +0000)]
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

14 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:40:45 +0000 (05:40 +0000)]
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);
+

14 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:29:55 +0000 (05:29 +0000)]
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;
+};

14 years ago0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
eap [Thu, 10 Sep 2009 05:19:01 +0000 (05:19 +0000)]
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

14 years agountabify
eap [Wed, 9 Sep 2009 06:17:26 +0000 (06:17 +0000)]
untabify

14 years agoPAL20378
asl [Fri, 4 Sep 2009 08:21:40 +0000 (08:21 +0000)]
PAL20378

14 years agoTo avoid memory leaks
ouv [Thu, 3 Sep 2009 08:50:15 +0000 (08:50 +0000)]
To avoid memory leaks

14 years agoTo avoid memory leaks
ouv [Thu, 3 Sep 2009 08:18:11 +0000 (08:18 +0000)]
To avoid memory leaks

14 years agoRemoved as obsolete
ouv [Wed, 2 Sep 2009 10:53:52 +0000 (10:53 +0000)]
Removed as obsolete

14 years agoremove compilation error on Windows
ptv [Tue, 1 Sep 2009 06:56:48 +0000 (06:56 +0000)]
remove compilation error on Windows

14 years agoremove compilation error on Windows
ptv [Tue, 1 Sep 2009 03:53:08 +0000 (03:53 +0000)]
remove compilation error on Windows

14 years agounused variables
eap [Thu, 27 Aug 2009 14:09:43 +0000 (14:09 +0000)]
unused variables

14 years agofix GetSubMesh()
eap [Thu, 27 Aug 2009 13:58:53 +0000 (13:58 +0000)]
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
+    }
   }

14 years agofix SetEventListener() for the case of groups
eap [Thu, 27 Aug 2009 13:56:40 +0000 (13:56 +0000)]
fix SetEventListener() for the case of groups

14 years ago0020108: EDF 852 SMESH : Add examples in projection algorithm doc
eap [Thu, 27 Aug 2009 13:55:31 +0000 (13:55 +0000)]
0020108: EDF 852 SMESH : Add examples in projection algorithm doc
 Add Projection 1D sample

14 years ago0020108: EDF 852 SMESH : Add examples in projection algorithm doc
eap [Thu, 27 Aug 2009 12:41:45 +0000 (12:41 +0000)]
0020108: EDF 852 SMESH : Add examples in projection algorithm doc
 minor changes

14 years ago0020108: EDF 852 SMESH : Add examples in projection algorithm doc
eap [Thu, 27 Aug 2009 12:41:22 +0000 (12:41 +0000)]
0020108: EDF 852 SMESH : Add examples in projection algorithm doc
+<br><b>See Also</b> a sample TUI Script of a
+\ref tui_projection "Projection Algorithms".
+

14 years ago0020108: EDF 852 SMESH : Add examples in projection algorithm doc
eap [Thu, 27 Aug 2009 11:56:45 +0000 (11:56 +0000)]
0020108: EDF 852 SMESH : Add examples in projection algorithm doc

+\anchor tui_projection
+<h3>Projection algorithms</h3>
+
+\code
+ ...

14 years agountabify
eap [Thu, 27 Aug 2009 10:45:29 +0000 (10:45 +0000)]
untabify

14 years agofix MakeMeshOnFxy1(): set medium nodes to the Fxy1 face instead of volume
eap [Thu, 27 Aug 2009 10:43:10 +0000 (10:43 +0000)]
fix MakeMeshOnFxy1(): set medium nodes to the Fxy1 face instead of volume

14 years ago0020095: EDF 896 SMESH : Advanced Mesh info on a group
ptv [Thu, 27 Aug 2009 10:27:17 +0000 (10:27 +0000)]
0020095: EDF 896 SMESH : Advanced Mesh info on a group
correct Mesh Info statistic for sub-mesh objects

14 years agoRemove not needed "cout".
skl [Thu, 27 Aug 2009 08:10:02 +0000 (08:10 +0000)]
Remove not needed "cout".

14 years agoIntegration improvements 0020310 and 0020431.
skl [Thu, 27 Aug 2009 07:26:22 +0000 (07:26 +0000)]
Integration improvements 0020310 and 0020431.

14 years agoBug 0020403: Clear mesh data doen't 'free' the memory.
jfa [Thu, 27 Aug 2009 06:22:59 +0000 (06:22 +0000)]
Bug 0020403: Clear mesh data doen't 'free' the memory.

14 years agoIPAL21303 ex15_cyl2geometry: mesh computation failed
dmv [Tue, 25 Aug 2009 13:14:23 +0000 (13:14 +0000)]
IPAL21303 ex15_cyl2geometry: mesh computation failed

14 years agoUpdate of SMESH gui documentation
maintenance team [Tue, 25 Aug 2009 12:33:17 +0000 (12:33 +0000)]
Update of SMESH gui documentation

14 years agoIPAL21340 Compute leads to Unknown Exception if No available data in selection.
dmv [Tue, 25 Aug 2009 08:31:07 +0000 (08:31 +0000)]
IPAL21340 Compute leads to Unknown Exception if No available data in selection.

14 years ago0019296: EDF 681 SMESH
ptv [Tue, 25 Aug 2009 07:41:51 +0000 (07:41 +0000)]
0019296: EDF 681 SMESH
Add Evaluate into pop-up menu

14 years ago0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
ptv [Tue, 25 Aug 2009 05:18:16 +0000 (05:18 +0000)]
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)

14 years agoEditing hypothesis bug...
dmv [Mon, 24 Aug 2009 11:31:32 +0000 (11:31 +0000)]
Editing hypothesis bug...

14 years agountabify
eap [Mon, 24 Aug 2009 08:45:30 +0000 (08:45 +0000)]
untabify

14 years agountabify
eap [Mon, 24 Aug 2009 07:27:17 +0000 (07:27 +0000)]
untabify

14 years agoFix crash in Filter_i::GetIDs() after Filter_i::SetMesh() function call
vsr [Fri, 21 Aug 2009 09:22:45 +0000 (09:22 +0000)]
Fix crash in Filter_i::GetIDs() after Filter_i::SetMesh() function call

14 years agoIssue 20406: Time compilation when recompiling
vsr [Fri, 21 Aug 2009 08:26:46 +0000 (08:26 +0000)]
Issue 20406: Time compilation when recompiling

14 years ago0020095: EDF 896 SMESH : Advanced Mesh info on a group
ptv [Fri, 21 Aug 2009 05:41:59 +0000 (05:41 +0000)]
0020095: EDF 896 SMESH : Advanced Mesh info on a group

14 years ago0020452: EDF 1056 SMESH : 2D Projection Issue
eap [Thu, 20 Aug 2009 07:42:20 +0000 (07:42 +0000)]
0020452: EDF 1056 SMESH : 2D Projection Issue
  use shape partnership (TopoDS_Shape::IsPartner()) for an easy projection

14 years ago0020452: EDF 1056 SMESH : 2D Projection Issue
eap [Thu, 20 Aug 2009 07:40:08 +0000 (07:40 +0000)]
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

14 years agofix indentation
eap [Thu, 20 Aug 2009 07:36:49 +0000 (07:36 +0000)]
fix indentation

14 years ago0020452: EDF 1056 SMESH : 2D Projection Issue
eap [Thu, 20 Aug 2009 07:35:09 +0000 (07:35 +0000)]
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);

14 years agoIssue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
vsr [Thu, 13 Aug 2009 05:50:13 +0000 (05:50 +0000)]
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined

14 years agocorrect script (syntax error and missing arguments) Bug IPAL21322
ptv [Wed, 12 Aug 2009 07:35:36 +0000 (07:35 +0000)]
correct script (syntax error and missing arguments) Bug IPAL21322

14 years agoIMP20439 Create hole by element and nodes duplication
ptv [Tue, 11 Aug 2009 12:01:49 +0000 (12:01 +0000)]
IMP20439 Create hole by element and nodes duplication

14 years agoIPAL21302 Selection of the Hypothesis without Geometry leads to Unknown exception...
eap [Tue, 11 Aug 2009 09:09:55 +0000 (09:09 +0000)]
IPAL21302 Selection of the Hypothesis without Geometry leads to Unknown exception. Regress to 5.1.2

14 years agoCorrect bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300)
jfa [Tue, 11 Aug 2009 08:02:55 +0000 (08:02 +0000)]
Correct bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300)

14 years agoProtection before invalid hypothesises for "Evaluate" operation.
skl [Thu, 6 Aug 2009 12:44:45 +0000 (12:44 +0000)]
Protection before invalid hypothesises for "Evaluate" operation.

14 years agoCorrect bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300)
jfa [Tue, 4 Aug 2009 12:22:34 +0000 (12:22 +0000)]
Correct bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300)

14 years agoAnother fix like previous one.
adam [Mon, 3 Aug 2009 14:39:22 +0000 (14:39 +0000)]
Another fix like previous one.

14 years agoFix compilation problems on Windows
vsr [Fri, 31 Jul 2009 13:52:22 +0000 (13:52 +0000)]
Fix compilation problems on Windows

14 years agoIssue 20443: SIGSEGV in SMESHGUI_VTKUtils.cxx::RemoveVisuData
vsr [Fri, 31 Jul 2009 13:12:15 +0000 (13:12 +0000)]
Issue 20443: SIGSEGV in SMESHGUI_VTKUtils.cxx::RemoveVisuData

14 years agoRemove warnings
adam [Thu, 30 Jul 2009 16:14:24 +0000 (16:14 +0000)]
Remove warnings

14 years agoIssue 0020420: Bad links in Documentation
ouv [Tue, 28 Jul 2009 14:49:34 +0000 (14:49 +0000)]
Issue 0020420: Bad links in Documentation

14 years agoChanges for bug 0020381 from Mantis.
skl [Tue, 28 Jul 2009 11:38:26 +0000 (11:38 +0000)]
Changes for bug 0020381 from Mantis.

14 years agoupdate SMESH_test comment i3
maintenance team [Mon, 27 Jul 2009 12:03:16 +0000 (12:03 +0000)]
update SMESH_test comment i3

14 years agoIPAL21286 1D Meshing for the Forward and Reversed Edge are equal.
dmv [Mon, 27 Jul 2009 08:44:02 +0000 (08:44 +0000)]
IPAL21286 1D Meshing for the Forward and Reversed Edge are equal.

14 years agoImplementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis).
skl [Fri, 24 Jul 2009 05:08:32 +0000 (05:08 +0000)]
Implementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis).

14 years agoFix of the problem with vtkRenderer::GetActors() method
ouv [Wed, 22 Jul 2009 10:46:42 +0000 (10:46 +0000)]
Fix of the problem with vtkRenderer::GetActors() method

14 years agoImplementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis).
skl [Wed, 22 Jul 2009 09:13:29 +0000 (09:13 +0000)]
Implementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis).

14 years agoIPAL21265 It's impossible to select edge for Reverce in Arithmetic 1D Hypothesis...
dmv [Wed, 22 Jul 2009 07:33:31 +0000 (07:33 +0000)]
IPAL21265 It's impossible to select edge for Reverce in Arithmetic 1D Hypothesis when Edit Mesh

14 years ago0020089: EDF 887 MED : Take into account 0D elements (MED_POINT1)
dmv [Mon, 20 Jul 2009 14:50:13 +0000 (14:50 +0000)]
0020089: EDF 887 MED : Take into account 0D elements (MED_POINT1)

14 years agoFix compilation of gcc 4.3.2
adam [Mon, 20 Jul 2009 13:11:57 +0000 (13:11 +0000)]
Fix compilation of gcc 4.3.2

14 years agoIMP 0020089: Take into account 0D elements (MED_POINT1)
jfa [Thu, 16 Jul 2009 13:33:03 +0000 (13:33 +0000)]
IMP 0020089: Take into account 0D elements (MED_POINT1)

14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
eap [Thu, 16 Jul 2009 06:13:51 +0000 (06:13 +0000)]
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)

14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
eap [Wed, 15 Jul 2009 13:44:24 +0000 (13:44 +0000)]
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
     implement python dump

14 years ago {
eap [Wed, 15 Jul 2009 13:43:48 +0000 (13:43 +0000)]
   {
     /*!
      * 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);

14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
eap [Wed, 15 Jul 2009 13:43:06 +0000 (13:43 +0000)]
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
     add reversedEdges parameter

14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
eap [Wed, 15 Jul 2009 13:42:30 +0000 (13:42 +0000)]
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
class _pyComplexParamHypo
{
+  void Flush();

in order to clear SetObjectEntry() command

14 years ago0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
eap [Wed, 15 Jul 2009 13:41:14 +0000 (13:41 +0000)]
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
     convert SetReversedEdges(),
     improve GetWord() to return a whole list

14 years ago {
eap [Wed, 15 Jul 2009 13:26:29 +0000 (13:26 +0000)]
   {
     /*!
      * 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);

14 years agoMerge from V5_1_2_BR branch (14 July 2009)
vsr [Wed, 15 Jul 2009 08:11:22 +0000 (08:11 +0000)]
Merge from V5_1_2_BR branch (14 July 2009)