Commit Graph

1145 Commits

Author SHA1 Message Date
eap
8d68a5ae9a use CheckMemory() to avoid crash due to memory allocation problem 2011-05-04 09:45:11 +00:00
eap
b0e0902d31 use CheckMemory() to avoid crash due to memory allocation problem 2011-05-04 09:33:50 +00:00
eap
bce4a113cf remove debug output 2011-05-04 07:32:59 +00:00
eap
368440ebe3 untabify 2011-05-04 06:49:05 +00:00
eap
580a459516 warn the user that the application may crash if not enough memory remains 2011-05-03 17:03:59 +00:00
eap
b83db6830f 0021256: EDF STUDY: Python dump in a single file (continued)
"import salome" in multyfile mode
2011-05-03 16:02:33 +00:00
eap
7436d5ff08 0021256: EDF STUDY: Python dump in a single file (continued)
if( isMultiFile )
     aScript += "def RebuildData(theStudy):";
-  else
-    aScript += "theStudy = salome.myStudy";
2011-05-03 15:54:20 +00:00
prascle
07a37cb49f PR: plugin for MeshCut 2011-05-03 15:37:17 +00:00
eap
e145b0e8b3 0021255: [CEA 466] compilation with gcc 4.6.0 without warnings
-    sprintf( (char*)&(buffer[i*3]), "|%02x", (char*)(aStreamFile[i]) );
+    sprintf( (char*)&(buffer[i*3]), "|%02x", aStreamFile[i] );
2011-05-03 13:14:00 +00:00
gdd
f1fdcd1571 rnc: Added a paragraph about the use of criteria in documentation
and links from GetFilter and GetCriterion methods to tui_filters documentation page
2011-04-29 11:44:24 +00:00
eap
5a57da6b1e fix FindShape() to resolve a regression of SMESH_TEST/Grids/smesh/bugs/L9 2011-04-28 09:40:21 +00:00
gdd
2db2c3ab90 rnc: EDF 1607 SMESH: Modified "Move Node" and "Add Node" dialog boxes so that only SpinBoxes are expanded when resizing the window. 2011-04-27 13:37:08 +00:00
gdd
ed17a76996 rnc: Modified "Number Of Segment" window so that the use of table density is more convenient. 2011-04-27 12:40:02 +00:00
eap
d4f7fd7135 1) avoid infinit recursion in operator<<(SMESH::SMESH_IDSource_ptr theArg)
2) 0021231: EDF 1838 SMESH: Pattern mapping on a quadratic element
     fix python dump of functions defining pattern in a single-file mode
2011-04-26 14:37:17 +00:00
eap
67ea75a7dd 0021231: EDF 1838 SMESH: Pattern mapping on a quadratic element
fix applying the 2D pattern to quafratic mesh faces
2011-04-26 13:15:40 +00:00
eap
84d055c1b3 0021250: EDF 1817 SMESH: Salome crashes when activating smesh after opening a specific study
In Load(), avoid infinite recursion via python dump
-            myNewMeshImpl->SetAutoColor( (bool)anAutoColor[0] );
+            myNewMeshImpl->GetImpl().SetAutoColor( (bool)anAutoColor[0] );
2011-04-26 10:35:15 +00:00
vsr
78f6bcf182 Fix make distcheck problem 2011-04-26 06:13:06 +00:00
vsr
63710c8cea IPAL22422 : TC6.3.0:hangup importing python dump 2011-04-25 15:34:09 +00:00
eap
5bd351dd12 1) protect GetSubMesh() from the exception in case of an
empty geom group (version 2)
2) 0021248: EDF SMESH: Dump and ExportToMED
+  pyDump<<_this()<<".SetAutoColor( "<<theAutoColor<<" )";
2011-04-25 13:23:19 +00:00
eap
171ee633a8 0021248: EDF SMESH: Dump and ExportToMED
+    TPythonDump()<<_this()<<".SetColor( "<<color.R<<", "<<color.G<<", "<<color.B<<" )";
2011-04-25 13:22:10 +00:00
eap
d6f77dcbc8 0021248: EDF SMESH: Dump and ExportToMED
dump SetAutoColor() and SetColor() in SMESH_Mesh_i and in
  SMESH_GroupBase_i correspondingly
2011-04-25 13:19:22 +00:00
eap
b42b6351ff protect GetSubMesh() from the exception in case of an empty geom group 2011-04-25 11:24:28 +00:00
ouv
9463491e24 Issue 0021249: EDF STUDY: Python dump in a single file 2011-04-25 08:36:25 +00:00
eap
3fb9c77ac1 0021238: EDF 1817 SMESH: GHS3D on quadratic meshes
enhance IsQuadraticSubMesh() for the mesh w/o shape
2011-04-22 16:08:20 +00:00
eap
8aec90a5df 0021231: EDF 1838 SMESH: Pattern mapping on a quadratic element
fix loading pattern from a quadratic mesh
2011-04-22 11:54:06 +00:00
eap
6bd826a5f5 0020918: EDF 1447 SMESH: Mesh common borders/ note 0010933
Use large tolerance for projection of nodes to edges because of
  BLSURF mesher specifics
2011-04-21 16:38:08 +00:00
eap
bdb6d61f8c 0021223: EDF 1839 SMESH: Bug of convert to quadratic after pattern mapping
Use Precision::Infinite() to mark UV of node on face as "not set"
2011-04-21 13:32:29 +00:00
eap
884e982781 0020918: EDF 1447 SMESH: Mesh common borders (note 0010726)
fix "Conditional jump or move depends on uninitialised value(s)"
2011-04-20 13:45:19 +00:00
eap
7d37e871b2 0021217: EDF SMESH: Submesh is not taken into account whith netgen 1d-2d 2011-04-19 16:09:16 +00:00
gdd
0943b1a66f rnc: Mistake 2011-04-19 15:00:54 +00:00
gdd
e54e144359 rnc: added method SetAttractorGeom and documented it 2011-04-19 14:59:24 +00:00
eap
4558b6ca1c 0021149: [CEA 445] Wrong mesh dimension 2011-04-19 14:40:23 +00:00
ouv
513abfae2f Issue 0021236: EDF SMESH: Problem in create group when Select All checkbox is checked 2011-04-19 12:41:47 +00:00
vsr
1d11144246 0013373: EDF PAL 273 : Option Single/Multi file dump 2011-04-19 11:16:23 +00:00
vsr
0f2104e676 Issue #0021242: EDF SMESH 1773: Remove Mesh element Information 2011-04-18 16:04:08 +00:00
vsr
932b0e7c85 Merge from V6_main branch 18/04/2011 2011-04-18 13:13:50 +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