1puts "========"
2puts "OCC28585"
3puts "========"
4puts ""
5#################################################
6# Wrong value of area computation
7#################################################
8
9# The face in Steps To Reproduce is based on infinite planar surface.
10# If we convert this surface to trimmed planar surface then
11# the area of obtained face will be significantly different from source one.
12
13restore [locate_data_file bug28589.brep] result
14mksurface ss result
15trim ss ss -1000 1000 -1000 1000
16explode result w
17mkface f1 ss result_1
18fixshape f1 f1
19
20
21# Before fix: 349.112
22checkprops result -s 253.417
23
24# Before fix: 253.417
25checkprops f1 -s 253.417
26
27checkview -display result -2d -path ${imagedir}/${test_image}.png
28