1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-11 10:44:53 +03:00
occt/tests/bugs/modalg_2/bug22770_10
ika 93937391be 0026241: Sewing algorithm computes tolerance of joint vertex too rough
Upgrade method of computing vertex tolerance.
Update function, which used the old method.
Test case for issue CR26241
Delete obsolete variables.
Small correction of test cases for issue CR26241
2015-06-18 14:04:52 +03:00

35 lines
815 B
Plaintext
Executable File

puts "================"
puts "OCC22770"
puts "================"
puts ""
#######################################################################################
# Improve comman sewing in DRAW
######################################################################################
set BugNumber OCC22770
restore [locate_data_file 22770-tramp.brep] a
restore [locate_data_file 22770-trans.brep] b
sewing result +t 0.01 a b +mint 0.01 -a
set square 1.88469e+07
checkmaxtol result 0.00087010032709666047
checkfreebounds result 12
set nbshapes_expected "
Number of shapes in shape
VERTEX : 479
EDGE : 748
WIRE : 273
FACE : 259
SHELL : 2
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 1762
"
checknbshapes result -ref ${nbshapes_expected} -t -m "sewing result"
set 3dviewer 1