]> OCCT Git - occt.git/commitdiff
0032452: Data Exchange - IGES reader returns invalid shapes if xstep.cascade.unit...
authorichesnok <ichesnok@opencascade.com>
Thu, 2 Dec 2021 11:40:35 +0000 (14:40 +0300)
committersmoskvin <smoskvin@opencascade.com>
Thu, 16 Dec 2021 16:26:41 +0000 (19:26 +0300)
Fixed documentation in 'IGES Translator' and 'STEP Translator' sections (description of the read.maxprecision.val parameter).

dox/user_guides/iges/iges.md
dox/user_guides/step/step.md

index 3d2323e1d96299fd6be296269b09349a3ae6e233..1db3f4dec86f0a1dd8014f6afd4cb76cf3938a82 100644 (file)
@@ -165,7 +165,9 @@ if  (!Interface_Static::SetIVal ("read.maxprecision.mode",1))
 Default value is  *Preferred (0)*.  
 
 <h4>read.maxprecision.val</h4>
-defines the maximum  allowable tolerance (in mm) of the shape. It should be not less than the basis  value of tolerance set in processor (either Resolution from the file or  *read.precision.val*). Actually, the maximum between *read.maxprecision.val* and  basis tolerance is used to define maximum allowed tolerance.  
+defines the maximum  allowable tolerance (in internal units, which are specified in xstep.cascade.unit) of the shape.
+It should be not less than the basis  value of tolerance set in processor (either Resolution from the file or  *read.precision.val*).
+Actually, the maximum between *read.maxprecision.val* and  basis tolerance is used to define maximum allowed tolerance.  
 Read this parameter  with:  
 ~~~~{.cpp}
 Standard_Real rp =  Interface_Static::RVal("read.maxprecision.val"); 
index 0ceccc12c964c26af97fb76ca3050650bd246e0e..9ea4dc7f449bd7872bac55479cccb452dc41524f 100644 (file)
@@ -182,7 +182,9 @@ By default this value is 0.0001.
 The value given to this parameter is a basic value for ShapeHealing algorithms and the processor. It does its best to reach it. Under certain circumstances, the value you give may not be attached to all of the entities concerned at the end of processing. STEP-to-OpenCASCADE translation does not improve the quality of the geometry in the original STEP file. This means that the value you enter may be impossible to attach to all shapes with the given quality of the geometry in the STEP file. 
 
 <h4>read.maxprecision.val</h4>
-Defines the maximum allowed tolerance (in mm) of the shape. It should be not less than the basic value of tolerance set in the processor (either the uncertainty from the file or *read.precision.val*). Actually, the maximum between *read.maxprecision.val* and the basis tolerance is used to define the maximum allowed tolerance. 
+Defines the maximum allowed tolerance (in internal units, which are specified in xstep.cascade.unit) of the shape.
+It should be not less than the basic value of tolerance set in the processor (either the uncertainty from the file or *read.precision.val*).
+Actually, the maximum between *read.maxprecision.val* and the basis tolerance is used to define the maximum allowed tolerance. 
 
 Read this parameter with: 
 ~~~~{.cpp}