0031542: Modeling Algorithms - Offset algorithm produces incomplete result in mode...
[occt.git] / tests / offset / shape_type_i_c / YL2
CommitLineData
b6725456 1restore [locate_data_file bug28473_input.brep] s
2
3offsetparameter 1e-7 c i r
4offsetload s 10
5
6foreach f [explode s f] {
7 mksurface surf $f
8 set found [regexp {Axis :([-0-9.+eE]*), ([-0-9.+eE]*), ([-0-9.+eE]*)} [dump surf] full x y z]
9 if {$found == 0} {
10 continue
11 }
12 # set offset value for top faces only
13 if {abs($z + 1) < 1.e-7 } {
14 offsetonface $f 15
15 }
16}
17offsetperform result
18
19checkprops result -v 1.62264e+008 -s 2.94663e+006
20
21unifysamedom result_unif result
22checknbshapes result_unif -face 25 -shell 1
23
24checkview -display result_unif -2d -path ${imagedir}/${test_image}.png