Commit Graph

749 Commits

Author SHA1 Message Date
rnv
5555c0e6ec Fix fo IPAL20415 (Error on mouse picking with Shift in 3D viewer if any dialog box is opened) 2008-10-03 06:56:33 +00:00
eap
043cbb6e60 0019970: create groups automatically
remove "Name" lineEdit
2008-10-01 12:04:32 +00:00
eap
6298ac0081 0019970: create groups automatically
remove not realized slots
2008-10-01 08:24:29 +00:00
eap
ba61af6520 0019970: create groups automatically 2008-09-30 08:07:29 +00:00
eap
373fd9df43 0019970: Create Mesh: create groups automatically 2008-09-30 08:05:05 +00:00
rnv
515531d3a8 Additional fix for the issue 19964. 2008-09-24 12:02:05 +00:00
rnv
98dad5e3cc Implementation of the issue 19950. 2008-09-24 11:58:56 +00:00
abd
0902392b50 Fix compilation problem on Calibre 5 configuration (f77 vs gfortran) 2008-09-23 06:49:02 +00:00
akl
8e94578667 Fix of issue 0019967: EDF SMESH 806: TUI script example is missing for the Concatenate and ConcatenateWithGroups functions. 2008-09-18 07:46:25 +00:00
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
rnv
8bfa9cdd5d Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups). 2008-09-16 11:16:42 +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
3ffc0ecded [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
Move MeshPreviewStruct to SMESH_Mesh.idl
2008-07-21 09:57:13 +00:00
eap
41f4d1b379 [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
   };

  Move here MeshPreviewStruct from MeshEditor
2008-07-21 09:56:41 +00:00
eap
af4f7de11b [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
struct ComputeError
   {
+    boolean hasBadMesh; // there are elements preventing computation available for visualization
   }

+  SMESH::MeshPreviewStruct* GetBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+                                                 CORBA::Short          theSubShapeID )
2008-07-21 09:55:03 +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