0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode "Compl...
[occt.git] / tests / offset / shape_type_i_c / XB9
CommitLineData
ecf4f17c 1restore [locate_data_file bug26917_dom-8092_simple.brep] s
2
3offsetparameter 1e-7 $calcul $type
4offsetload s 1
5foreach f [explode s f] {
6 mksurface surf $f
7 set found [regexp {Axis :([-0-9.+eE]*), ([-0-9.+eE]*), ([-0-9.+eE]*)} [dump surf] full x y z]
8 if {$found && abs(abs($z) - 1) < 1.e-7} {
9 offsetonface $f 0
10 }
11}
12offsetperform result
13
14checkprops result -v 64.4702
15checkprops result -s 104.508
16
17unifysamedom result_unif result
18checknbshapes result_unif -face 8 -shell 1
19
20checkview -display result_unif -2d -path ${imagedir}/${test_image}.png