mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
Documentation - Fix various typos found in codebase #350
This commit is contained in:
@@ -17,7 +17,7 @@ mkplane fa wa
|
||||
prism ba fa 0 0 4
|
||||
|
||||
# prism from bottom
|
||||
# chenge of wire construction order
|
||||
# change of wire construction order
|
||||
|
||||
vertex v5 2 0 0
|
||||
vertex v6 3 0 0
|
||||
|
@@ -67,7 +67,7 @@ set half_time2 [lindex [time {
|
||||
} 20] 0]
|
||||
puts "Second half of document open time $half_time2 mcs"
|
||||
|
||||
# Check that open of two halfs of the document separately is not too much slower than open of the whole
|
||||
# Check that opening of two halves of the document separately is not too much slower than opening of the whole
|
||||
if { [expr ($half_time1 + $half_time2) * 0.9] > $whole_time } {
|
||||
puts "Error : loading of half of the document content is too slow relatively to the whole document load"
|
||||
}
|
||||
|
@@ -18,5 +18,5 @@ regexp {([-0-9.+eE]+)$} [dump d_val] full dist
|
||||
set good_dist 0
|
||||
set toler 2.0e-06
|
||||
if { [expr abs( ${dist} - ${good_dist} )] > ${toler} } {
|
||||
puts "Faulty : the distanse is ${dist}. It is bad value"
|
||||
puts "Faulty : the distance is ${dist}. It is bad value"
|
||||
}
|
||||
|
@@ -20,7 +20,7 @@ regexp {([-0-9.+eE]+)$} [dump $di_val] full dis
|
||||
if { [expr $dis > 1.e-5] } {
|
||||
puts "Faulty : Result shape is WRONG !!!"
|
||||
} else {
|
||||
puts " Result shape is COMPLITE"
|
||||
puts " Result shape is COMPLETE"
|
||||
}
|
||||
|
||||
checknbshapes result -vertex 14 -edge 7
|
||||
|
@@ -20,7 +20,7 @@ regexp {([-0-9.+eE]+)$} [dump $di_val] full dis
|
||||
if { [expr $dis > 1.e-5] } {
|
||||
puts "Faulty : Result shape is WRONG !!!"
|
||||
} else {
|
||||
puts " Result shape is COMPLITE"
|
||||
puts " Result shape is COMPLETE"
|
||||
}
|
||||
|
||||
checknbshapes result -vertex 14 -edge 7
|
||||
|
@@ -9,11 +9,11 @@ puts ""
|
||||
restore [locate_data_file bug27240_vent2-trim.brep] b
|
||||
explode b
|
||||
|
||||
# workaround - increate the tolerance value of the vertex to fill the gap between section curves
|
||||
# workaround - increase the tolerance value of the vertex to fill the gap between section curves
|
||||
explode b_1 v
|
||||
settolerance b_1_1 0.005
|
||||
|
||||
# workaround - increate the tolerance value of the edge to fill the gap between section curves
|
||||
# workaround - increase the tolerance value of the edge to fill the gap between section curves
|
||||
explode b_2 e
|
||||
settolerance b_2_5 0.0005
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
puts "================================"
|
||||
puts "0033179: Modeling Algorithms - Crash in in ShapeFix_Shape with the attached object, when healing for fixing SameParameterFlag"
|
||||
puts "0033179: Modeling Algorithms - Crash in ShapeFix_Shape with the attached object, when healing for fixing SameParameterFlag"
|
||||
puts "================================"
|
||||
|
||||
restore [locate_data_file bug33179.brep] s
|
||||
|
@@ -1,5 +1,5 @@
|
||||
puts "================================"
|
||||
puts " 0033515: Modeling Algorithm - BRepExtrema_DistShapeShape poduces wrong result"
|
||||
puts " 0033515: Modeling Algorithm - BRepExtrema_DistShapeShape produces wrong result"
|
||||
puts "================================"
|
||||
|
||||
restore [locate_data_file bug33515_w1.brep] w1
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# Check performance of STEPCAFControl_Reader/Writer constructors in multithreading environment.
|
||||
# If no crash occures, its fine.
|
||||
# If no crash occurs, its fine.
|
||||
pload QAcommands
|
||||
OCC33657_1
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# Check performance of STEPControl_Reader in multithreading environment.
|
||||
# If no crash occures, its fine.
|
||||
# If no crash occurs, its fine.
|
||||
pload QAcommands
|
||||
OCC33657_2 [locate_data_file bug21802_as1-oc-214.stp]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# Check performance of STEPControl_Writer in multithreading environment.
|
||||
# If no crash occures, its fine.
|
||||
# If no crash occurs, its fine.
|
||||
pload QAcommands
|
||||
OCC33657_1
|
||||
|
@@ -12,11 +12,11 @@ set file ${imagedir}/OCC816.stp
|
||||
restore [locate_data_file OCC816-apple.rle] result
|
||||
|
||||
if [ catch { brepiges result $file } res ] {
|
||||
puts "Faulty OCC816 : brepiges not complite"
|
||||
puts "Faulty OCC816 : brepiges not complete"
|
||||
}
|
||||
|
||||
if [ catch { igesbrep $file a *} res ] {
|
||||
puts "Faulty OCC816 : igesbrep not complite"
|
||||
puts "Faulty OCC816 : igesbrep not complete"
|
||||
}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@@ -12,11 +12,11 @@ set file ${imagedir}/OCC816.stp
|
||||
restore [locate_data_file OCC816-lemon.rle] result
|
||||
|
||||
if [ catch { brepiges result $file } res ] {
|
||||
puts "Faulty OCC816 : brepiges not complite"
|
||||
puts "Faulty OCC816 : brepiges not complete"
|
||||
}
|
||||
|
||||
if [ catch { igesbrep $file a *} res ] {
|
||||
puts "Faulty OCC816 : igesbrep not complite"
|
||||
puts "Faulty OCC816 : igesbrep not complete"
|
||||
}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
puts "caf009-A1"
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# Create binary document
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
puts "caf009-A2"
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# Create binary document
|
||||
|
@@ -10,7 +10,7 @@ puts "caf009-B1"
|
||||
|
||||
set bDoc [CreateBinDoc]
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# Open binary document
|
||||
|
@@ -10,7 +10,7 @@ puts "caf009-B2"
|
||||
|
||||
set xDoc [CreateXmlDoc]
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# Open xml document
|
||||
|
@@ -21,7 +21,7 @@ Open ${bDoc} Doc
|
||||
box b 1 1 1
|
||||
SetShape Doc 0:2 b
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# Save
|
||||
|
@@ -21,7 +21,7 @@ Open ${xDoc} Doc
|
||||
box b 1 1 1
|
||||
SetShape Doc 0:2 b
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# Save
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
set filename buc40130.igs
|
||||
|
||||
# set min as local lenght unit
|
||||
# set min as local length unit
|
||||
set lengthunit_start "min"
|
||||
|
||||
set ref_data {
|
||||
|
@@ -4,7 +4,7 @@ puts "TODO CR23096 ALL: LABELS : Faulty"
|
||||
|
||||
set filename t500core.igs
|
||||
|
||||
# set min as local lenght unit
|
||||
# set min as local length unit
|
||||
set lengthunit_start "min"
|
||||
|
||||
set ref_data {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
set filename ardi1.igs
|
||||
|
||||
# set in as local lenght unit
|
||||
# set in as local length unit
|
||||
set lengthunit_start "in"
|
||||
|
||||
set ref_data {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# !!!! This file is generated automatically, do not edit manually! See end script
|
||||
set filename waaier_para.igs
|
||||
|
||||
# set min as local lenght unit
|
||||
# set min as local length unit
|
||||
set lengthunit_start "min"
|
||||
|
||||
set ref_data {
|
||||
|
@@ -4,7 +4,7 @@ puts "TODO CR23096 ALL: TOLERANCE : Faulty"
|
||||
|
||||
set filename tr9_r0501-ug.stp
|
||||
|
||||
# set in as local lenght unit
|
||||
# set in as local length unit
|
||||
set lengthunit_start "in"
|
||||
|
||||
set ref_data {
|
||||
|
@@ -16,7 +16,7 @@ trotate e3 0 0 0 0 0 1 90
|
||||
tcopy e3 e4
|
||||
ttranslate e4 2 0 0
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# create the surface
|
||||
|
@@ -12,7 +12,7 @@ mkedge e3 c2
|
||||
tcopy e3 e4
|
||||
ttranslate e4 2 0 0
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# create the surface
|
||||
|
@@ -23,7 +23,7 @@ for {set j 0} {$j < 301} {incr j; incr i} {
|
||||
lappend points p$i
|
||||
}
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# create the surface
|
||||
|
@@ -10,7 +10,7 @@ for {set i 0} {$i < $n} {incr i} {
|
||||
lappend l p$i
|
||||
}
|
||||
|
||||
# Configurate XProgress
|
||||
# Configure XProgress
|
||||
XProgress +t
|
||||
|
||||
# create the surface
|
||||
|
@@ -27,15 +27,15 @@ vmanipulator m -stopTransform
|
||||
vmoveto {*}$mouse_drag
|
||||
|
||||
if { [vreadpixel {*}$mouse_drag -rgb -name] != "CYAN" } { puts "Error: wrong manipulator position" }
|
||||
if { [vreadpixel 115 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 tranformation" }
|
||||
if { [vreadpixel 400 10 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 tranformation" }
|
||||
if { [vreadpixel 115 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 transformation" }
|
||||
if { [vreadpixel 400 10 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 transformation" }
|
||||
|
||||
vdump ${imagedir}/${casename}_1.png
|
||||
|
||||
vmoveto 0 0
|
||||
vzoom 0.2
|
||||
|
||||
if { [vreadpixel 210 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 tranformation" }
|
||||
if { [vreadpixel 310 120 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 tranformation" }
|
||||
if { [vreadpixel 210 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 transformation" }
|
||||
if { [vreadpixel 310 120 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 transformation" }
|
||||
|
||||
vdump ${imagedir}/${casename}_2.png
|
||||
|
Reference in New Issue
Block a user