Salome HOME
modules/smesh.git
9 years agoPR: fix QuadToTriaAdaptor V6_2_0
prascle [Tue, 21 Dec 2010 04:50:51 +0000 (04:50 +0000)]
PR: fix QuadToTriaAdaptor

9 years ago0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group.
jfa [Mon, 20 Dec 2010 14:41:10 +0000 (14:41 +0000)]
0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group.

9 years agoFix French translation RELIQUAT_6x_15112010
gdd [Fri, 17 Dec 2010 09:08:53 +0000 (09:08 +0000)]
Fix French translation

9 years agoFix French translations
gdd [Thu, 16 Dec 2010 19:36:02 +0000 (19:36 +0000)]
Fix French translations

9 years agoFix French translations
gdd [Thu, 16 Dec 2010 18:45:30 +0000 (18:45 +0000)]
Fix French translations

9 years agoAdditional fix for issue 0020977: EDF 1520 SMESH: Create a clipping plane on several...
ouv [Thu, 16 Dec 2010 16:52:14 +0000 (16:52 +0000)]
Additional fix for issue 0020977: EDF 1520 SMESH: Create a clipping plane on several groups (note 0009988)

9 years agoFix tests regressions caused by changed behavior of SubShapeAll geom function V6_2_0a2
vsr [Thu, 16 Dec 2010 16:07:47 +0000 (16:07 +0000)]
Fix tests regressions caused by changed behavior of SubShapeAll geom function

9 years agoFix regressions in test scripts caused by recent changed behaviour of SubShapeAll...
vsr [Thu, 16 Dec 2010 15:10:40 +0000 (15:10 +0000)]
Fix regressions in test scripts caused by recent changed behaviour of SubShapeAll() functions

9 years agoFix regressions in the test scripts.
vsr [Thu, 16 Dec 2010 12:39:52 +0000 (12:39 +0000)]
Fix regressions in the test scripts.
The mesh nodes/elements should be re-initialized when re-using them from pool

9 years ago0020946: EDF 1466 SMESH: Add a new control criteria: Max element length
vsr [Thu, 16 Dec 2010 11:35:07 +0000 (11:35 +0000)]
0020946: EDF 1466 SMESH: Add a new control criteria: Max element length
Correct information on the "About Quality Controls" page

9 years agoFix SIGSEGV in "Mesh Element Info" dialog box if invalid node/element id is printed
vsr [Thu, 16 Dec 2010 10:19:11 +0000 (10:19 +0000)]
Fix SIGSEGV in "Mesh Element Info" dialog box if invalid node/element id is printed

9 years ago Initialize members in the constructor of SMESH_Mesh being a base of some descendant...
eap [Thu, 16 Dec 2010 07:30:23 +0000 (07:30 +0000)]
 Initialize members in the constructor of SMESH_Mesh being a base of some descendant class

9 years agoFix make install problem caused by previous integration (builddir variable is not...
vsr [Wed, 15 Dec 2010 08:57:57 +0000 (08:57 +0000)]
Fix make install problem caused by previous integration (builddir variable is not always defined)

9 years ago0021104: EDF 1715 SMESH: RotationSweepObject crashes Salome
eap [Tue, 14 Dec 2010 13:51:14 +0000 (13:51 +0000)]
0021104: EDF 1715 SMESH: RotationSweepObject crashes Salome
  fix makeWalls() for the case of the edge located on the rotation axis

9 years agoFor docutils documentation: conf.py should be generated automatically (for version...
vsr [Mon, 13 Dec 2010 14:56:56 +0000 (14:56 +0000)]
For docutils documentation: conf.py should be generated automatically (for version number)

9 years agotake into account orphan nodes at mesh concatenation
eap [Mon, 13 Dec 2010 11:47:02 +0000 (11:47 +0000)]
take into account orphan nodes at mesh concatenation

9 years ago0020885: EDF 607 SMESH: Measure tools
vsr [Mon, 13 Dec 2010 09:45:53 +0000 (09:45 +0000)]
0020885: EDF 607 SMESH: Measure tools
Additional improvement of "Mesh Information" dialog box (show information on multiple selected mesh nodes / elements)

9 years agoMerge from V5_1_main 10/12/2010
vsr [Mon, 13 Dec 2010 06:37:41 +0000 (06:37 +0000)]
Merge from V5_1_main 10/12/2010

9 years agoNew attempt to hack libtool: overrride libs search path
vsr [Fri, 10 Dec 2010 15:12:44 +0000 (15:12 +0000)]
New attempt to hack libtool: overrride libs search path

9 years agoFix make distcheck problem
vsr [Wed, 8 Dec 2010 15:40:26 +0000 (15:40 +0000)]
Fix make distcheck problem

9 years agoFix make distcheck problem
vsr [Tue, 7 Dec 2010 10:01:53 +0000 (10:01 +0000)]
Fix make distcheck problem

9 years agoMerge from 1.10.2.4.6.5
prascle [Mon, 6 Dec 2010 17:02:23 +0000 (17:02 +0000)]
Merge from 1.10.2.4.6.5

9 years agoAllow Show/Hide during other SMESH operations. Mantis issue 0021082. V6_2_0a1
jfa [Mon, 6 Dec 2010 14:49:00 +0000 (14:49 +0000)]
Allow Show/Hide during other SMESH operations. Mantis issue 0021082.

9 years agoImprove hack_libtool utility to workaround problems on some Linux configurations
vsr [Mon, 6 Dec 2010 13:06:25 +0000 (13:06 +0000)]
Improve hack_libtool utility to workaround problems on some Linux configurations

9 years agoPR: debug split into tetras
prascle [Sun, 5 Dec 2010 22:57:20 +0000 (22:57 +0000)]
PR: debug split into tetras

9 years agoPR: debug polygons and merge nodes
prascle [Sun, 5 Dec 2010 19:22:06 +0000 (19:22 +0000)]
PR: debug polygons and merge nodes

9 years agoPR: bug in compactGrid with polyhedrons
prascle [Sat, 4 Dec 2010 16:50:15 +0000 (16:50 +0000)]
PR: bug in compactGrid with polyhedrons

9 years agoPR: compactGrid with polyhedrons
prascle [Sat, 4 Dec 2010 15:44:40 +0000 (15:44 +0000)]
PR: compactGrid with polyhedrons

9 years agoPR: fix Transform method with orphan nodes
prascle [Wed, 1 Dec 2010 22:56:36 +0000 (22:56 +0000)]
PR: fix Transform method with orphan nodes

9 years agoFix build problem in --without-gui mode (SMESH engine also depends on VTK now)
vsr [Wed, 1 Dec 2010 08:48:41 +0000 (08:48 +0000)]
Fix build problem in --without-gui mode (SMESH engine also depends on VTK now)

9 years agoPR: correct some warnings
prascle [Tue, 30 Nov 2010 22:35:24 +0000 (22:35 +0000)]
PR: correct some warnings

9 years agomerge from branch BR_SMDS_MEMIMP 29 nov 2010
prascle [Mon, 29 Nov 2010 13:20:53 +0000 (13:20 +0000)]
merge from branch BR_SMDS_MEMIMP 29 nov 2010

9 years agoMerge from V5_1_main 26/11/2010
vsr [Fri, 26 Nov 2010 15:48:22 +0000 (15:48 +0000)]
Merge from V5_1_main 26/11/2010

9 years agoMerge from V5_1_main branch 24/11/2010
vsr [Thu, 25 Nov 2010 12:44:43 +0000 (12:44 +0000)]
Merge from V5_1_main branch 24/11/2010

9 years agoReplace CHECK_MPICH by CHECK_MPI
gdd [Wed, 24 Nov 2010 16:14:13 +0000 (16:14 +0000)]
Replace CHECK_MPICH by CHECK_MPI

9 years ago0021063: [CEA 434] Compilation using gnu compiler v4.5
vsr [Thu, 11 Nov 2010 13:02:20 +0000 (13:02 +0000)]
0021063: [CEA 434] Compilation using gnu compiler v4.5

9 years agoMerge from V6_1_BR 07/09/2010
vsr [Tue, 7 Sep 2010 14:19:57 +0000 (14:19 +0000)]
Merge from V6_1_BR 07/09/2010

10 years agoMerge from V5_1_main 10/06/2010 V6_1_0a1 V6_1_0a2
vsr [Thu, 10 Jun 2010 09:43:07 +0000 (09:43 +0000)]
Merge from V5_1_main 10/06/2010

10 years agoChanging version to 6.1.0
inv [Mon, 24 May 2010 11:54:42 +0000 (11:54 +0000)]
Changing version to 6.1.0

10 years agoMerge from V5_1_main branch 14/05/2010
vsr [Fri, 14 May 2010 20:52:51 +0000 (20:52 +0000)]
Merge from V5_1_main branch 14/05/2010

10 years agoMerge from V5_1_main 14/05/2010
vsr [Fri, 14 May 2010 15:32:37 +0000 (15:32 +0000)]
Merge from V5_1_main 14/05/2010

10 years agofix pb with GetName() in case of meshing imported 2D skin
eap [Fri, 19 Feb 2010 08:43:22 +0000 (08:43 +0000)]
fix pb with GetName() in case of meshing imported 2D skin

10 years ago0020701: Additional fix concerned to the GetName Method changes.
dmv [Thu, 18 Feb 2010 11:28:58 +0000 (11:28 +0000)]
0020701: Additional fix concerned to the GetName Method changes.

10 years ago020700: EDF 1234 SMESH: Quadrangle preference and Netgen
eap [Thu, 18 Feb 2010 08:59:19 +0000 (08:59 +0000)]
020700: EDF 1234 SMESH: Quadrangle preference and Netgen
  * Quadrangle Preference can be used by NETGEN 2D

10 years ago020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
eap [Thu, 18 Feb 2010 08:29:00 +0000 (08:29 +0000)]
020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
 * Correct adding geom groups into map of ansestors

10 years ago0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
eap [Wed, 17 Feb 2010 14:59:19 +0000 (14:59 +0000)]
0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus

1) Try to build nodes using transformation before using block approach
2) workaround for wrong surface.Value(u,v) for UV near boundary of BSline surface

10 years ago0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
eap [Wed, 17 Feb 2010 14:56:40 +0000 (14:56 +0000)]
0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
+  /*!
+   * \brief Return transformations to get coordinates of nodes of each internal layer
+   *        by nodes of the bottom. Layer is a set of nodes at a certain step
+   *        from bottom to top.
+   */
+  bool GetLayersTransformation(std::vector<gp_Trsf> & trsf) const;

10 years agoImprove help system
vsr [Wed, 17 Feb 2010 14:55:58 +0000 (14:55 +0000)]
Improve help system

10 years ago1)
eap [Wed, 17 Feb 2010 14:54:30 +0000 (14:54 +0000)]
1)
+    ## Defines "QuadrangleParams" hypothesis
+    #  @param vertex: vertex of a trilateral geometrical face, around which triangles
+    #                 will be created while other elements will be quadrangles.
+    #                 Vertex can be either a GEOM_Object or a vertex ID within the
+    #                 shape to mesh
+    #
+    def TriangleVertex(self, vertex, UseExisting=0):

2) in FixedPoints1D(), convert geom reversed edges into IDs

10 years agocorrect documetnation page layout
dmv [Wed, 17 Feb 2010 10:13:26 +0000 (10:13 +0000)]
correct documetnation page layout

10 years agoChanges for bug 0020681.
skl [Tue, 16 Feb 2010 11:07:53 +0000 (11:07 +0000)]
Changes for bug 0020681.

10 years agofix Save() and Load()
eap [Tue, 16 Feb 2010 09:32:14 +0000 (09:32 +0000)]
fix Save() and Load()

10 years ago0020702: [CEA] Problem with Segment function of SMESH module
vsr [Tue, 16 Feb 2010 09:20:56 +0000 (09:20 +0000)]
0020702: [CEA] Problem with Segment function of SMESH module
0020701: EDF SMESH : GetName Method of smeshDC.py
Additional fix

10 years agoChanges for bug 0020681.
skl [Tue, 16 Feb 2010 09:19:59 +0000 (09:19 +0000)]
Changes for bug 0020681.

10 years ago0020702: [CEA] Problem with Segment function of SMESH module
dmv [Mon, 15 Feb 2010 09:35:36 +0000 (09:35 +0000)]
0020702: [CEA] Problem with Segment function of SMESH module

10 years agoprotect IndexToShape() from Standard_OutOfRange exception
eap [Mon, 15 Feb 2010 07:11:44 +0000 (07:11 +0000)]
protect IndexToShape() from Standard_OutOfRange exception

10 years agoreport error reasons in case of trilateral face
eap [Fri, 12 Feb 2010 14:27:33 +0000 (14:27 +0000)]
report error reasons in case of trilateral face

10 years agoIssue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump
vsr [Fri, 12 Feb 2010 08:37:10 +0000 (08:37 +0000)]
Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump

10 years agofix case of 2 edges
eap [Fri, 12 Feb 2010 08:15:06 +0000 (08:15 +0000)]
fix case of 2 edges

10 years agoFix compilation problem on Debian Sarge
maintenance team [Fri, 12 Feb 2010 08:03:53 +0000 (08:03 +0000)]
Fix compilation problem on Debian Sarge

10 years agoprecise error message
eap [Fri, 12 Feb 2010 07:41:39 +0000 (07:41 +0000)]
precise error message

10 years agoIssue 0020701: EDF SMESH : GetName Method of smeshDC.py
vsr [Fri, 12 Feb 2010 06:07:26 +0000 (06:07 +0000)]
Issue 0020701: EDF SMESH : GetName Method of smeshDC.py

10 years agoAdditional fix for issue 0020692: Duplicate check_*.m4 between modules.
ouv [Thu, 11 Feb 2010 15:30:29 +0000 (15:30 +0000)]
Additional fix for issue 0020692: Duplicate check_*.m4 between modules.

10 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 11 Feb 2010 13:16:51 +0000 (13:16 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
* Add CheckNodeU()
* Compute parameters of created medium nodes even in force3d mode
* Leave doxygen-style comments of functions only in the header

10 years ago0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh
dmv [Thu, 11 Feb 2010 12:08:34 +0000 (12:08 +0000)]
0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh

10 years agoIssue 0020692: Duplicate check_*.m4 between modules.
ouv [Thu, 11 Feb 2010 10:13:46 +0000 (10:13 +0000)]
Issue 0020692: Duplicate check_*.m4 between modules.

10 years ago0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh comput...
eap [Thu, 11 Feb 2010 08:26:40 +0000 (08:26 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix for internal edges

10 years ago0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh comput...
eap [Thu, 11 Feb 2010 08:25:06 +0000 (08:25 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix GetOrderedEdges(): workaroud for BRepTools_WireExplorer, which return no edges if they are internal

10 years agoclear auxiliary data after Compute()
eap [Wed, 10 Feb 2010 07:36:45 +0000 (07:36 +0000)]
clear auxiliary data after Compute()

10 years ago0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
eap [Tue, 9 Feb 2010 11:17:06 +0000 (11:17 +0000)]
0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
 * Redesign in order to bind two pyramids to one base quadrangle.
 * Check presence of 3D elements sharing the base quadrangle.

10 years agoMake TNodeXYZ public, which together with SMDS_StdIterator allows getting coordinates...
eap [Tue, 9 Feb 2010 11:13:23 +0000 (11:13 +0000)]
Make TNodeXYZ public, which together with SMDS_StdIterator allows getting coordinates of all nodes of mesh element in a couple of lines of code:

  typedef SMDS_StdIterator< SMESH_MeshEditor::TNodeXYZ, SMDS_ElemIteratorPtr > TXyzIterator;
  vector<gp_Pnt> coords( TXyzIterator( elem->nodesIterator()), TXyzIterator() );

class SMESH_EXPORT SMESH_MeshEditor
{
public:
+  //------------------------------------------
+  /*!
+   * \brief SMDS_MeshNode -> gp_XYZ convertor
+   */
+  //------------------------------------------
+  struct TNodeXYZ : public gp_XYZ

10 years ago+ // std-like iteration on nodes
eap [Tue, 9 Feb 2010 11:03:51 +0000 (11:03 +0000)]
+  // std-like iteration on nodes
+  typedef SMDS_StdIterator< const SMDS_MeshNode*, SMDS_ElemIteratorPtr > iterator;
+  iterator begin_nodes() const { return iterator( nodesIterator() ); }
+  iterator end_nodes()   const { return iterator(); }

10 years ago const SMDS_MeshElement* next()
eap [Tue, 9 Feb 2010 11:03:15 +0000 (11:03 +0000)]
   const SMDS_MeshElement* next()
   {
+    if ( !more() ) return 0;

10 years agoAdd iterator, wrapper over SMDS_Iterator, adding std-like operators *, ++ etc
eap [Tue, 9 Feb 2010 11:02:53 +0000 (11:02 +0000)]
Add iterator, wrapper over SMDS_Iterator, adding std-like operators *, ++ etc
+ SMDS_StdIterator.hxx

10 years ago- SMDS_MeshElement * MeshElement(int ID);
eap [Tue, 9 Feb 2010 07:02:21 +0000 (07:02 +0000)]
-  SMDS_MeshElement * MeshElement(int ID);
+  SMDS_MeshElement * MeshElement(int ID) const;

10 years agoWrite nodes in the order of increasing ids
eap [Mon, 8 Feb 2010 14:39:14 +0000 (14:39 +0000)]
Write nodes in the order of increasing ids

-      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
+      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator(/*idInceasingOrder=*/true);

10 years agoAdd an utility to iterate on nodes in the order of increasing ids
eap [Mon, 8 Feb 2010 14:38:03 +0000 (14:38 +0000)]
Add an utility to iterate on nodes in the order of increasing ids

-  SMDS_NodeIteratorPtr nodesIterator() const;
+  SMDS_NodeIteratorPtr nodesIterator(bool idInceasingOrder=false) const;

10 years ago0020691: EDF SMESH : Export STL always in binary
vsr [Mon, 8 Feb 2010 11:22:48 +0000 (11:22 +0000)]
0020691: EDF SMESH : Export STL always in binary

10 years agoimport salome
maintenance team [Mon, 8 Feb 2010 10:28:23 +0000 (10:28 +0000)]
import salome

10 years agoImprove Help menu management
adv [Mon, 8 Feb 2010 08:35:54 +0000 (08:35 +0000)]
Improve Help menu management

10 years ago follow modif for IPAL21558 (In Group creation dialog, selection of sub-shapes in...
eap [Mon, 8 Feb 2010 07:14:33 +0000 (07:14 +0000)]
 follow modif for IPAL21558 (In Group creation dialog, selection of sub-shapes in OB, viewer and dialog is not well syncronized)

-  virtual void            processOwner( const LightApp_DataOwner* );
+  virtual bool            processOwner( const LightApp_DataOwner* );

10 years ago020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
eap [Mon, 1 Feb 2010 14:26:09 +0000 (14:26 +0000)]
020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
   * Rename HasDegenenaratedEdges() -> HasDegeneratedEdges()

10 years ago020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
eap [Mon, 1 Feb 2010 14:19:06 +0000 (14:19 +0000)]
020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D

+   * \brief Check if the shape set through IsQuadraticSubMesh() or SetSubShape()
+   *        has a degenerated edges
+    * \retval bool - true if it has
+   */
+  bool HasDegenenaratedEdges() const { return !myDegenShapeIds.empty(); }

10 years agominor change
eap [Mon, 1 Feb 2010 13:30:15 +0000 (13:30 +0000)]
minor change

10 years ago020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
eap [Mon, 1 Feb 2010 13:29:23 +0000 (13:29 +0000)]
020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
   avoid creating degenetrated faces

10 years agofix comment
eap [Mon, 1 Feb 2010 13:28:11 +0000 (13:28 +0000)]
fix comment

10 years ago0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
eap [Mon, 1 Feb 2010 11:12:17 +0000 (11:12 +0000)]
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

10 years ago0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
eap [Mon, 1 Feb 2010 11:09:38 +0000 (11:09 +0000)]
0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
  * Evaluate(): do not call algo->Evaluate() if needed submeshes failed to evaluate

10 years agoRevert last modification PARAVIS_29012010
nge [Wed, 27 Jan 2010 14:22:19 +0000 (14:22 +0000)]
Revert last modification

10 years agoAdd missing import StdMeshers
nge [Wed, 27 Jan 2010 13:43:29 +0000 (13:43 +0000)]
Add missing import StdMeshers

10 years agoimport salome missing on some scripts
nge [Wed, 27 Jan 2010 11:08:25 +0000 (11:08 +0000)]
import salome missing on some scripts

10 years ago0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
eap [Wed, 27 Jan 2010 10:09:15 +0000 (10:09 +0000)]
0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
  Assure that this submesh is evaluated once

10 years agoFix spelling errors in doc
ngo [Mon, 25 Jan 2010 09:26:52 +0000 (09:26 +0000)]
Fix spelling errors in doc
Nathalie

10 years agoSmall correction
gdd [Sat, 23 Jan 2010 09:00:59 +0000 (09:00 +0000)]
Small correction

10 years ago0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
eap [Fri, 22 Jan 2010 11:38:25 +0000 (11:38 +0000)]
0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Algorith behavior has changed - default hyps have appeared

10 years agoshorten code
eap [Fri, 22 Jan 2010 11:37:48 +0000 (11:37 +0000)]
shorten code

10 years agounused variables
eap [Fri, 22 Jan 2010 11:36:53 +0000 (11:36 +0000)]
unused variables

10 years ago0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
eap [Fri, 22 Jan 2010 11:36:02 +0000 (11:36 +0000)]
0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Learn Quadrangle() create Mesh_RadialQuadrangle1D2D algo

+QUARDANGLE = 0
+RADIAL_QUAD = 1

10 years ago- if ( theNbSegments )
eap [Fri, 22 Jan 2010 11:34:11 +0000 (11:34 +0000)]
-  if ( theNbSegments )
+  if ( theNbSegments > 0 )
     myGen.SetDefaultNbSegments( int(theNbSegments) );
   else
     THROW_SALOME_CORBA_EXCEPTION( "non-positive number of segments", SALOME::BAD_PARAM );

10 years ago0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
eap [Fri, 22 Jan 2010 11:33:35 +0000 (11:33 +0000)]
0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Fix conversion of LayerDistribution hypothesis