Salome HOME
Merge from V6_main 12/11/2012
[modules/smesh.git] / src / Tools / YamsPlug / doc / editHypo.rst
1 .. _hypothesis-label:
2
3 ===========================
4 How to save Yams Parameters 
5 ===========================
6
7 As Yams hypothesis are not meshing hypothesis for Salome (but hypothesis for yams), parameters
8 are stored in a special file. Default file is $HOME/.yams.dat. It is strongly recommended that you
9 change this name if you want to preserve the way you obtain a mesh : This file is never cleaned.
10 All sets of parameters are logged in it.
11
12
13 - To save the current setting, click on "Save Params" pushbutton. 
14 - A set of parameters is automatically written in the .yams.dat file when you run computation.  
15 - Restoring the default settings can be done by pushing "Default Params". 
16 - "Loading Params" will reload the last set of parameters
17
18
19
20 **example of .yams.dat**
21
22
23 .. code-block:: python
24
25    # Save intermediate params
26    # Params for mesh :
27    Optimisation ='Quality improvement Only (0)'
28    Units ='Relative'
29    Chordal_Tolerance_Deviation=1.0
30    Ridge_Detection=True
31    Split_Edge=False
32    Point_Smoothing=True
33    Geometrical_Approximation=0.04
34    Ridge_Angle=45.0
35    Maximum_Size=-2.0
36    Minimum_Size=-2.0
37    Mesh_Gradation=1.3
38    Verbosity=3
39    Memory=0
40    
41    
42    
43    # Params for Hypothese : monHypo_Yams_0
44    # Params for mesh : Mesh_1
45    Optimisation ='Quality improvement Only (0)'
46    Units ='Relative'
47    Chordal_Tolerance_Deviation=1.0
48    Ridge_Detection=True
49    Split_Edge=False
50    Point_Smoothing=True
51    Geometrical_Approximation=0.04
52    Ridge_Angle=45.0
53    Maximum_Size=-2.0
54    Minimum_Size=-2.0
55    Mesh_Gradation=1.3
56    Verbosity=3
57    Memory=0
58
59
60