puts "TODO CR27414 ALL: Error :  is WRONG because number of FACE entities in shape"
puts "TODO OCC27414 ALL: the resulting shape is negative"

restore [locate_data_file bug26917_dom-8092.new_trim2_with_faces.brep] c

# get the shape
explode c
copy c_1 s

offsetparameter 1e-7 c i
offsetload s 10

foreach f [explode c_2 f] {
  offsetonface $f 0
}

foreach f [explode c_3 f] {
  offsetonface $f 9.96195
}

offsetperform result

checkprops result -v 3.01916e+007 -s 2.24322e+006

unifysamedom result_unif result
checknbshapes result_unif -face 280 -shell 1

checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
