From e38148a84089d539f11967ac1ae37b8a376dccb9 Mon Sep 17 00:00:00 2001 From: skv Date: Wed, 20 May 2015 12:24:39 +0300 Subject: [PATCH] 0021173: EDF 1787 GEOM: PipeTShape in meter cannot be built: Doc update --- doc/salome/gui/GEOM/images/tolerances.png | Bin 0 -> 3033 bytes doc/salome/gui/GEOM/input/faq.doc | 1 + .../gui/GEOM/input/size_models_range.doc | 87 ++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 doc/salome/gui/GEOM/images/tolerances.png create mode 100644 doc/salome/gui/GEOM/input/size_models_range.doc diff --git a/doc/salome/gui/GEOM/images/tolerances.png b/doc/salome/gui/GEOM/images/tolerances.png new file mode 100644 index 0000000000000000000000000000000000000000..69b1367672a97c694dd34b0ab15c30a78536cc94 GIT binary patch literal 3033 zcmc&$S5%YP7XHIfVlWVpFd2{%HHiKQC@Kb2OaK8vnob~q6e$@%snH-rjY=pZy-ScH zO(e9?8JdVA25CWIB!UGg0R#jU5fbk2!+pGK-G{r@eL3q}`|R`Ww)WXO*4Ek#iBLiS z0D!bGH?ao*v1SMt!o{EywwSCB0MhvuCWP~0W1q(P*Z56}lC~|$-=CwKB7^11y34R- z-KNKIMYoT?j`s>`wb9kJAhen*==h(QO+}CImg`_3-z^U086knrZ8VM;V2cF-;K)y~ z8w5IeH$08YiT0pMlN{~h$H za=JD)A`FBpQ@s^=s=&e^BuG>$FuWyKi5e98vYd1O+T;>X~P}Z!{3QzUJ*7J5DimZ}! zuF>gMrLwZJYinzQl`k`0LPV;XC6qJOwhLmPDU0$wcIq<>dg>YF@bYj8G7LDKHG)Ik z>?2#Z z)ug7?=N?)kO$(~R=D_6{RKJ2z{ocdtp*~VCYEF@2f}_nP^&F^4Xh6neDils>ufxRU zE#JLXNcM2we?|`Lrxa2{#3(=Vl3?`lAMfnKb7j8ObY$(OEEs}CTc0;Yku_BgB*5{n zvxzcV`7aRTr|Yz8;dr|vH)$bbwj@n6#i-T;H3i-v825>hj0OUH`y}o-%Q54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)JN&)X{*OCaX=@s zILKDJ3sb>EC}-X)S9x*mP49xCB% zYd@mTOiXj_%fej$esP9#tXuVbU`lRo?gLnS-@cWMEa~F`OP=>D(vGL16(e9k5UP=j zD7AWyn98%%PCx=?)y*YWuY_vA+}9fHo#cLw?(F~Fl#W{#i9{NxW-?i3zK`qmg|^n zLEY+bmsmEiJ;ic|tD75Z&ThBZl zhjL^;M7v<9eOe-&2#qPNuYs+i# zc>QE3!V%CmCjrykE0PE4x_GerL6Uc(slo|rU{+vxk({DB2+T~CA=}*QNM(=f*tXj9 z3ia{9eG|$VLc}Ab_hUa3M;ajXO4Je?zvmk|=t(iD9tzr+C`Ne-nz0&!_Xxy#l;6wC zK+g%KN;4d*o5ZwEkpRhk&)}+RYHF&g*@;KwvlGK_FUrG*f1tTSjc_TYmeqY$tVsV< zsJ<=pVC2ZakLUIAo z;i>e`#p(KU`iEc5ZemO-TjnZ8`m5ex!~wIbe%l|cvt+qb=V*r{hn)Fg`}Luby3+*& zsjCFv0dm3lX~~}!d!MY8t`G#8
  • \subpage partition_explanation "What is the difference between partition, compounds and fuse operation ?"
  • +
  • \subpage size_models_range "What are the valid sizes of models ?"
  • diff --git a/doc/salome/gui/GEOM/input/size_models_range.doc b/doc/salome/gui/GEOM/input/size_models_range.doc new file mode 100644 index 000000000..5f77a22e3 --- /dev/null +++ b/doc/salome/gui/GEOM/input/size_models_range.doc @@ -0,0 +1,87 @@ +/*! + +\page size_models_range Sizes of Models in Salome + +\tableofcontents + +This document determines the range of numbers (tolerances, locations +and sizes) that are to be taken into account for any 3D model design +in Salome. Although it is not obligatory to create models within this range, +algorithms can fail or return unexpected result in this case. + +This document refers mainly to Open CASCADE Technology (OCCT). However it +concerns Salome as well as OCCT is a modeling core of Salome %GEOM module. + +Any model in 3D-space has its location and sizes. The last two things in Salome +and OCCT are represented by the double precision floating point numbers. + +The goal of the document is to define the range of numbers that can be used in +modeling algorithms provided by Salome and Open CASCADE Technology. + +\section sec1 Maximal Size of the Model + +The Maximal Size of the model is a number defined as the maximal diameter of +enclosed sphere built for the model. In OCCT any model has a location defined +relative the absolute origin. Thus the maximal diameter above should be built +taking into account the model itself and its location. + +In Open CASCADE there are two tolerances: Tolerance Confusion (TolC) +and Tolerance Angular (TolA) (see OCCT Precision package for more details). +These values are used for geometric comparisons. They are not used inside +low-level algorithms (intersection for e.g.), where more precise values are +used instead. The value TolC guarantees that the error associated with +the computations for given geometric entity is not greater than TolC. + +- TolC - precision value when checking coincidence of two points + [by default 1.e-7]; +- TolA - precision value when checking the equality of two angles + [by default 1.e-12]. + +For more information on tolerance definition please see +Chapter 4 of this document. To see limitations +that are due to modeling errors or inaccuracies of tolerance usage please +refer to Chapter 9.2.2 of the same document. + +To provide robust geometric modeling the computations should be consistent, +i.e. the one tolerance value should be used for all computations. To provide +consistent computations the values TolC and TolA should be consistent: + +
    Smax = TolC / TolA             (1)
    + +\image html tolerances.png "TolC, TolA and Maximal Size Consistency" + +In accordance with (1) the Maximal Size for the Model is [by default]: + +
    Smax = 1.e-7 / 1.e-12 = 1.e+5  (2)
    + +\section sec2 Minimal Size of the Model + +The Minimal Size of the Model is defined as maximal diameter of enclosed +sphere built for the smallest BRep entity of the Model. + +All models in Open CASCADE Technology are represented using double precision +floating point numbers. This representation contains approximately 14-16 +significant digits. + +From the experience of using it is considered that the least four significant +digits contain rounding-off errors occurring during the computation. So +(taking in account the worst cases), there are ten reliable significant digits +for double precision floating point numbers. Having the estimation it is +possible to compute the value of the Minimal size of the model: + +
    Smin=Smax / 1.e+10             (3)
    + +In accordance with (2) for the default value it will be [by default]: + +
    Smin=1.e-5.                    (4)
    + +\section sec3 Full Range of Sizes + +The values Smax (2), Smin (4) are theoretical. Taking into +account the practical purposes of improving the reliability the lower limit +should be restricted by one order. Thus, the full Range of Sizes of the Models +is: + +
    [Smin, Smax] = [1.e-4, 1.e+5]  (5)
    + +*/ -- 2.39.2