1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_6/bug27159
jgv 0285a40010 0027159: Section between two faces is lost
Minor correction of test case

Another small correction of test case

One more correction of test case
2016-02-20 18:43:47 +03:00

32 lines
815 B
Plaintext

puts "============"
puts "OCC27159"
puts "============"
puts ""
#######################################################################
# Section between two faces is lost
#######################################################################
smallview
set expected_MaxTolerance 5.00000e-006
set tol_abs_MaxTolerance 1.e-07
set tol_rel_MaxTolerance 1.e-07
restore [locate_data_file bug27159_f1f2.brep] a
explode a
bop a_1 a_2
bopsection res
donly res
fit
donly a_1 a_2 res
checknbshapes res -vertex 2 -edge 1 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 4
checkshape res
regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance res] full MaxTolerance
checkreal "MaxTolerance" ${MaxTolerance} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
checkprops res -l 0.0100036