Salome HOME
CMake:
[modules/smesh.git] / src / Tools / YamsPlug / doc / editHypo.rst
1 .. _hypothesis-label:
2
3 ===========================
4 How to save MeshGems-SurfOpt Parameters 
5 ===========================
6
7 MeshGems-SurfOpt hypothesis is not a meshing hypothesis for Salome, but an hypothesis for MeshGems-SurfOpt.
8 The current set of parameters is automatically written in the salome study object browser when you run computation.
9
10 Theses parameters could also be stored in a special file.
11 Default file is $HOME/.MGSurfOpt.dat.
12 This ASCII file is appended, and never cleaned.
13
14 In frame "Plug-in Generic Options":
15
16 - To save the current setting in this file, click on "Save" pushbutton.
17 - To load the last set of parameters saved, click on "Load" pushbutton.
18
19 At the bottom of the dialog window:
20   
21 - To save a current setting in the study object browser, click on "Save" pushbutton.
22 - To load a current setting from the study object browser, click on "Load" pushbutton.
23 - To load the default setting, click on "Default" pushbutton. .
24
25
26 **example of .MGSurfOpt.dat**
27
28
29 .. code-block:: python
30
31    # MGSurfOpt hypothesis parameters
32    # Params for mesh : Mesh_1
33    # Date : 23/05/13 14:23:18
34    # Command : mg-surfopt.exe --verbose 3 --chordal_error 0.1 --max_size 0.01 --minsize 0.0 --in /tmp/ForSurfOpt_1.mesh
35    Optimisation=Quality improvement Only (0)
36    Units=Relative
37    ChordalToleranceDeviation=0.1
38    RidgeDetection=True
39    SplitEdge=False
40    PointSmoothing=True
41    GeometricalApproximation=0.04
42    RidgeAngle=45.0
43    MaximumSize=0.01
44    MinimumSize=0.0
45    MeshGradation=1.3
46    Verbosity=3
47    Memory=0
48    
49
50
51
52