0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug26513
CommitLineData
80dcde2e 1puts "========"
2puts "OCC26513"
3puts "========"
4puts ""
5###########################################################
6# Offset API not returning result (seems to be "hanging")
7###########################################################
8
9set max_time 10
10
11smallview
12
13restore [locate_data_file bug26513-offset_input.brep] a
14
15offsetparameter 1.e-7 c i
16offsetload a 5
17
18dchrono cr reset
19dchrono cr start
20offsetperform result
21dchrono cr stop
22
23set chrono_info [dchrono cr show]
24regexp {CPU user time: ([-0-9.+eE]+) seconds} $chrono_info full CPU_time
25if { $CPU_time > ${max_time} } {
26 puts "ERROR: OCC26513 is reproduced. Offset operation is too long (> $max_time sec)"
27}
28
29donly result
30fit
31
5747059b 32checkview -screenshot -2d -path ${imagedir}/${test_image}.png