Commit Graph

880 Commits

Author SHA1 Message Date
ptv
b69a0197ca add missing icon 2009-01-19 12:53:15 +00:00
eap
bd106fb376 0019941: EDF 766 SMESH : Max length hypothesis
addition on preference parameter
2009-01-19 08:58:16 +00:00
eap
2e91e44cab 0019923: EDF 765 SMESH : default values of hypothesis
fix SetBoundaryBoxSegmentation() to return nothing
2009-01-19 08:06:33 +00:00
eap
a7b26b38cf 0019923: EDF 765 SMESH : default values of hypothesis
+    ## Sets number of segments per diagonal of boundary box of geometry by which
+    #  default segment length of appropriate 1D hypotheses is defined.
+    #  Default value is 10
+    #  @ingroup l1_auxiliary
+    def SetBoundaryBoxSegmentation(self, nbSegments):
+        #return self.GetCurrentStudy()
+        return SMESH._objref_SMESH_Gen.SetBoundaryBoxSegmentation(self,nbSegments)
2009-01-19 08:04:08 +00:00
eap
b6e94f69bb 0019923: EDF 765 SMESH : default values of hypothesis
store number of segments per box diagonal in SMESH_Gen not in SMESH_Mesh
2009-01-16 14:56:05 +00:00
eap
fd13e26d1e 0019923: EDF 765 SMESH : default values of hypothesis
add preference parameter to control number of segments per diagonal of
  boundary box of geometry by which default segment length of
  appropriate 1D hypotheses is defined
2009-01-16 14:54:33 +00:00
eap
2c39bb1e19 0019923: EDF 765 SMESH : default values of hypothesis
/*!
+     * Sets number of segments per diagonal of boundary box of geometry by which
+     * default segment length of appropriate 1D hypotheses is defined
+     */
+    void SetBoundaryBoxSegmentation( in long theNbSegments );
2009-01-16 14:51:59 +00:00
ptv
0dd6c95e10 IMP19938 2009-01-16 13:52:54 +00:00
ptv
6d82dda93c IMP19938 2009-01-16 13:21:30 +00:00
sln
584e9516d3 0019819: EDF 643 VISU : Scalar bar ergonomics. Default origin and size of scalar bar changed 2009-01-15 08:02:49 +00:00
eap
4b2a1995c2 0019941: EDF 766 SMESH : Max length hypothesis
do not show preestimated length at hyp edition if no shape selected
2009-01-14 14:13:13 +00:00
eap
b8728d4b02 0019941: EDF 766 SMESH : Max length hypothesis
set a right preestimated length to edited "Max Size" hypothesis
2009-01-14 09:25:46 +00:00
eap
1205fe6531 0019941: EDF 766 SMESH : Max length hypothesis
do not notify meshes of SetUsePreestimatedLength()
2009-01-14 09:24:53 +00:00
eap
3b1db25f70 0019941: EDF 766 SMESH : Max length hypothesis
provide initial parameters at hypothesis edition as well
2009-01-14 09:23:51 +00:00
eap
1527eb6887 0019941: EDF 766 SMESH : Max length hypothesis
+  void                         setInitParamsHypothesis(SMESH::SMESH_Hypothesis_ptr);
-  SMESH::SMESH_Hypothesis_var  initParamsHypothesis() const;
+  SMESH::SMESH_Hypothesis_var  initParamsHypothesis(const bool strict=false) const;
2009-01-14 09:22:40 +00:00
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