X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FYamsPlug%2Fdoc%2FeditHypo.rst;h=3ed332ecd023f29861d34453702ff8457593490f;hb=ec94d246d711c4bfca5f905f69f311f171d9c2b8;hp=414d8ad0da7facd967f452e1eee03f6e6908fd4e;hpb=1067ffa6e7e5c394e3a1b17219d8b355a57607cd;p=modules%2Fsmesh.git diff --git a/src/Tools/YamsPlug/doc/editHypo.rst b/src/Tools/YamsPlug/doc/editHypo.rst index 414d8ad0d..3ed332ecd 100644 --- a/src/Tools/YamsPlug/doc/editHypo.rst +++ b/src/Tools/YamsPlug/doc/editHypo.rst @@ -1,60 +1,52 @@ .. _hypothesis-label: -=========================== -How to save Yams Parameters -=========================== +======================================= +How to save MeshGems-SurfOpt Parameters +======================================= -As Yams hypothesis are not meshing hypothesis for Salome (but hypothesis for yams), parameters -are stored in a special file. Default file is $HOME/.yams.dat. It is strongly recommended that you -change this name if you want to preserve the way you obtain a mesh : This file is never cleaned. -All sets of parameters are logged in it. +MeshGems-SurfOpt hypothesis is not a meshing hypothesis for Salome, but an hypothesis for MeshGems-SurfOpt. +The current set of parameters is automatically written in the Salome study object browser when you run computation. +These parameters could also be stored in a special file. +Default file is $HOME/.MGSurfOpt.dat. +This ASCII file is appended, and never cleaned. -- To save the current setting, click on "Save Params" pushbutton. -- A set of parameters is automatically written in the .yams.dat file when you run computation. -- Restoring the default settings can be done by pushing "Default Params". -- "Loading Params" will reload the last set of parameters +In frame "Plug-in Generic Options": +- To save the current setting in this file, click on "Save" pushbutton. +- To load the last set of parameters saved, click on "Load" pushbutton. +At the bottom of the dialog window: + +- To save a current setting in the study object browser, click on "Save" pushbutton. +- To load a current setting from the study object browser, click on "Load" pushbutton. +- To load the default setting, click on "Default" pushbutton. . -**example of .yams.dat** + +**example of .MGSurfOpt.dat** .. code-block:: python - # Save intermediate params - # Params for mesh : - Optimisation ='Quality improvement Only (0)' - Units ='Relative' - Chordal_Tolerance_Deviation=1.0 - Ridge_Detection=True - Split_Edge=False - Point_Smoothing=True - Geometrical_Approximation=0.04 - Ridge_Angle=45.0 - Maximum_Size=-2.0 - Minimum_Size=-2.0 - Mesh_Gradation=1.3 - Verbosity=3 - Memory=0 - - - - # Params for Hypothese : monHypo_Yams_0 + # MGSurfOpt hypothesis parameters # Params for mesh : Mesh_1 - Optimisation ='Quality improvement Only (0)' - Units ='Relative' - Chordal_Tolerance_Deviation=1.0 - Ridge_Detection=True - Split_Edge=False - Point_Smoothing=True - Geometrical_Approximation=0.04 - Ridge_Angle=45.0 - Maximum_Size=-2.0 - Minimum_Size=-2.0 - Mesh_Gradation=1.3 + # Date : 23/05/13 14:23:18 + # Command : mg-surfopt.exe --verbose 3 --chordal_error 0.1 --max_size 0.01 --minsize 0.0 --in /tmp/ForSurfOpt_1.mesh + Optimisation=Quality improvement Only (0) + Units=Relative + ChordalToleranceDeviation=0.1 + RidgeDetection=True + SplitEdge=False + PointSmoothing=True + GeometricalApproximation=0.04 + RidgeAngle=45.0 + MaximumSize=0.01 + MinimumSize=0.0 + MeshGradation=1.3 Verbosity=3 Memory=0 + +