Commit Graph

1272 Commits

Author SHA1 Message Date
eap
d8c39ff840 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
2011-06-14 13:57:24 +00:00
eap
4fcec244fd + case ELEM0D:myStream<<"ELEM0D";break; 2011-06-14 13:54:50 +00:00
eap
7d0549090a 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);
2011-06-14 13:54:32 +00:00
eap
9012a64442 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);
2011-06-14 13:53:16 +00:00
eap
eb57bc9623 improve comments 2011-06-14 13:51:55 +00:00
eap
00fdc117cd 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)
2011-06-14 13:51:27 +00:00
eap
77b26c3006 0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
+protected:
+  inline void addWithPoly(const SMDS_MeshElement* el);
2011-06-14 13:50:26 +00:00
eap
c9ccfc74e0 0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
+        int Tic() const { return myTic; }
+        int                                     myTic; // to track changes
2011-06-14 13:49:51 +00:00
eap
6a77e2f847 0020743: EDF 1271 SMESH : Create a mesh from a group / export groups
make virtual methods returning iterators on elements
2011-06-14 13:49:08 +00:00
vsr
2c607013a2 Merge from V6_3_BR 06/06/2011 2011-06-06 08:15:39 +00:00
gdd
7191b0d735 Replace oe by ? 2011-05-11 20:41:37 +00:00
ouv
eaefb3fa06 Minor changes (untabify). 2011-04-18 09:59:35 +00:00
ouv
344fb98e28 Note 0010812 from the issue 0020999: EDF 1575 SMESH: Filters and precision preferences 2011-04-18 09:09:24 +00:00
eap
944af78798 Restore support of med-2.1 in MEDWrapper 2011-04-15 09:31:45 +00:00
gdd
3206fe9668 Small update for French translation 2011-04-14 12:42:52 +00:00
gdd
a66401aeb6 rnc : correction from Anthony Geay for a problem with medfiles when containing 0D elements 2011-04-14 12:08:29 +00:00
rnv
e079b751f3 RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis. 2011-04-13 08:03:11 +00:00
prascle
b05c8c76a5 PR: mistake 2011-04-12 17:09:41 +00:00
rnv
2290c49819 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.
2011-04-12 12:28:40 +00:00
prascle
b9db0238dc 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. 2011-04-12 11:24:20 +00:00
rnv
022168f9e6 Fix for the "21222: SMESH EDF: Impossible to set a threshold value in the filter dialog" issue. 2011-04-11 12:42:27 +00:00
gdd
2d50f1341e rnc : gived some details about ExtrusionSweepObjectXD in documentation 2011-04-11 09:06:11 +00:00
eap
33459aac4f med-2.1 file no longer supported 2011-04-11 07:50:58 +00:00
gdd
f335dddadb Update French Translations 2011-04-08 15:29:33 +00:00
eap
ecdd9a6194 - ExportToMEDX(file,auto_groups,SMESH::MED_V2_1,true);
+  ExportToMEDX(file,auto_groups,SMESH::MED_V2_2,true);
2011-04-08 08:43:48 +00:00
eap
513e407ce6 comment off not used
static bool sameGroupType()
2011-04-08 08:43:30 +00:00
vsr
790c5cfa90 Merge from PortingMED3 07Apr11 2011-04-07 11:53:43 +00:00
eap
ffc4f7e618 0021218: EDF 1832 SMESH: Regression when computing a mesh
fix FindFaceAssociation() using UV
2011-04-06 11:06:53 +00:00
rnv
52a2be7aea Implementation "21042: EDF 1600 ALL: Rename objects in the OB" issue. 2011-04-05 09:25:26 +00:00
prascle
ecea4040f1 PR: create flat elements on face groups (ASTER calculations) 2011-03-30 15:48:07 +00:00
ouv
5f35b29326 Issue 0013373: EDF PAL 273 : Option Single/Multi file dump 2011-03-29 07:37:38 +00:00
prascle
4ac8d07584 PR: DoubleNodesOnGroupBoundaries in progress 2011-03-28 14:46:16 +00:00
eap
9e3ba593d5 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
fix a bug found by Renaud (note 0010641)
2011-03-28 12:22:53 +00:00
gdd
c09e9f7015 rnc: Added a missing translation 2011-03-28 11:54:53 +00:00
ouv
36afbbe8e3 Issue 0021055: EDF 1602 STUDY: Object browser reactualisation when creating an object 2011-03-25 15:25:16 +00:00
barate
7a6a25502e Fixed compilation without .la files from other modules 2011-03-25 14:33:52 +00:00
vsr
14c60ac03b Merge from BR_WIN_INDUS_514 branch 21/03/2011 (Windows industrialization) 2011-03-21 15:23:28 +00:00
vsr
a593ecab98 Fix compilation error on gcc 4.2 2011-03-21 15:12:11 +00:00
rnv
77270c3d82 Small correction for the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus should automatically switch to geometry" issue. 2011-03-21 13:02:22 +00:00
eap
cb561f9569 Fix idSourceToNodeSet() for the case of mesh with free nodes 2011-03-21 10:19:55 +00:00
rnv
81dcf37720 Implementation of the "21056: EDF 1608 SMESH: Dialog Box "Create Sub Mesh": focus should automatically switch to geometry" issue. 2011-03-21 08:17:32 +00:00
adam
0f635a43a3 EA: Fix compilation with gcc-4.5.2 2011-03-19 22:21:45 +00:00
prascle
9f36bbc95a PR: double nodes and flat elements for ASTER calculations in progress 2011-03-19 06:55:48 +00:00
adam
c4bd4ff43b Implement Cancel Compute (end) 2011-03-17 09:53:14 +00:00
adam
911977bc89 Implement Cancel Compute (begin) 2011-03-17 08:53:25 +00:00
adam
5142df035d Implement Cancel Compute (begin) 2011-03-17 08:40:57 +00:00
eap
d992d85973 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh 2011-03-16 15:41:27 +00:00
eap
cfcd4f3b74 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
+    def ConvertToQuadratic(self, theForce3d, theSubMesh=None):
+    def ConvertFromQuadratic(self, theSubMesh=None):
2011-03-16 15:39:18 +00:00
eap
8b06eac8bd 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)
2011-03-16 15:38:32 +00:00
eap
77e2a3970b 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);
2011-03-16 15:36:40 +00:00
eap
59fe802c13 0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
+  void ConvertToQuadratic(const bool theForce3d, TIDSortedElemSet& theElements);
+  void ConvertFromQuadratic(TIDSortedElemSet& theElements);
2011-03-16 15:36:15 +00:00
eap
098d6b0723 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();
2011-03-16 15:35:00 +00:00
prascle
fcae5eda64 PR: double nodes and flat elements for ASTER calculations in progress 2011-03-16 10:51:52 +00:00
gdd
396e119df0 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 2011-03-16 10:36:43 +00:00
prascle
f2dd0cac12 PR: double nodes and flat elements for ASTER calculations in progress 2011-03-15 08:29:06 +00:00
prascle
527af438cd PR: double nodes and flat elements for ASTER calculations in progress 2011-03-14 17:01:56 +00:00
eap
c7177e7a38 in createGroup(), make a unique name if no name is provided 2011-03-14 10:28:54 +00:00
eap
8fd9904246 0021177: EDF 1563 SMESH: Preview of mesh during a modification
fix layout: set "Generate groups" near "Copy Elements"
2011-03-14 09:48:51 +00:00
eap
3ce08c8e48 0021177: EDF 1563 SMESH: Preview of mesh during a modification
set scale near other similar transformations
2011-03-14 09:47:15 +00:00
eap
a2db5e7c30 0021177: EDF 1563 SMESH: Preview of mesh during a modification
to add adjacent elements to preview only when move nodes in this mesh
2011-03-14 08:33:11 +00:00
prascle
bdfc51bda9 PR: double nodes and flat elements for ASTER calculations in progress 2011-03-12 15:07:47 +00:00
eap
7b0ac035d6 0021177: EDF 1563 SMESH: Preview of mesh during a modification
add to preview elements sharing nodes moved by transformation
2011-03-11 16:48:31 +00:00
eap
f27d39d23d 0021177: EDF 1563 SMESH: Preview of mesh during a modification
update preview when action changes ( move <-> copy )
2011-03-11 16:46:37 +00:00
eap
08e8bc3016 - cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;
+  //cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;
2011-03-11 15:32:42 +00:00
rnv
6e4eb47f89 Fix compilation error. 2011-03-11 14:57:25 +00:00
eap
a02de3dacc untabify 2011-03-11 14:36:56 +00:00
eap
05a14a9203 0020749: EDF 1291 SMESH : Create 2D Mesh from 2D improvement
fix comment of MakeBoundaryElements()
2011-03-11 13:18:40 +00:00
eap
28a69ca812 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
-  myDlg->setHypoSets( SMESH::GetHypothesesSets() );
+  myDlg->setHypoSets( SMESH::GetHypothesesSets( shapeDim ));
2011-03-11 13:17:33 +00:00
eap
ed77213c0d 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
-  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );
2011-03-11 13:16:39 +00:00
eap
8b054381e1 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
return names of HypoSets sorted with dimension and [custom] appended

-  QStringList GetHypothesesSets();
+  QStringList GetHypothesesSets( int maxDim );
2011-03-11 13:16:16 +00:00
eap
9296d2af7b 0021197: EDF 1772 SMESH: Automatic meshing hypothesis
class HypothesesSet
{
+  void setIsCustom( bool );
+  bool getIsCustom() const;
+  int maxDim() const;
2011-03-11 13:14:52 +00:00
eap
c1c7d4f3b3 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
fix python dump of MakeBoundaryElements()
2011-03-11 10:55:32 +00:00
eap
c4a24dfe97 unused variable 2011-03-11 10:27:33 +00:00
eap
a619563bc7 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
for note 0010000
2011-03-11 10:18:32 +00:00
eap
d7815a2348 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)
2011-03-11 10:17:50 +00:00
eap
bd4cadfcf0 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);
2011-03-11 10:15:41 +00:00
eap
aff2414055 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()
2011-03-11 10:13:41 +00:00
rnv
512a892301 Start implementation of the "21177: EDF 1563 SMESH: Preview of mesh during a modification" issue. 2011-03-11 08:34:40 +00:00
prascle
b3a725059c PR: doubleNodesOnGroupBoundaries in progress 2011-03-09 16:05:51 +00:00
prascle
0edf326ffd PR: remove commented code 2011-03-09 16:03:51 +00:00
prascle
024fa9ffbf PR: commit mistake 2011-03-09 10:01:16 +00:00
prascle
293e2534c0 PR: doubleNodesOnGroupBoundaries in progress 2011-03-09 08:42:21 +00:00
eap
044bc6d891 improve comments of MakeBoundaryMesh() 2011-03-05 13:49:54 +00:00
vsr
ac724740a9 SALOME::GenericObj : Destroy() -> UnRegister() 2011-03-04 15:42:14 +00:00
prascle
5cfaebe1bf PR: getOrderedNodesOfFace for hexahedron 2011-03-03 16:35:32 +00:00
gdd
61fbeb9fea Now the current object(s) selected in the OB is (are) set into the widget when the button is clicked. 2011-03-01 15:26:30 +00:00
eap
5613f2a33c suppress message "Algo supports no multi-parameter hypothesis" with Netgen-1D-2D-3D 2011-03-01 14:36:06 +00:00
rnv
fa15bee5e1 Fix for the issue "21203: EDF 1797 SMESH: SIGSEGV with move node on a Mesh with 0D elements" 2011-03-01 09:35:50 +00:00
jfa
b21fc186af Rename Engines::Component to Engines::EngineComponent 2011-02-28 14:55:52 +00:00
ana
b9918993a1 Fix for the bug IPAL22277: Crash on "Find elements by point" dialog box 2011-02-28 14:52:52 +00:00
eap
d13fde3e5e 0021074: EDF 1682 MESH: Bug with start and end length hypothesis
additionally fix compensateError() (for S_domain.hdf)
2011-02-25 09:07:59 +00:00
gdd
76d6063480 rnc : Made the AddStretch operation optional (previous behaviour is kept) 2011-02-24 16:21:51 +00:00
eap
01f4ed1a85 Fix bug of work with ViscousLayers hyp introduced during
"Redesign again to work with composed cube edges"
2011-02-22 14:30:49 +00:00
eap
e377bfeb20 unused variables 2011-02-22 14:28:14 +00:00
eap
b84e6567f0 Fix GetAxisStruct() by replacing ExtractShapes() by SubShapeAll() 2011-02-22 08:59:08 +00:00
rnv
242f34ddc8 Fix for the bug 21194: EDF SMESH: Cannot display a group by clicking on the "eye" of the OB 2011-02-22 07:57:36 +00:00
adam
ce4b39907d Remove warnings 2011-02-18 11:53:32 +00:00
eap
f0a9396455 ACTION 31.3 from CoTech:
EURIWARE BO: Homogenize the formulas used to calculate the Controls in SMESH to fit with
those of ParaView. The library used by ParaView for those calculations can be reused in SMESH.
2011-02-17 14:37:46 +00:00
eap
18e25f5736 excess semicolons 2011-02-17 13:54:05 +00:00
rnv
fbd01b197c Implementation of the "20830: EDF 1357 GUI : Hide/Show Icon"
(at the moment implemeted only in GEOM and SMESH modules).
2011-02-17 08:12:24 +00:00
eap
bd6b92b1da 0020974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be removed
Treat the case where a quadrilateral FACE includes the 5th degenerated EDGE

+  void UpdateDegenUV(FaceQuadStruct* quad);
+  void Smooth (FaceQuadStruct* quad);
2011-02-16 10:24:50 +00:00
eap
58ac21315b typos 2011-02-16 10:19:04 +00:00
eap
4ebc2ac980 untabify 2011-02-16 10:18:08 +00:00
vsr
9f513fd3a3 Modify GetCriterion() to take into account the case when tolerance is passed via UnaryOp parameter 2011-02-15 14:12:03 +00:00
adam
696c252ac8 cmake compatibility 2011-02-15 11:46:11 +00:00
eap
69b571614d in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET 2011-02-11 15:20:50 +00:00
eap
4903340a61 untabify 2011-02-11 15:20:04 +00:00
eap
904e9a8802 Add polyhedron type to my3DExtActor
+  aFilter->RegisterCellsWithType(VTK_POLYHEDRON);
2011-02-11 15:19:49 +00:00
eap
df50de7d46 0021153: [CEA] non regression test fails
Fix RemoveNode() and RemoveElement(): erase only elements
         belonging to this sub-mesh
2011-02-10 13:31:17 +00:00
eap
7d73daf123 0021153: [CEA] non regression test fails
Improve removeFromContainers() by taking into account that now mesh
         element knows the sub-mesh it belongs to
2011-02-10 13:30:00 +00:00
vsr
a91bb00475 0021180: EDF 1772 SMESH: Set of hypothesis in 1D
Additional change: enable tabs if no shape is selected
2011-02-10 13:09:43 +00:00
eap
b712c057d5 Modification of hypothesis parameters modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:08:32 +00:00
eap
e5ac48bcf7 Addition and removal of hypotheses modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:02:43 +00:00
ana
95fb8be9ca Fix for the bug IPAL22091: Crash by calling context menu on the SMESH presentation 2011-02-10 08:48:33 +00:00
vsr
36ec1b3d2f 0021176: EDF 1697 SMESH: Smoothing: impossible to select elements of a group 2011-02-10 08:26:27 +00:00
vsr
2fee37828a 0021180: EDF 1772 SMESH: Set of hypothesis in 1D 2011-02-09 15:25:51 +00:00
eap
3c96a71bde Regression of the test case patterns/A8
1) fix an error made during SMDS redesign
-      if (node->getshapeId() <0) {
+      if (node->getshapeId() <1) {
   2) fix an error of Clear() that not all fields are cleared
   3) create polyhedrons only if volume boundary is split by refinement
2011-02-09 13:29:33 +00:00
eap
4ebb8cfccc Regression of the test case imps/A1
In Compute2ndPart(), create a new SMESH_ElementSearcher to avoid
  search of volumes in a proxy mesh contaiting only faces
2011-02-08 12:21:46 +00:00
eap
ae0943024f 0021153]: [CEA] non regression test fails
Fix Mesh.Prism(): replace ExtractShapes() by SubShapeAll() again
2011-02-08 10:26:55 +00:00
eap
0953f1790f Regression of test case bugs/P1
Restore the lost initialization of _nbSegments
2011-02-07 15:08:52 +00:00
eap
977978e76d correct the preceeding patch 2011-02-07 14:27:59 +00:00
eap
44bcdd8f8c Regression of test case bugs/D0
call ComputePentahedralMesh() if the mesh of FACE is quadrangular
  but not structured
2011-02-07 13:52:10 +00:00
eap
ad61c4111d Test case bugs/C2
Fix buildMeshGrille() by taking into account that element ID in smesh
  can't be less that 1 since the recent redesign.
2011-02-07 13:11:11 +00:00
eap
be718d6061 Protect from a distorted block (test 3D_mesh_HEXA3D/B7 on 32bit platform) 2011-02-07 12:23:57 +00:00
eap
68f4ae0cfe 0021153: [CEA] non regression test fails
uninitialized variable
2011-02-04 09:47:29 +00:00
jfa
3bc3b5cb5a Mantis issue 0020834: the mesher of reduced type has been improved. 2011-02-04 09:16:41 +00:00
eap
6beb289c1a 0021122: EDF 1735 SMESH: Bug when saving in .hdf
when creating Mesh on geometry, add to study the not published geometry
2011-02-03 15:07:31 +00:00
eap
692ae6c6e3 0021122: EDF 1735 SMESH: Bug when saving in .hdf
In Mesh_Algorithm.Assign(), add to study the not pubished sub-shape
2011-02-03 12:28:55 +00:00
eap
07112cd8f1 0021153: [CEA] non regression test fails
fix TooCloseAdjacent() w/o shape: correct distinction of domains
2011-02-02 09:47:22 +00:00
eap
d8a28e48bb 0021153: [CEA] non regression test fails
1) at merging pyramids, move the common apex at the middle of 2 apexes
  2) at intersecting pyramids, check all four base-apex directions
2011-02-01 15:25:21 +00:00
eap
d9c073c952 0021153: [CEA] non regression test fails
fix error that pyramids sharing one common node are not checked for intersection
2011-02-01 13:48:56 +00:00
eap
71803bed9f comment unnecessary call
-      SMESH::UpdateNulData(myIObject, true);
+      //SMESH::UpdateNulData(myIObject, true);
2011-02-01 13:46:31 +00:00
eap
6b012bc7d8 fix bug of compactGrid() that the last block of nodes and elements is
not copied if there is no hole after it
2011-02-01 13:42:33 +00:00
eap
f7c8f718f9 fix FPE error at "Clear mesh data" by setting nb of nodes to zero
instead of SMDS_Mesh::chunkSize
2011-02-01 13:40:02 +00:00
eap
b6b8aa7213 fix a misspell in comment 2011-01-31 13:10:15 +00:00
eap
d419c86499 fix indentation 2011-01-31 13:07:39 +00:00
eap
861641c25a 0020973: EDF 1554 GHS3DPLUGIN: Make possible to have a mixed mesh hexa-tetra with GHS3D
enlarge box size of each branch by 1e-10 of root size
2011-01-31 13:07:07 +00:00
vsr
e30e3628ce 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
Allow multiple selection of groups as input
2011-01-31 09:26:19 +00:00
eap
17b5f093a6 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis
Fix invalid discretization of EDGEs: in GetCurve3d(), set Closed flag to WIRE wrapped into BRepAdaptor_CompCurve
2011-01-28 17:04:54 +00:00
eap
910eadfc30 fix file header (comments) 2011-01-28 17:01:19 +00:00
gdd
0cdd86443b Add missing include 2011-01-28 16:21:11 +00:00
eap
facae4f797 0021114: EDF 1736 SMESH: Problem with 3D extrusion
decrease tolerance at checking transformation
2011-01-28 13:33:22 +00:00
eap
8b075049f9 0021130: EDF 1746 SMESH: Issue with export in STL format
Import of STL file via GUI has been enabled
2011-01-28 11:19:54 +00:00
eap
ab928f3773 0021123: EDF 1734 SMESH: Bug with propagation hypothesis 2011-01-28 10:29:23 +00:00
eap
50b08dce3d untabify 2011-01-28 10:29:01 +00:00
ana
4be7efd6bd Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis 2011-01-28 08:38:53 +00:00
eap
20b841039b 0021130: EDF 1746 SMESH: Issue with export in STL format
export any kind of 2D and 3D elements to STL file becomes possible
2011-01-27 16:58:49 +00:00
eap
d0b5d6090a 0021130: EDF 1746 SMESH: Issue with export in STL format
1) write not triangular faces as many triangles
   2) write triangles for missing faces of free facets of volumes
2011-01-27 16:48:44 +00:00
eap
e3409934a4 0021130: EDF 1746 SMESH: Issue with export in STL format
move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ
2011-01-27 16:45:55 +00:00
eap
40b9d1ba43 0021130: EDF 1746 SMESH: Issue with export in STL format
1) move instantiations of templates from separate files to SMESH_TypeDefs.hxx
   2) move frequently used typedefs and small classes from SMESH_MeshEditor to to SMESH_TypeDefs.hxx
2011-01-27 16:44:48 +00:00
vsr
f44e34f568 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Update an anctor when necessary
2011-01-27 14:05:46 +00:00
eap
d976fc7810 0021144: [CEA 441] Problem with projection
+  bool projectBy2DSimilarity()
2011-01-27 13:41:43 +00:00
eap
237e3eaae1 0021144: [CEA 441] Problem with projection
care of degenerated geom EDGEs
2011-01-27 13:41:06 +00:00
eap
b337ba17f3 not initialized value 2011-01-27 13:40:10 +00:00
eap
cbe632e32e unused variable 2011-01-27 13:37:31 +00:00
vsr
20570dd75e 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Fix "bare faces" control problem
2011-01-27 10:14:07 +00:00
vsr
bdebea37d3 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Add new controls support to the SMESHGUI_Selection
2011-01-27 07:40:19 +00:00
eap
b87176dacc unused variable 2011-01-26 14:09:59 +00:00
eap
6cf8eec182 Clear data structures at Compute() finish 2011-01-26 14:09:38 +00:00
eap
0df1e71b77 For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
1) Store TopoDS_Face in FaceQuadStruct
2) Make CheckNbEdges() public
2011-01-26 14:08:42 +00:00
eap
9462051381 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Redesign again to work with composed cube edges
2011-01-26 14:06:40 +00:00
eap
812e5de47f 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Fix SplitVolumesIntoTetra() taking into account changed behavior
    of the complex SMESHDS_SubMesh
2011-01-26 13:40:27 +00:00
eap
98119844c8 0021140: EDF 1759 SMESH: Netgen1D2D fails on subshape
Fix work on edges computed with the Composed Segment discretizer
2011-01-25 14:46:58 +00:00
eap
063408f854 untabify 2011-01-25 14:45:34 +00:00
eap
bc4ff5ff6c remove useless dump of vertices of failed shape 2011-01-25 14:45:01 +00:00
vsr
f36c4b1044 0021151: [CEA] unit test fails
Use int instead long to decrease memory consumption
2011-01-25 11:38:54 +00:00
vsr
029dc689fe 0021151: [CEA] unit test fails
Index of sub-shape might be greater than 32767 (max allowed value for short type)
2011-01-25 11:23:48 +00:00
eap
266561983c +static int MYDEBUGWITHFILES = 0;//1; 2011-01-24 16:56:10 +00:00
eap
ae954579c5 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Assure stability
2011-01-24 09:17:26 +00:00
eap
80ac3613f8 valid IDs count from 1 2011-01-24 09:15:52 +00:00
gdd
b94b5d0b91 Fix a French translation 2011-01-21 16:34:19 +00:00
gdd
eaf8c3a3b1 Update of French translation files 2011-01-21 15:56:03 +00:00
rnv
1758d524e7 Additional changes for the Point 2 of the "20948: EDF 1468 SMESH: Histogram of the quality controls" issue. 2011-01-21 14:01:49 +00:00
vsr
ddc98ff4c0 0021136: EDF 1748 SMESH: SetAutoColor has no effect in a python script 2011-01-21 12:20:52 +00:00
rnv
18e0bef9d9 Implementation of the Point 2 of the 20948: EDF 1468 SMESH: Histogram of the quality controls. 2011-01-20 15:41:36 +00:00
gdd
9ae572587c Add new method DoubleNodeElemGroupsNew which allows to have the group of newly created elements. 2011-01-18 14:45:18 +00:00
gdd
44f80071d1 Add missing include 2011-01-18 13:02:45 +00:00
eap
c6a711c175 fix SetPosition() 2011-01-18 12:54:18 +00:00
eap
61149a4aee 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers_i.hxx
2011-01-18 12:21:27 +00:00
eap
5c3abea39e \ No newline at end of file0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work with StdMeshers_ViscousLayers
2011-01-18 12:20:52 +00:00
eap
b0cd839dd0 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0 );
+  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
+                                     TopAbs_ShapeEnum aSubShType = TopAbs_EDGE );

+  void                           setFilter();
2011-01-18 12:20:13 +00:00
eap
b01dba1ff2 \ No newline at end of file 2011-01-18 12:19:28 +00:00
eap
b2a261da2b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work after StdMeshers_ViscousLayers
2011-01-18 12:18:56 +00:00
eap
e5bb05c0df 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
2011-01-18 12:17:14 +00:00
eap
bb52dc60e8 monor change 2011-01-18 12:16:37 +00:00
eap
96063cdc0a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Implement Compute() with the viscous layers
2011-01-18 12:16:09 +00:00
eap
e201ae8a2a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers.hxx
2011-01-18 12:15:36 +00:00
eap
44d84c2bb8 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+    def ViscousLayers(self, thickness, numberOfLayers, stretchFactor, ignoreFaces=[]):
2011-01-18 12:15:17 +00:00
eap
daa2cf5397 untabify 2011-01-18 12:14:57 +00:00
eap
f42b1f95af 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  else if ( aHypType == "ViscousLayers")
+    aHelpFileName = "additional_hypo_page.html#viscous_layers_anchor";
2011-01-18 12:14:41 +00:00
eap
715b3d4689 unused variable 2011-01-18 12:14:25 +00:00
eap
db8973dc5c 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject) );
+  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject), bool* isMesh=0 );
2011-01-18 12:14:09 +00:00
eap
02201a772d no more memostat() 2011-01-18 12:11:56 +00:00
eap
78d0067647 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
prevent from an infinite recursion via the event listener
2011-01-18 12:11:00 +00:00
eap
4466dfe1ce 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
1) make CheckNodeUV() and CheckNodeU() optionally return XYZ of node
      projection to shape
   2) prevent ancestors iterator from returning duplicates
   3) move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
   4) for hexa 3D
   static bool LoadNodeColumns(TParam2ColumnMap & theParam2ColumnMap,
                               const TopoDS_Face& theFace,
                               const TopoDS_Edge& theBaseEdge,
                               SMESHDS_Mesh*      theMesh,
+                              SMESH_ProxyMesh*   theProxyMesh=0);
2011-01-18 12:09:32 +00:00
eap
121d45ed88 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
make SMESH_ElementSearcher work on a sub-set of elements
2011-01-18 11:03:09 +00:00
eap
c0b03d98ac 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 11:02:33 +00:00
eap
7b1bae1651 minor change 2011-01-18 11:02:03 +00:00
eap
20cf4f072b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	SMESH_ProxyMesh.hxx
2011-01-18 11:01:28 +00:00
eap
9d606e4a9b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
show arrows on EDGE's only
2011-01-18 10:58:51 +00:00
eap
4a3492c3f1 untabify 2011-01-18 10:58:29 +00:00
eap
8b21a624a6 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make some methods virtual to enable inheriting by StdMeshers_ProxyMesh::SubMesh

+virtual ~SMESHDS_SubMesh()
+void RemoveAllSubmeshes()
2011-01-18 10:57:32 +00:00
eap
f409dd5186 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 10:55:54 +00:00
eap
6a532d5567 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+ SMDS_IteratorOnIterators.hxx
2011-01-18 10:55:06 +00:00
eap
708dbb145f 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  _Self
+  operator++(int)

+  bool
+  operator==(const _Self& __x) const
2011-01-18 10:51:03 +00:00
eap
cbe181b40c untabify 2011-01-18 10:49:35 +00:00
eap
1876773996 remove extra ; 2011-01-18 10:48:28 +00:00
eap
6e58f2fb40 delete node positions at node removal 2011-01-18 10:47:49 +00:00
rnv
0c1947cfe5 Fix for the issue 21127: EDF 1290 SMESH: A user script fails in versions more than 512 2011-01-18 08:46:10 +00:00
gdd
41d66a815f Add default text and style sheet for StdMeshersGUI_ObjectReferenceParamWdg 2011-01-17 10:27:48 +00:00
rnv
96cbac2048 Fix for the 21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion. 2011-01-10 15:38:48 +00:00
akl
07808b26b0 Fix of IPAL22187: mesh is updated now after removing of orphan nodes. 2011-01-10 11:43:47 +00:00
vsr
e74edb9fb4 Code refactoring 2010-12-29 13:17:10 +00:00
jfa
301af5256a Mantis issue 0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group. 2010-12-29 10:27:23 +00:00
rnv
0b0fc19f70 Fix for the issue 0020885: EDF 607 SMESH: Measure tools
(See Additional Note 10037)
2010-12-28 16:29:23 +00:00
ouv
8e1434e86d 0021105: EDF 1179 SMESH: Efficiency of clipping plane in VTK viewer 2010-12-28 12:27:54 +00:00
inv
fc1ff1af4b Issue 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells 2010-12-24 10:59:30 +00:00
inv
2de294b09a Merge from V6_2_BR 23/12/2010 2010-12-24 08:18:34 +00:00
secher
1f7581fe43 use vtkIdType to be independant of architecture 2010-12-15 10:13:32 +00:00
prascle
2b665e09bb PR: debug imps E3 and E7 2010-12-06 16:59:16 +00:00
jfa
85f3ec887b Allow Show/Hide during other SMESH operations. Mantis issue 0021082. 2010-12-06 14:49:00 +00:00
prascle
7013eafe2d PR: debug split into tetras 2010-12-05 22:57:20 +00:00
prascle
43a4d0b5c1 PR: debug polygons and merge nodes 2010-12-05 19:22:06 +00:00
prascle
5927f96360 PR: bug in compactGrid with polyhedrons 2010-12-04 16:50:15 +00:00
prascle
0d10253e8d PR: compactGrid with polyhedrons 2010-12-04 15:44:40 +00:00
prascle
45ed5d9a93 PR: fix Transform method with orphan nodes 2010-12-01 22:56:36 +00:00
prascle
2e16ca1281 PR: correct some warnings 2010-11-30 22:35:24 +00:00
prascle
8fa039a796 merge from branch BR_SMDS_MEMIMP 29 nov 2010 2010-11-29 13:20:53 +00:00
vsr
dd21629a81 Merge from V5_1_main 26/11/2010 2010-11-26 15:48:22 +00:00
vsr
d8f644ca3d Merge from V5_1_main branch 24/11/2010 2010-11-25 12:44:43 +00:00
vsr
dd7baabfa1 0021063: [CEA 434] Compilation using gnu compiler v4.5 2010-11-11 13:02:20 +00:00
vsr
bd9123f5c8 Merge from V6_1_BR 07/09/2010 2010-09-07 14:19:57 +00:00
vsr
3a40107689 Merge from V5_1_main 10/06/2010 2010-06-10 09:43:07 +00:00
vsr
9357f5c870 Merge from V5_1_main 14/05/2010 2010-05-14 15:32:37 +00:00
eap
da57c65070 fix pb with GetName() in case of meshing imported 2D skin 2010-02-19 08:43:22 +00:00
dmv
7ca0689d93 0020701: Additional fix concerned to the GetName Method changes. 2010-02-18 11:28:58 +00:00
eap
a710674f83 020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
* Correct adding geom groups into map of ansestors
2010-02-18 08:29:00 +00:00
eap
b3a24eca49 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
2010-02-17 14:59:19 +00:00
eap
0719fe6424 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;
2010-02-17 14:56:40 +00:00
eap
db9b76d342 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
2010-02-17 14:54:30 +00:00
skl
e096680dda Changes for bug 0020681. 2010-02-16 11:07:53 +00:00
eap
ae8e36cc4a fix Save() and Load() 2010-02-16 09:32:14 +00:00
vsr
97a2f52e50 0020702: [CEA] Problem with Segment function of SMESH module
0020701: EDF SMESH : GetName Method of smeshDC.py
Additional fix
2010-02-16 09:20:56 +00:00
skl
68b6c38588 Changes for bug 0020681. 2010-02-16 09:19:59 +00:00
dmv
4bb95af61f 0020702: [CEA] Problem with Segment function of SMESH module 2010-02-15 09:35:36 +00:00
eap
3d1a536674 protect IndexToShape() from Standard_OutOfRange exception 2010-02-15 07:11:44 +00:00
eap
8d6ad56522 report error reasons in case of trilateral face 2010-02-12 14:27:33 +00:00
vsr
2029d91e2f Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump 2010-02-12 08:37:10 +00:00
eap
2cd3dfdd08 fix case of 2 edges 2010-02-12 08:15:06 +00:00
maintenance team
d7d3916c31 Fix compilation problem on Debian Sarge 2010-02-12 08:03:53 +00:00