Commit Graph

865 Commits

Author SHA1 Message Date
ptv
0aaf2804aa correct list of sub-pages (add "preview and compute" page) 2009-01-14 08:52:36 +00:00
eap
a7b44cd5b9 0019941: EDF 766 SMESH : Max length hypothesis 2009-01-14 07:43:56 +00:00
eap
360bc83d7f 0019941: EDF 766 SMESH : Max length hypothesis 2009-01-13 16:31:41 +00:00
eap
02b44240c2 0019923: EDF 765 SMESH : default values of hypothesis
SMESH::SMESH_Hypothesis_ptr GetHypothesisParameterValues (const char*           theHypType,
                                                             const char*           theLibName,
                                                             SMESH::SMESH_Mesh_ptr theMesh,
-                                                            GEOM::GEOM_Object_ptr theGeom)
+                                                            GEOM::GEOM_Object_ptr theGeom,
+                                                            CORBA::Boolean        byMesh)
2009-01-13 13:08:34 +00:00
eap
af446655b4 0019923: EDF 765 SMESH : default values of hypothesis
improve
SMESHGUI_MeshOp::getInitParamsHypothesis( const QString& aHypType,
                                          const QString& aServerLib ) const
2009-01-13 13:07:24 +00:00
eap
09834f1960 0019941: EDF 766 SMESH : Max length hypothesis
+  virtual void                 valueChanged( QWidget* );
2009-01-13 13:05:16 +00:00
ptv
9fa65460e9 fix bug with algorithm and his hypothesis in case of new created study (not imported from python script) 2009-01-13 13:04:50 +00:00
eap
95e7e98096 0019923: EDF 765 SMESH : default values of hypothesis
add access methods to new fields
+  double                     _shapeDiagonal; //!< diagonal size of bounding box of shape to mesh
+  int                        _nbElemPerDiagonal; //!< nb elements per diagonal
2009-01-13 12:48:00 +00:00
eap
2420f68007 0019923: EDF 765 SMESH : default values of hypothesis
+   * \brief Initialize my parameter values by linear size of mesh element.
+   *  \retval bool - true if parameter values have been successfully defined
+   */
+  virtual bool SetParametersByElementSize(double elemLenght, const SMESH_Mesh* theMesh=0)=0;
2009-01-13 12:46:38 +00:00
eap
f35204c6bd 0019941: EDF 766 SMESH : Max length hypothesis
+  interface StdMeshers_MaxLength : SMESH::SMESH_Hypothesis
2009-01-13 12:34:32 +00:00
eap
1873788543 0019923: EDF 765 SMESH : default values of hypothesis
SMESH_Hypothesis GetHypothesisParameterValues( in string            theHypName,
                                                    in string            theLibName,
                                                    in SMESH_Mesh        theMesh,
-                                                   in GEOM::GEOM_Object theGeom)
+                                                   in GEOM::GEOM_Object theGeom,
+                                                   in boolean           byMesh)
2009-01-13 12:16:31 +00:00
rnv
a073e49467 Implementation of the issue 0019928: EDF 771 SMESH : Extrusion (Revolution) with normal to a face. 2009-01-08 14:23:07 +00:00
mzn
a725790c5c Fix for improvement 0019927 (EDF770 SMESH: Analyzing the Mesh Quality: Orphan nodes). 2008-12-26 11:01:53 +00:00
mzn
065cbeda74 Fix for improvement 0019927 (EDF770 SMESH: Analyzing the Mesh Quality: Orphan nodes). Correspoding documetaion update. 2008-12-26 11:01:09 +00:00
mzn
503b60803a Fix for improvement 0019927 (EDF770 SMESH: Analyzing the Mesh Quality: Orphan nodes). 2008-12-26 10:56:27 +00:00
mzn
01e646e9da Fix for improvement 0019927 (EDF770 SMESH: Analyzing the Mesh Quality: Orphan nodes). 2008-12-26 10:47:02 +00:00
mzn
69980b70a2 Fix for improvement 0019927 (EDF770 SMESH: Analyzing the Mesh Quality: Orphan nodes). 2008-12-26 10:39:31 +00:00
ptv
733d218566 fix problem with Preview result when server and client launched as independant processes 2008-12-19 10:42:37 +00:00
ptv
dd19ae7b16 correct preview dialog behaviour 2008-12-17 15:46:15 +00:00
ptv
4ad5bce0b8 clear computation status if Compute invoked with dimension less than previous 2008-12-17 15:32:43 +00:00
vsr
666430da4f Rollback previous wrong integration, restore improvement 0018239 implementation 2008-12-16 08:12:48 +00:00
ptv
78fb42dc3e IMP19942 - Convert group on geometry into group of elements 2008-12-15 12:33:24 +00:00
eap
6e01637051 0019292: EDF 672 SMESH : extend Composite side discretisation to 2D
/*!
+   * \brief Fill map of node parameter on geometrical edge to node it-self
+   * \param theMesh - The mesh containing nodes
+   * \param theEdge - The geometrical edge of interest
+   * \param theNodes - The resulting map
+   * \param ignoreMediumNodes - to store medium nodes of quadratic elements or not
+   * \retval bool - false if not all parameters are OK
+   */
+  static bool GetSortedNodesOnEdge(const SMESHDS_Mesh*                        theMesh,
+                                   const TopoDS_Edge&                         theEdge,
+                                   const bool                                 ignoreMediumNodes,
+                                   std::map< double, const SMDS_MeshNode* > & theNodes);
2008-12-09 12:42:47 +00:00
sln
fbe251bb29 0013557: field values display
All related controls for font definition in SMESH and VISU modules have been updated in accordance with changes on GUI_SRC level.

QtxFontEdit class and related controls in preferences has been updated in order to support custom fonts instead of system fonts only. For example VTK viewer uses only three fonts Arial, Courier and Times. As result there is no point in providing    control with system fonts for VTK viewer. Also "S" button has been added in QtxFontEdit in order to provide "Shadow" style of VTK font. "underline" property of QFont is replaced with "overline" property in order to store "Shadow" status of font to avoid conflict simultaneous usage of "U" and "S" button.
2008-12-09 12:34:14 +00:00
sln
75d312c765 0013557: field values display
All related controls for font definition in SMESH and VISU modules have been updated in accordance in changes in QtxFontEdit and related preferences functionality.

QtxFontEdit class and related controls in preferences has been updated in order to support custom fonts instead of system fonts only. For example VTK viewer uses only three fonts Arial, Courier and Times. As result there is no point in providing    control with system fonts for VTK viewer. Also ?S? button has been added in QtxFontEdit in order to provide ?Shadow? style of VTK font. ?1underline? property of QFont is replaced with ?overline? property in order to store ?Shadow? status of font to avoid conflict simultaneous usage of ?U? and ?S? button.
2008-12-09 12:21:13 +00:00
ptv
3dcf003eec remove dependance from .la files 2008-12-09 11:15:16 +00:00
ptv
326d4252be IMP199929 Script simplification and correct Set Name of the Mesh 2008-12-09 11:11:15 +00:00
ptv
c324294de9 IMP199929 Script simplification and correct Set Name of the Mesh 2008-12-09 10:57:24 +00:00
ptv
66181f3140 add missing dependance 2008-12-09 10:55:59 +00:00
eap
ab27b4d6ac 0019292: EDF 672 SMESH : extend Composite side discretisation to 2D
StdMeshers_CompositeHexa_3D.* added
2008-12-09 10:38:55 +00:00
ptv
04a0c33ea9 Imp 19925 - Mesh preview 2008-12-01 12:18:59 +00:00
ptv
d54614fd64 Remove compilation warning 2008-12-01 12:13:47 +00:00
ptv
19d95d1426 Imp 19925 - Mesh preview 2008-12-01 12:08:28 +00:00
ptv
9bda958b02 Imp 19925 - Mesh preview 2008-12-01 12:01:11 +00:00
sln
32cd75bf05 New example files for 19939 2008-12-01 09:47:55 +00:00
sln
4e50b2a224 0019939: EDF 762 SMESH : Definition of groups from other existing groups.
Description is updated in accordance with implemented extension of boolean operations
2008-11-28 09:18:53 +00:00
sln
67bf00baef 0019939: EDF 762 SMESH : Definition of groups from other existing groups.
Script for creating group of underlying entities added
Scripts for boolean operations updated with new method calls
2008-11-28 09:13:07 +00:00
sln
82e3efc6ff 0019939: EDF 762 SMESH : Definition of groups from other existing groups.
Description of "Create group of underlying entities" dialog box added

Description of creating groups using existing groups and sub-meshes
2008-11-28 08:59:13 +00:00
sln
023e5ff793 0019939: EDF 762 SMESH : Definition of groups from other existing groups.
New images for "Create group of underlying entities" dialog box
2008-11-28 08:57:03 +00:00
sln
ba6e58c0d7 0019939: EDF 762 SMESH : Definition of groups from other existing groups.
Images are updated in accordance with new look and feel of dialogs
2008-11-28 08:55:51 +00:00
sln
7ac3342e9f Arguments of CutGroups method corrected 2008-11-28 08:51:27 +00:00
sln
c1705b92b2 0019939: EDF 762 SMESH : Definition of groups from other existing groups.
New files added

ex30_groupsOp.py
ex31_dimGroup.py
2008-11-28 08:50:28 +00:00
sln
10c9a47ab5 Help file names corrected 2008-11-28 08:36:56 +00:00
sln
5ed841ca73 0019939: EDF 762 SMESH : Definition of groups from other existing groups
New icon is added for "Create group of underlying entities" dialog box
2008-11-26 15:33:16 +00:00
sln
626daa3396 0019939: EDF 762 SMESH : Definition of groups from other existing groups
SmeshDC is extended with:
def UnionListOfGroups(self, groups, name)
def IntersectListOfGroups(self, groups, name):
def CutListOfGroups(self, main_groups, tool_groups, name):
def CreateDimGroup(self, groups, elem_type, name):
2008-11-26 15:31:52 +00:00
sln
4afe057463 0019939: EDF 762 SMESH : Definition of groups from other existing groups
onAdd() method is fixed in order to provide valid reaction on group created on geometry
2008-11-26 15:30:36 +00:00
sln
634461f414 0019939: EDF 762 SMESH : Definition of groups from other existing groups
?Union of two groups?, ?Union of two groups? and ?Cut of two groups? dialog boxes are updated for supporting works with several groups instead of two groups only

New ?Create group of underlying entities? dialog box is provided. It is intended for creating groups of entities from existing groups of superior dimensions (groups of nodes from group of faces, for example). Dialog contains
1) line edit for defining name of new group,
2) combo-box for defining dimension of elements (nodes, edges, etc),
3) list-box for defining source groups
2008-11-26 15:29:10 +00:00
sln
893e1c2982 0019939: EDF 762 SMESH : Definition of groups from other existing groups
SMESH_Mesh.idl is extended with:
SMESH_Group UnionListOfGroups(in ListOfGroups aListOfGroups,
                              in string       name );
SMESH_Group IntersectListOfGroups (in ListOfGroups aListOfGroups,
                                   in string       name);
SMESH_Group CutListOfGroups (in ListOfGroups aMainGroups,
                             in ListOfGroups aToolGroups,
                             in string       name);
for supporting works with several groups and
SMESH_Group CreateDimGroup( in ListOfGroups aListOfGroups,
                            in ElementType  anElemType,
                            in string       name );
for creating groups of entities from existing groups of superior dimensions
2008-11-26 15:28:12 +00:00
sln
61edefa0a6 0019562: EDF 695 SMESH : Possibility to replace nodes of a cell without destroying the cell. New methods DoubleNode*() have been added 2008-11-21 11:01:47 +00:00
sln
02737e49ed 0019562: EDF 695 SMESH : Possibility to replace nodes of a cell without destroying the cell. New method DoubleNodes() has been added 2008-11-21 11:01:20 +00:00