]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint...
eap [Tue, 14 Jun 2011 14:10:39 +0000 (14:10 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 14:10:15 +0000 (14:10 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups
eap [Tue, 14 Jun 2011 14:10:01 +0000 (14:10 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups
eap [Tue, 14 Jun 2011 14:08:45 +0000 (14:08 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export() on groups

+  virtual int             dim( int ) const;

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 14:05:24 +0000 (14:05 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
+     * Searching among the given elements, 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 FindAmongElementsByPoint(in SMESH_IDSource elements,
+                                        in double x, in double y, in double z,
+                                        in ElementType type);

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 14:04:58 +0000 (14:04 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
+    void ExportPartToMED( in SMESH_IDSource meshPart,
+    void ExportPartToDAT( in SMESH_IDSource meshPart,
+    void ExportPartToUNV( in SMESH_IDSource meshPart,
+    void ExportPartToSTL( in SMESH_IDSource meshPart,

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group
eap [Tue, 14 Jun 2011 13:58:29 +0000 (13:58 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group
  export, FindElementByPoint() on groups

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export,FindElementByPoint...
eap [Tue, 14 Jun 2011 13:57:24 +0000 (13:57 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export,FindElementByPoint() groups
  1) convert
+  { // ExportPartTo*(part, ...) -> Export*(..., part)

+  // FindAmongElementsByPoint(meshPart, x, y, z, elementType) ->
+  // FindElementsByPoint(x, y, z, elementType, meshPart)

  2) make _pyCommand::GetArg() work with any compex arg like list, tuple etc

13 years ago+ case ELEM0D:myStream<<"ELEM0D";break;
eap [Tue, 14 Jun 2011 13:54:50 +0000 (13:54 +0000)]
+    case ELEM0D:myStream<<"ELEM0D";break;

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() groups
eap [Tue, 14 Jun 2011 13:54:32 +0000 (13:54 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() groups
+  /*!
+   * Searching among the given elements, return elements of given type
+   * where the given point is IN or ON.
+   * 'ALL' type means elements of any type excluding nodes
+   */
+  SMESH::long_array* FindAmongElementsByPoint(SMESH::SMESH_IDSource_ptr elements,
+                                              CORBA::Double             x,
+                                              CORBA::Double             y,
+                                              CORBA::Double             z,
+                                              SMESH::ElementType        type);

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:53:16 +0000 (13:53 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups

+  void ExportPartToMED(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file,
+                       CORBA::Boolean            auto_groups,
+                       SMESH::MED_VERSION        version,
+                       CORBA::Boolean            overwrite) throw (SALOME::SALOME_Exception);
+  void ExportPartToDAT(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file) throw (SALOME::SALOME_Exception);
+  void ExportPartToUNV(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file) throw (SALOME::SALOME_Exception);
+  void ExportPartToSTL(SMESH::SMESH_IDSource_ptr meshPart,
+                       const char*               file,
+                       CORBA::Boolean            isascii) throw (SALOME::SALOME_Exception);

13 years agoimprove comments
eap [Tue, 14 Jun 2011 13:51:55 +0000 (13:51 +0000)]
improve comments

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:51:27 +0000 (13:51 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups

   void ExportMED(const char *file,
                  const char* theMeshName = NULL,
                  bool theAutoGroups = true,
-                 int theVersion = 0)
+                 int theVersion = 0,
+                 const SMESHDS_Mesh* meshPart = 0)

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:50:26 +0000 (13:50 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups

+protected:
+  inline void addWithPoly(const SMDS_MeshElement* el);

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 13:49:51 +0000 (13:49 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
+        int Tic() const { return myTic; }
+        int                                     myTic; // to track changes

13 years ago0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
eap [Tue, 14 Jun 2011 13:49:08 +0000 (13:49 +0000)]
0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
   make virtual methods returning iterators on elements

13 years agoMerge from V6_3_BR 06/06/2011
vsr [Mon, 6 Jun 2011 08:15:39 +0000 (08:15 +0000)]
Merge from V6_3_BR 06/06/2011

13 years agoReplace oe by ?
gdd [Wed, 11 May 2011 20:41:37 +0000 (20:41 +0000)]
Replace oe by ?

13 years agoMinor changes (untabify).
ouv [Mon, 18 Apr 2011 09:59:35 +0000 (09:59 +0000)]
Minor changes (untabify).

13 years agosalome_adm doesn't exist anymore
gdd [Mon, 18 Apr 2011 09:12:43 +0000 (09:12 +0000)]
salome_adm doesn't exist anymore

13 years agoNote 0010812 from the issue 0020999: EDF 1575 SMESH: Filters and precision preferences
ouv [Mon, 18 Apr 2011 09:09:24 +0000 (09:09 +0000)]
Note 0010812 from the issue 0020999: EDF 1575 SMESH: Filters and precision preferences

13 years agoFix for the "21237: EDF SMESH: The python interface documentation is no more availabl...
rnv [Mon, 18 Apr 2011 07:39:11 +0000 (07:39 +0000)]
Fix for the "21237: EDF SMESH: The python interface documentation is no more available" issue

13 years agoRestore support of med-2.1 in MEDWrapper V6_3_0a1
eap [Fri, 15 Apr 2011 09:31:45 +0000 (09:31 +0000)]
Restore support of med-2.1 in MEDWrapper

13 years agoSmall update for French translation
gdd [Thu, 14 Apr 2011 12:42:52 +0000 (12:42 +0000)]
Small update for French translation

13 years agornc : correction from Anthony Geay for a problem with medfiles when containing 0D...
gdd [Thu, 14 Apr 2011 12:08:29 +0000 (12:08 +0000)]
rnc : correction from Anthony Geay for a problem with medfiles when containing 0D elements

13 years agoRNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing...
rnv [Wed, 13 Apr 2011 08:03:11 +0000 (08:03 +0000)]
RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis.

13 years agoPR: mistake
prascle [Tue, 12 Apr 2011 17:09:41 +0000 (17:09 +0000)]
PR: mistake

13 years ago1) Fix for the issue "21220: EDF SMESH: Split into tetra from group does not work"
rnv [Tue, 12 Apr 2011 12:28:40 +0000 (12:28 +0000)]
1) Fix for the issue "21220: EDF SMESH: Split into tetra from group does not work"
2) Change mechanism of the adding items in the QListWidget.

13 years agoPR: add an independant exe that cuts a tetra mesh by a plane. MeshCut is adpated...
prascle [Tue, 12 Apr 2011 11:24:20 +0000 (11:24 +0000)]
PR: add an independant exe that cuts a tetra mesh by a plane. MeshCut is adpated from EDF project XMESHLAB and works with MED files.

13 years agoFix for the "21222: SMESH EDF: Impossible to set a threshold value in the filter...
rnv [Mon, 11 Apr 2011 12:42:27 +0000 (12:42 +0000)]
Fix for the "21222: SMESH EDF: Impossible to set a threshold value in the filter dialog" issue.

13 years agornc : gived some details about ExtrusionSweepObjectXD in documentation
gdd [Mon, 11 Apr 2011 09:06:11 +0000 (09:06 +0000)]
rnc : gived some details about ExtrusionSweepObjectXD in documentation

13 years agomed-2.1 file no longer supported
eap [Mon, 11 Apr 2011 07:50:58 +0000 (07:50 +0000)]
med-2.1 file no longer supported

13 years agoRNV: porting documentation on the doxygen 1.7.3
rnv [Mon, 11 Apr 2011 06:56:10 +0000 (06:56 +0000)]
RNV: porting documentation on the doxygen 1.7.3

13 years agoSmall update of blsurf documentation
gdd [Fri, 8 Apr 2011 16:34:59 +0000 (16:34 +0000)]
Small update of blsurf documentation

13 years agoUpdate French Translations
gdd [Fri, 8 Apr 2011 15:29:33 +0000 (15:29 +0000)]
Update French Translations

13 years ago- ExportToMEDX(file,auto_groups,SMESH::MED_V2_1,true);
eap [Fri, 8 Apr 2011 08:43:48 +0000 (08:43 +0000)]
-  ExportToMEDX(file,auto_groups,SMESH::MED_V2_1,true);
+  ExportToMEDX(file,auto_groups,SMESH::MED_V2_2,true);

13 years agocomment off not used
eap [Fri, 8 Apr 2011 08:43:30 +0000 (08:43 +0000)]
comment off not used
   static bool sameGroupType()

13 years agoRNV: Porting documentation on the doxygen 1.7.3
rnv [Thu, 7 Apr 2011 14:57:54 +0000 (14:57 +0000)]
RNV: Porting documentation on the doxygen 1.7.3

13 years agoRNV: Porting documentation on the doxygen 1.7.3
rnv [Thu, 7 Apr 2011 14:39:41 +0000 (14:39 +0000)]
RNV: Porting documentation on the doxygen 1.7.3

13 years agoMerge from PortingMED3 07Apr11
vsr [Thu, 7 Apr 2011 11:53:43 +0000 (11:53 +0000)]
Merge from PortingMED3 07Apr11

13 years ago0021218: EDF 1832 SMESH: Regression when computing a mesh
eap [Wed, 6 Apr 2011 11:06:53 +0000 (11:06 +0000)]
0021218: EDF 1832 SMESH: Regression when computing a mesh
  fix FindFaceAssociation() using UV

13 years agoImplementation "21042: EDF 1600 ALL: Rename objects in the OB" issue.
rnv [Tue, 5 Apr 2011 09:25:26 +0000 (09:25 +0000)]
Implementation "21042: EDF 1600 ALL: Rename objects in the OB" issue.

13 years agornc : documentation of IMP EDF 1762 Start_BR_19998_21191
gdd [Fri, 1 Apr 2011 14:19:32 +0000 (14:19 +0000)]
rnc : documentation of IMP EDF 1762

13 years agoPR: create flat elements on face groups (ASTER calculations)
prascle [Wed, 30 Mar 2011 15:48:07 +0000 (15:48 +0000)]
PR: create flat elements on face groups (ASTER calculations)

13 years agoIssue 0013373: EDF PAL 273 : Option Single/Multi file dump
ouv [Tue, 29 Mar 2011 07:37:38 +0000 (07:37 +0000)]
Issue 0013373: EDF PAL 273 : Option Single/Multi file dump

13 years agoPR: DoubleNodesOnGroupBoundaries in progress
prascle [Mon, 28 Mar 2011 14:46:16 +0000 (14:46 +0000)]
PR: DoubleNodesOnGroupBoundaries in progress

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Mon, 28 Mar 2011 12:22:53 +0000 (12:22 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
   fix a bug found by Renaud (note 0010641)

13 years agornc: Added a missing translation
gdd [Mon, 28 Mar 2011 11:54:53 +0000 (11:54 +0000)]
rnc: Added a missing translation

13 years agoIssue 0021055: EDF 1602 STUDY: Object browser reactualisation when creating an object
ouv [Fri, 25 Mar 2011 15:25:16 +0000 (15:25 +0000)]
Issue 0021055: EDF 1602 STUDY: Object browser reactualisation when creating an object

13 years agoFixed documentation for Python package (opens in a new window)
barate [Fri, 25 Mar 2011 14:34:31 +0000 (14:34 +0000)]
Fixed documentation for Python package (opens in a new window)

13 years agoFixed compilation without .la files from other modules
barate [Fri, 25 Mar 2011 14:33:52 +0000 (14:33 +0000)]
Fixed compilation without .la files from other modules

13 years agoMerge from BR_WIN_INDUS_514 branch 21/03/2011 (Windows industrialization)
vsr [Mon, 21 Mar 2011 16:07:02 +0000 (16:07 +0000)]
Merge from BR_WIN_INDUS_514 branch 21/03/2011 (Windows industrialization)

13 years agoMerge from BR_WIN_INDUS_514 branch 21/03/2011 (Windows industrialization)
vsr [Mon, 21 Mar 2011 15:23:28 +0000 (15:23 +0000)]
Merge from BR_WIN_INDUS_514 branch 21/03/2011 (Windows industrialization)

13 years agoFix compilation error on gcc 4.2
vsr [Mon, 21 Mar 2011 15:12:11 +0000 (15:12 +0000)]
Fix compilation error on gcc 4.2

13 years agoSmall correction for the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus...
rnv [Mon, 21 Mar 2011 13:02:22 +0000 (13:02 +0000)]
Small correction for the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus should automatically switch to geometry" issue.

13 years agoFix idSourceToNodeSet() for the case of mesh with free nodes
eap [Mon, 21 Mar 2011 10:19:55 +0000 (10:19 +0000)]
Fix idSourceToNodeSet() for the case of mesh with free nodes

13 years agoImplementation of the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus...
rnv [Mon, 21 Mar 2011 08:17:32 +0000 (08:17 +0000)]
Implementation of the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus should automatically switch to geometry" issue.

13 years agoEA: Fix compilation with gcc-4.5.2
adam [Sat, 19 Mar 2011 22:21:45 +0000 (22:21 +0000)]
EA: Fix compilation with gcc-4.5.2

13 years agoActivate WITH_SMESH_CANCEL_COMPUTE with automake
adam [Sat, 19 Mar 2011 18:18:38 +0000 (18:18 +0000)]
Activate WITH_SMESH_CANCEL_COMPUTE with automake

13 years agoPR: double nodes and flat elements for ASTER calculations in progress
prascle [Sat, 19 Mar 2011 06:55:48 +0000 (06:55 +0000)]
PR: double nodes and flat elements for ASTER calculations in progress

13 years agoImplement Cancel Compute (end)
adam [Thu, 17 Mar 2011 09:53:14 +0000 (09:53 +0000)]
Implement Cancel Compute (end)

13 years agoImplement Cancel Compute (begin)
adam [Thu, 17 Mar 2011 08:53:25 +0000 (08:53 +0000)]
Implement Cancel Compute (begin)

13 years agoImplement Cancel Compute (begin)
adam [Thu, 17 Mar 2011 08:40:57 +0000 (08:40 +0000)]
Implement Cancel Compute (begin)

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Wed, 16 Mar 2011 15:41:27 +0000 (15:41 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Wed, 16 Mar 2011 15:40:39 +0000 (15:40 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh

+    void ConvertToQuadraticObject(in boolean        theForce3d,
+                                  in SMESH_IDSource theObject)
+    void ConvertFromQuadraticObject(in SMESH_IDSource theObject)

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Wed, 16 Mar 2011 15:39:18 +0000 (15:39 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh

+    def ConvertToQuadratic(self, theForce3d, theSubMesh=None):
+    def ConvertFromQuadratic(self, theSubMesh=None):

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Wed, 16 Mar 2011 15:38:32 +0000 (15:38 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh

class SMESH_MeshEditor_i
{
+  void ConvertToQuadraticObject(CORBA::Boolean            theForce3d,
+                                SMESH::SMESH_IDSource_ptr theObject)
+  void ConvertFromQuadraticObject(SMESH::SMESH_IDSource_ptr theObject)

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Wed, 16 Mar 2011 15:36:40 +0000 (15:36 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh

+  void AddTLinks(const SMDS_MeshEdge*   edge);
+  void AddTLinks(const SMDS_MeshFace*   face);
+  void AddTLinks(const SMDS_MeshVolume* vol);

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Wed, 16 Mar 2011 15:36:15 +0000 (15:36 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh

+  void ConvertToQuadratic(const bool theForce3d, TIDSortedElemSet& theElements);
+  void ConvertFromQuadratic(TIDSortedElemSet& theElements);

13 years ago0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
eap [Wed, 16 Mar 2011 15:35:00 +0000 (15:35 +0000)]
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
  fix the problem with adding elements (elements are not added) after
  {elems removal + addition of elements with specified IDs}:
  1) add elems with IDs 1,2,3
  2) remove elem 1 (1 stored in the pool )
  3) add elem with id 1 (1 remains in the pool)
  4) add elem with no id specified -> not added as GetFreeID() returns
     1 which is already occupied

+  virtual int GetFreeID();

13 years agoPR: double nodes and flat elements for ASTER calculations in progress
prascle [Wed, 16 Mar 2011 10:51:52 +0000 (10:51 +0000)]
PR: double nodes and flat elements for ASTER calculations in progress

13 years agornc: unset minimum size of generic hypothesis window in SMESH_GUI hypothesis, so...
gdd [Wed, 16 Mar 2011 10:36:43 +0000 (10:36 +0000)]
rnc: unset minimum size of generic hypothesis window in SMESH_GUI hypothesis, so that the minimum sizes set independently in each hypothesis window are now taken into account

13 years agoPR: double nodes and flat elements for ASTER calculations in progress StartingPortingMED3
prascle [Tue, 15 Mar 2011 08:29:06 +0000 (08:29 +0000)]
PR: double nodes and flat elements for ASTER calculations in progress

13 years agoPR: double nodes and flat elements for ASTER calculations in progress
prascle [Mon, 14 Mar 2011 17:01:56 +0000 (17:01 +0000)]
PR: double nodes and flat elements for ASTER calculations in progress

13 years agoin createGroup(), make a unique name if no name is provided
eap [Mon, 14 Mar 2011 10:28:54 +0000 (10:28 +0000)]
in createGroup(), make a unique name if no name is provided

13 years ago0021177: EDF 1563 SMESH: Preview of mesh during a modification
eap [Mon, 14 Mar 2011 10:08:46 +0000 (10:08 +0000)]
0021177: EDF 1563 SMESH: Preview of mesh during a modification

13 years ago0021177: EDF 1563 SMESH: Preview of mesh during a modification
eap [Mon, 14 Mar 2011 09:48:51 +0000 (09:48 +0000)]
0021177: EDF 1563 SMESH: Preview of mesh during a modification
   fix layout: set "Generate groups" near "Copy Elements"

13 years ago0021177: EDF 1563 SMESH: Preview of mesh during a modification
eap [Mon, 14 Mar 2011 09:47:15 +0000 (09:47 +0000)]
0021177: EDF 1563 SMESH: Preview of mesh during a modification
  set scale near other similar transformations

13 years ago0021177: EDF 1563 SMESH: Preview of mesh during a modification
eap [Mon, 14 Mar 2011 09:46:04 +0000 (09:46 +0000)]
0021177: EDF 1563 SMESH: Preview of mesh during a modification

13 years ago0021177: EDF 1563 SMESH: Preview of mesh during a modification
eap [Mon, 14 Mar 2011 08:33:11 +0000 (08:33 +0000)]
0021177: EDF 1563 SMESH: Preview of mesh during a modification

   to add adjacent elements to preview only when move nodes in this mesh

13 years agoPR: double nodes and flat elements for ASTER calculations in progress
prascle [Sat, 12 Mar 2011 15:07:47 +0000 (15:07 +0000)]
PR: double nodes and flat elements for ASTER calculations in progress

13 years ago0021177: EDF 1563 SMESH: Preview of mesh during a modification
eap [Fri, 11 Mar 2011 16:48:31 +0000 (16:48 +0000)]
0021177: EDF 1563 SMESH: Preview of mesh during a modification

 add to preview elements sharing nodes moved by transformation

13 years ago0021177: EDF 1563 SMESH: Preview of mesh during a modification
eap [Fri, 11 Mar 2011 16:46:37 +0000 (16:46 +0000)]
0021177: EDF 1563 SMESH: Preview of mesh during a modification

update preview when action changes ( move <-> copy )

13 years ago- cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode <...
eap [Fri, 11 Mar 2011 15:32:42 +0000 (15:32 +0000)]
-  cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;
+  //cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;

13 years agoFix compilation error.
rnv [Fri, 11 Mar 2011 14:57:25 +0000 (14:57 +0000)]
Fix compilation error.

13 years agountabify
eap [Fri, 11 Mar 2011 14:36:56 +0000 (14:36 +0000)]
untabify

13 years ago0021197: EDF 1772 SMESH: Automatic meshing hypothesis
eap [Fri, 11 Mar 2011 14:17:23 +0000 (14:17 +0000)]
0021197: EDF 1772 SMESH: Automatic meshing hypothesis

13 years ago0020749: EDF 1291 SMESH : Create 2D Mesh from 2D improvement
eap [Fri, 11 Mar 2011 13:18:40 +0000 (13:18 +0000)]
0020749: EDF 1291 SMESH : Create 2D Mesh from 2D improvement

fix comment of MakeBoundaryElements()

13 years ago0021197: EDF 1772 SMESH: Automatic meshing hypothesis
eap [Fri, 11 Mar 2011 13:17:33 +0000 (13:17 +0000)]
0021197: EDF 1772 SMESH: Automatic meshing hypothesis

-  myDlg->setHypoSets( SMESH::GetHypothesesSets() );
+  myDlg->setHypoSets( SMESH::GetHypothesesSets( shapeDim ));

13 years ago0021197: EDF 1772 SMESH: Automatic meshing hypothesis
eap [Fri, 11 Mar 2011 13:16:39 +0000 (13:16 +0000)]
0021197: EDF 1772 SMESH: Automatic meshing hypothesis

-  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );

13 years ago0021197: EDF 1772 SMESH: Automatic meshing hypothesis
eap [Fri, 11 Mar 2011 13:16:16 +0000 (13:16 +0000)]
0021197: EDF 1772 SMESH: Automatic meshing hypothesis

return names of HypoSets sorted with dimension and [custom] appended

-  QStringList GetHypothesesSets();
+  QStringList GetHypothesesSets( int maxDim );

13 years ago0021197: EDF 1772 SMESH: Automatic meshing hypothesis
eap [Fri, 11 Mar 2011 13:14:52 +0000 (13:14 +0000)]
0021197: EDF 1772 SMESH: Automatic meshing hypothesis

class HypothesesSet
{
+  void setIsCustom( bool );
+  bool getIsCustom() const;
+  int maxDim() const;

13 years ago0021197: EDF 1772 SMESH: Automatic meshing hypothesis
eap [Fri, 11 Mar 2011 13:13:58 +0000 (13:13 +0000)]
0021197: EDF 1772 SMESH: Automatic meshing hypothesis

+    <hypotheses-set name="Automatic Triangulation"
+                    hypos="MaxLength"
+                    algos="Regular_1D, MEFISTO_2D"/>
+
+    <hypotheses-set name="Automatic Quadrangulation"
+                    hypos="NumberOfSegments"
+                    algos="Regular_1D, Quadrangle_2D"/>

13 years ago020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
eap [Fri, 11 Mar 2011 10:55:32 +0000 (10:55 +0000)]
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement

   fix python dump of MakeBoundaryElements()

13 years agounused variable
eap [Fri, 11 Mar 2011 10:27:33 +0000 (10:27 +0000)]
unused variable

13 years ago020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
eap [Fri, 11 Mar 2011 10:18:32 +0000 (10:18 +0000)]
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
   for note 0010000

13 years ago020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
eap [Fri, 11 Mar 2011 10:18:15 +0000 (10:18 +0000)]
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
   for note 0010000

+    long MakeBoundaryElements(in Bnd_Dimension   dimension,
+                              in string          groupName,
+                              in string          meshName,
+                              in boolean         toCopyAll,
+                              in ListOfIDSources groups,
+                              out SMESH_Mesh     mesh,
+                              out SMESH_Group    group) raises (SALOME::SALOME_Exception);

13 years ago020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
eap [Fri, 11 Mar 2011 10:17:50 +0000 (10:17 +0000)]
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
   for note 0010000

+  CORBA::Long MakeBoundaryElements(SMESH::Bnd_Dimension dimension,
+                                   const char* groupName,
+                                   const char* meshName,
+                                   CORBA::Boolean toCopyAll,
+                                   const SMESH::ListOfIDSources& groups,
+                                   SMESH::SMESH_Mesh_out mesh,
+                                   SMESH::SMESH_Group_out group)

13 years ago020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
eap [Fri, 11 Mar 2011 10:15:41 +0000 (10:15 +0000)]
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement

   int MakeBoundaryMesh(const TIDSortedElemSet& elements,
                        Bnd_Dimension           dimension,
                        SMESH_Group*            group = 0,
                        SMESH_Mesh*             targetMesh = 0,
                        bool                    toCopyElements = false,
                        bool                    toCopyExistingBondary = false,
+                       bool                    toAddExistingBondary = false,
+                       bool                    aroundElements = false);

13 years ago1) fix Mesh.__init__(): do not overwrite given mesh name by name of not published...
eap [Fri, 11 Mar 2011 10:13:41 +0000 (10:13 +0000)]
1) fix Mesh.__init__(): do not overwrite given mesh name by name of not published geometry

2) 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement

+    def MakeBoundaryElements()