Commit Graph

733 Commits

Author SHA1 Message Date
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
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
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
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
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
sln
32cd75bf05 New example files for 19939 2008-12-01 09:47:55 +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
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
sln
028686967b 0019562: EDF 695 SMESH : Possibility to replace nodes of a cell without destroying the cell. New methods DoubleNode*() has been added 2008-11-21 11:00:50 +00:00
vsv
09910a538a Improvement 0018239: Add "Create sub-Mesh" to Mesh popup menu 2008-11-13 15:31:30 +00:00
vsr
27653b3419 Add new example python script (from CEA) 2008-11-05 10:13:21 +00:00
dmv
867613b15a Modification, Transformation. IDs of elements are missing, if selection with rectange is used. 2008-10-28 07:39:00 +00:00
eap
1f2f2d5fa5 PAL20544 4x: problems with Concatenate().
set smeshDC.geompyD in SetCurrentStudy()
2008-10-24 08:11:58 +00:00
dmv
da567d9f1e Edit Mesh/Sub-Mesh window has strange "half-active" view, if do Compute. 2008-10-23 08:15:14 +00:00
eap
571d6f3701 PAL20544 4x: problems with Concatenate().
fix SetName(obj, name) for the case if obj is instance of class Mesh
  or Mesh_Algorithm
2008-10-23 06:35:48 +00:00
eap
1e44e7cf5c 0020015: EDF 835 SMESH : Doc missing for concatenate.
Convert Concatenate() command
2008-10-23 06:11:47 +00:00
eap
2a2884a992 0020015: EDF 835 SMESH : Doc missing for concatenate.
Add Concatenate() command
2008-10-23 06:11:31 +00:00
dmv
663cdc0234 Item Delete in pop-up of link on hypotheses or algorithm doesn't work. 2008-10-22 06:42:51 +00:00
vsr
ecf80f795d Issue 0020018: Disparition of SMESH --> File --> Import 2008-10-22 03:54:10 +00:00
dmv
40af73a362 4x, 5x : Selection with rectangle is impossible for mesh elements if Submesh or Group is showed. 2008-10-17 11:01:19 +00:00
rnv
d1a145272b Fix for IPAL20440 (Qt4 porting: SIGSEGV at Add Quadratic Hexahedron). 2008-10-17 10:47:40 +00:00
dmv
be89ffa623 Qt4 porting. Hypothesis Nb segment count Number of segment as not positive first time. 2008-10-17 07:56:04 +00:00
dmv
9ab9c302de Qt4 porting. Modification, Orientation, Filter. Bad oriented volume criterion. Compare is editable. 2008-10-16 11:53:12 +00:00
eap
b110ecd69d fix "Clear mesh data" 2008-10-16 07:32:41 +00:00
dmv
6de20c7221 Qt4 porting: 2D Algorithms are active when Mesh on Vertex is created or edited. 2008-10-15 13:01:01 +00:00
eap
964fe4af29 20002: EDF 821 SMESH : ExportMED GUI behavior
warning if no valid mesh selected
2008-10-14 09:23:28 +00:00
dmv
c5e983833f Error after Close Study with Change Clipping dialog box opened. Sometimes it either crashes or hangs up. 2008-10-13 11:47:53 +00:00