Commit Graph

1407 Commits

Author SHA1 Message Date
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
adam
26e0140b4a Activate WITH_SMESH_CANCEL_COMPUTE with automake 2011-03-19 18:18:38 +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
c774eacd4e 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)
2011-03-16 15:40:39 +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
ef870acf1a 0021177: EDF 1563 SMESH: Preview of mesh during a modification 2011-03-14 10:08:46 +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
903ab93687 0021177: EDF 1563 SMESH: Preview of mesh during a modification 2011-03-14 09:46:04 +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
e2a012b355 0021197: EDF 1772 SMESH: Automatic meshing hypothesis 2011-03-11 14:17:23 +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
570cb9161c 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"/>
2011-03-11 13:13:58 +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
d7491a9906 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);
2011-03-11 10:18:15 +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