Salome HOME
5ab05f374bdd07cf5c11aea601f9bfeadbd6ea2e
[modules/smesh.git] / src / Tools / MGCleanerPlug / doc / editHypo.rst
1 .. _hypothesis-label:
2
3 ===========================
4 How to save MG-Cleaner Parameters 
5 ===========================
6
7 MG-Cleaner hypothesis is not meshing hypothesis for Salome, but hypothesis for MG-Cleaner.
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/.MGCleaner.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 .MGCleaner.dat**
27
28
29 .. code-block:: python
30
31    # MGCleaner hypothesis parameters
32    # Params for mesh : Mesh_1
33    # Date : 21/05/13 10:44:05
34    # Command : mg-cleaner.exe --verbose 2 --in /tmp/ForMGCleaner_2.mesh --out /tmp/ForMGCleaner_2_fix.mesh --check --topology ignore --tolerance_displacement 0.0 --folding_angle 15.0 --overlap_angle 15.0
35    CheckOrFix=check
36    PreserveTopology=False
37    FillHoles=False
38    MinHoleSize=0.0
39    ComputedToleranceDisplacement=True
40    ToleranceDisplacement=0.0
41    ComputedResolutionLength=False
42    ResolutionLength=0.0
43    FoldingAngle=15.0
44    RemeshPlanes=False
45    ComputedOverlapDistance=True
46    OverlapDistance=0.0
47    OverlapAngle=15.0
48    Verbosity=2
49
50