0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug28112_1
CommitLineData
f7b60631 1puts "========"
2puts "OCC28112"
3puts "========"
4puts ""
5####################################################################################
6## Exception during offset computation
7####################################################################################
8
9restore [locate_data_file bug28112.brep] s
10
11regexp {Mass +: +([-0-9.+eE]+)} [lprops s 1.e-4] full s_len
12regexp {Mass +: +([-0-9.+eE]+)} [sprops s 1.e-4] full s_area
13
14for {set i -5} {$i <= 5} {incr i} {
15 set offsetvalue [expr 6. * $i]
16 offsetshapesimple result s ${offsetvalue}
17
18 checkshape result
19 checkprops result -l ${s_len}
20 checkprops result -s ${s_area}
21 checknbshapes result -vertex 12 -edge 15 -face 3
22}