mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-05 11:24:17 +03:00
Upgrade method of computing vertex tolerance. Update function, which used the old method. Test case for issue CR26241 Delete obsolete variables.
35 lines
815 B
Plaintext
Executable File
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
|