Commit Graph

670 Commits

Author SHA1 Message Date
akl
de33bd5e0f Fix of issue 0019967: EDF SMESH 806: TUI script example is missing for the Concatenate and ConcatenateWithGroups functions. 2008-09-18 07:32:17 +00:00
eap
ac0b64544d [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
fix
error: default argument missing for parameter 14 of 'HypothesisData::HypothesisData(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QValueList<int>&, bool, const QStringList&, const QStringList&, const QStringList&, const QStringList&, bool, bool)'
2008-09-18 05:51:19 +00:00
rnv
40dfc6372c Additional fix for issue 16186
Now quadrangle split into 2 triangles by smallest diagonal.
2008-09-17 14:21:07 +00:00
eap
cee1f8c11a [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
Add new NETGEN parameters to Mesh_Triangle and Mesh_Tetrahedron algorithms
2008-09-16 14:51:49 +00:00
eap
b4ce843583 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+msgid "SMESHGUI_MeshOp::SUBMESH_NOT_ALLOWED"
+msgstr "No sense in creating a submesh ignored by global algorithm \"%1\""
2008-09-16 14:51:26 +00:00
eap
fb8f3ac751 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
Read a new aglo attribute "support-submeshes":

+      QString suppSub = atts.value("support-submeshes");
+      if ( !suppSub.isEmpty() )
+        isSupportSubmeshes = (suppSub == "true");
+
2008-09-16 14:50:02 +00:00
eap
8e7cd4625d [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
//================================================================================
 /*!
+ * \brief Return name of the algorithm that does not support submeshes and makes
+ * submesh creation useless
+ *  \retval char* - string is to be deleted!!!
+ */
+//================================================================================
+
+char* SMESHGUI_MeshOp::isSubmeshIgnored() const
2008-09-16 14:49:49 +00:00
eap
2bc1c40f58 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  bool IsSupportSubmeshes; //!< TRUE if the algo building all-dim elems supports submeshes
2008-09-16 14:49:07 +00:00
eap
dacb38a9d9 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
1)        algo->Compute() depending on algo->SupportSubmeshes()
2)
+  /*!
+   * \brief Return true if no mesh entities is bound to the submesh
+   */
+  bool IsEmpty() const;
2008-09-16 14:38:55 +00:00
eap
794f960633 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  /*!
+   * \brief Return an alternative parameter for a node on seam
+   */
+  double GetOtherParam(const double param) const;
2008-09-16 14:38:25 +00:00
eap
b27af1c2d2 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
const SMESH_Hypothesis * GetHypothesis(const TopoDS_Shape &    aSubShape,
                                          const SMESH_HypoFilter& aFilter,
-                                         const bool              andAncestors) const;
+                                         const bool              andAncestors,
+                                         TopoDS_Shape*           assignedTo=0) const;
2008-09-16 14:38:08 +00:00
eap
6c591d8d62 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  static SMESH_HypoPredicate* IsMoreLocalThan(const TopoDS_Shape& theShape);
2008-09-16 14:37:45 +00:00
eap
53362590aa [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
rearrange Compute()
2008-09-16 14:37:28 +00:00
eap
8f64956624 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  bool SupportSubmeshes() const { return _supportSubmeshes; }
+  // 5 - whether supports submeshes if !NeedDescretBoundary()
2008-09-16 14:36:59 +00:00
rnv
9fe8334ee2 Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups). 2008-09-16 12:11:37 +00:00
maintenance team
dae92f6571 Porting to CAS-6.3 2008-09-10 13:06:13 +00:00
rnv
8a0f1ad782 Implementation on the issue 16186: EDF PAL 459: Mapping: when refining, to separate quadrangles into 2 triangles. 2008-09-08 13:24:39 +00:00
skl
9d559b75b8 Updated for feature 0016220 from Mantis. 2008-09-05 09:58:56 +00:00
eap
5291ea1e65 [SALOME platform 0019943]: Pb with projection 2d
In SMESH_Pattern::Load(mesh,face), fix treating seam vertices of not seam edges
2008-09-02 08:44:30 +00:00
jfa
11c8820aa0 Initialize some fields before usage. 2008-09-02 07:47:02 +00:00
akl
bc3f3f9c01 Fix for issue 0019935: EDF 793 SMESH: Drawing of a line on a non-planar surface. To draw only connectivity lines. 2008-08-01 07:39:10 +00:00
eap
c003632371 [SALOME platform 0019943] Pb with projection 2d
distinguish the case of seam edge encountered twice in face wire from
    the case of seam encountered once
2008-07-28 16:00:01 +00:00
eap
030beb0855 [SALOME platform 0019943] Pb with projection 2d
+  bool IsRealSeam(const int subShape) const
2008-07-28 15:57:35 +00:00
jfa
db17b46ddb Remove debug traces 2008-07-25 10:50:02 +00:00
jfa
4b33363430 Bug 0019943: Pb with projection 2d. Fix for a seam edge on not really closed face. 2008-07-25 10:32:18 +00:00
eap
08ba46c116 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
+msgid "SMESH_HYP_13"
+msgstr "Algorithm can't work without shape"
+
+msgid "SMESHGUI_ComputeDlg::SHOW_BAD_MESH"
+msgstr "Show bad Mesh"
+
2008-07-21 09:58:49 +00:00
eap
481dfe6e2e [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
+  void onShowBadMesh();
2008-07-21 09:58:11 +00:00
eap
6d10da4745 SMESH::Hypothesis_Status SMESH_Mesh_i::ConvertHypothesisStatus
(SMESH_Hypothesis::Hypothesis_Status theStatus){
  switch (theStatus) {
+  RETURNCASE( HYP_NEED_SHAPE    );
2008-07-21 09:53:33 +00:00
eap
df5d0e7d52 CORBA::Long SMESH_MeshEditor_i::AddFace(const SMESH::long_array & IDsOfNodes)
{
-    return false;
+    return 0;
2008-07-21 09:52:43 +00:00
eap
5b2379017c [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
+  // Return mesh elements preventing computation of a subshape
+  SMESH::MeshPreviewStruct* GetBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+                                                 CORBA::Short          theSubShapeID )
2008-07-21 09:51:45 +00:00
eap
5cb83e99e0 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
fix for algos not needing shapes
2008-07-21 09:50:39 +00:00
eap
a995fac75d [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
{
   _name = "UseExisting_1D";
   _shapeType = (1 << TopAbs_EDGE); // 1 bit per shape type
+  _requireShape = false;
 }
2008-07-21 09:49:06 +00:00
eap
95b07959a5 fix misspelling 2008-07-21 09:47:54 +00:00
eap
33cfc57a7c fix the problem that dependent submeshes are not always cleared when
hypothesis is removed
2008-07-21 09:47:15 +00:00
eap
60d6911d52 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
improve work with algos not needeing shapes
2008-07-21 09:43:48 +00:00
eap
6f8dc08854 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
enum Hypothesis_Status // in the order of severity
  {
+    HYP_NEED_SHAPE    // algorithm can work on shape only
2008-07-21 09:42:35 +00:00
eap
58f17329c5 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
store bad input elements and nodes
2008-07-21 09:41:11 +00:00
dmv
b4aed9ff1c Bug IPAL20034 Error after Find geometry by mesh element selection,if element is selected,but mesh isn't created.Regress. 2008-07-15 06:20:48 +00:00
dmv
cba44c5492 Bug IPAL19981 4x regress: unstable font for values of scalar bar 2008-07-08 08:15:13 +00:00
eap
6da23ffa6f [SALOME platform 0019911]: pb of memory allocation in SMESH
call CheckMemory() not at any entity addition but after adding
    CHECKMEMORY_INTERVAL(=1000) entities.
2008-07-07 07:36:47 +00:00
eap
9ea74d4371 [SALOME platform 0019911]: pb of memory allocation in SMESH
make the amount of memory allocated at each step depend on total RAM size
2008-07-07 07:34:17 +00:00
skl
779689b9a7 Changes for bug IPAL19574. 2008-07-04 11:02:20 +00:00
mkr
4112f94a38 Fix for bug IPAL20043 : Problem of current folder definition during mesh export (Appendix for Mantis 0019903). 2008-07-03 09:00:42 +00:00
jfa
c174b59dd5 Bug 0019389: Impossible to create a group with a selection in another group. 2008-07-03 07:33:37 +00:00
vsr
4324ec1b43 IMP 001989: multi selection in "Import" dialog boxes 2008-07-02 08:41:03 +00:00
dmv
dcb0b83441 Bug IPAL20033 Error after Close Study with Change Clipping dialog box opened. Sometimes it either crashes or hangs up. 2008-07-01 13:26:51 +00:00
dmv
15ec793e1d Bug IPAL20038 Name disappears in Create Group on Mesh dialog box when Group type is changed. 2008-07-01 12:38:09 +00:00
mkr
4f55f53101 Fix for bug 0019903: EDF 781 SMESH: give a default name when exporting mesh. 2008-06-30 10:06:21 +00:00
dmv
d408364886 Bug IPAL19581 REGR: Fatal error SIGSEGV on validation "Selection filter library" 2008-06-26 12:54:23 +00:00
dmv
b9f577609d IPAL19824, Smoothing. Selection of edges is incorrect - they must be inactive.
IPAL10421, Needless selection in 3D Viewer during Smoothing operation
2008-06-23 10:18:26 +00:00
skl
aa7d5e89a0 Updated for bug IPAL19474. 2008-06-23 07:56:20 +00:00
dmv
25dc346fe7 IPAL 19883 Smoothing. Error on Apply if "Fixed nodes ids" is activated, but node is not selected. 2008-06-20 13:53:26 +00:00
vsr
3506ddb84a Fix problems with quadratic elements preview in 'Add Quadriatic element' dialog box. 2008-06-20 13:24:37 +00:00
dmv
e48a1779f1 IPAL 18631 Remove Extra Messages from the Terminal in case of Release Mode 2008-06-19 10:33:52 +00:00
vsr
607c254121 Fix bug with SIGSEGV when entering wrong edge id in "Diagonal Inversion" and "Union Triangles" dialog boxes 2008-06-19 08:39:09 +00:00
dmv
a0a59a9d9c ID 0019887: EDF 757 SMESH: It is possible to delete a referenced GEOM object from SMESH 2008-06-19 07:15:20 +00:00
skl
d606c0d54d Update for bug IPAL19574. 2008-06-19 05:35:18 +00:00
eap
7a3da6781d [SALOME platform 0019880]: SIGSEV while dumping the study 2008-06-11 07:05:33 +00:00
eap
09c536b7fe Assure re-compute after "Clear Mesh data" if there was computation failure 2008-06-09 08:05:23 +00:00
vsr
b471fad098 Issue 0016760: improve dialog box 2008-06-09 07:09:36 +00:00
vsr
ad8625f0e3 Issue 0016760: Fix pb in zero size of MED file 2008-06-09 07:08:28 +00:00
eap
bfc5148139 [SALOME platform 0019867]: Export/Import MED problem with Volumes
Prevent from whitespace being the last char of family name - II
2008-06-09 06:49:26 +00:00
mzn
9400fe5867 Fix for bug 0019870(Import/Export should show current directory). Correction. 2008-06-07 13:55:17 +00:00
mzn
3e81347908 Fix for bug 0019870(Import/Export should show current directory). 2008-06-07 12:49:40 +00:00
eap
e8ee05e869 PAL16760 - MED file information
store MedFileInfo instead of file name in order not to open med
    file every time GetMedFileInfo() is called, which happens at every
    invoking pop-up of mesh.
2008-05-30 09:26:48 +00:00
skl
ce5a49c530 Update for bug IPAL19784. 2008-05-29 05:11:32 +00:00
skl
5971357dfc Updated for IPAL19813. 2008-05-28 05:36:27 +00:00
asl
239fc6cc6a PAL16760 - MED file information 2008-05-27 10:27:58 +00:00
dmv
2c5c38b368 IPAL 19788 REGRESSION - groups are lost after import UNV file. 2008-05-27 08:28:45 +00:00
eap
caf39ac84c PAL19817 Projection 1D algorithm failure.
fix association of groups by propagation
2008-05-27 07:43:06 +00:00
eap
2637a98e56 PAL19802 A "Clear Mesh data" method for SMESH.Mesh objects
hide groups and submeshes
2008-05-27 06:17:13 +00:00
skl
a1e8ac1ffa Updated for IPAL19826. 2008-05-27 06:13:26 +00:00
eap
2a180e9a89 add missing includes 2008-05-26 14:15:28 +00:00
eap
4e38a82bb3 comment warning message 2008-05-26 14:15:02 +00:00
eap
54df188f64 PAL19802 A "Clear Mesh data" method for SMESH.Mesh objects 2008-05-26 14:14:19 +00:00
skl
7d5c34c37c Updated for NPAL15716. 2008-05-26 07:24:55 +00:00
eap
7a72e1b402 remove obsolete file 2008-05-23 10:15:17 +00:00
dmv
ef54a05a85 Bug #: NPAL19561 Strip extra spaces from groups popup menu in SMESH 2008-05-22 08:54:11 +00:00
eap
b7a2b97337 remove unused variable 2008-05-22 08:43:32 +00:00
eap
ca799421eb PAL19785 Anomaly UnionGroup + hdf save
Prevent from whitespace being the last char of family name
2008-05-22 08:43:10 +00:00
jfa
c1d7a51e7e NPAL18500: structured help for SMESH python interface. 2008-05-21 10:29:11 +00:00
dmv
b9d1ac1de2 IPAL 19788 4.x: REGRESSION - groups are lost after import UNV file. 2008-05-21 09:34:01 +00:00
skl
38beeccb16 Updated for NPAL19665. 2008-05-21 06:31:42 +00:00
mkr
e4ca575902 Fix for NPAL19645 : Improve SMESH documentation: describe all filters. 2008-05-20 13:23:55 +00:00
jfa
fae671f73c NPAL19658: Deletion problem. Invalid actions were called by shortcuts. 2008-05-20 08:03:01 +00:00
dmv
4fbfc9aa30 NPAL 19727 EDf 715 SMESH: Import of unv file adds a space character at the end of group names 2008-05-19 07:31:14 +00:00
dmv
b66fdf7ddc NPAL13898 2008-05-08 13:19:51 +00:00
dmv
c3e2a7b12e NPAL13898 Ok/Apply/Close laborious for User 2008-05-07 11:37:21 +00:00
jfa
1eae970eff Default MED version for export is 2.3. 2008-05-06 07:32:45 +00:00
eap
b8d390c6f9 add more options to BLSURF 2008-05-05 10:23:44 +00:00
eap
2c990d2d24 add more options to BLSURF 2008-05-05 06:06:06 +00:00
eap
3d5cf736e4 PAL19680 CEA 4.1.2: Meshers: BLSURF, GHS3D and holed shapes
add more 4 advanced options to GHS3D
2008-04-30 09:39:40 +00:00
mzn
9764a38099 Additional fix for bug NPAL19028 (see remarks from Olivier Giorgis). 2008-04-29 13:17:03 +00:00
jfa
b81d800721 NPAL19656: EDF709: Dump file with ExtrusionAlongPath does not work. 2008-04-29 11:03:08 +00:00
eap
688f84c387 Fix problem that "Show SubShape" does not work 2008-04-25 06:26:27 +00:00
eap
975d5ce014 in GetAvailableHypotheses(), checkGeometry only for algorithms 2008-04-24 12:50:31 +00:00
eap
036639c859 PAL19395 Unknoun exception is raised after trying to import med file in SMESH
protect from exception when setting invalid color
2008-04-23 14:04:53 +00:00
eap
95f6a1059b in Mesh.Compute(), report hypothesis errors even if compute() returns OK 2008-04-23 07:02:52 +00:00
eap
570bbfb2ff add and fix methods of GHS3D and BLSURF hypotheses 2008-04-22 16:52:09 +00:00
eap
70f7bf5c7d fix check that submeshes are computed if !algo->OnlyUnaryInput() 2008-04-22 16:51:01 +00:00