0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_7 / bug27614
CommitLineData
cba287d6 1puts "TODO OCC27614 ALL: ERROR: OCC27614 is reproduced."
2
3puts "========"
4puts "OCC27614"
5puts "========"
6puts ""
7#################################################
8# Sewing returns result with too high tolerance
9#################################################
10
11set sew_Tol 0.2
12
13restore [locate_data_file bug27614_CC.brep] c
14
15explode c
16sewing result $sew_Tol c_1 c_2
17
18checkshape result
19
20set bug_info [string trim [tolerance result]]
21set max_Tol [lindex $bug_info 1]
22set max_Tol [string trim [string range $max_Tol [expr {[string first "=" $max_Tol] + 1}] [expr {[string length $max_Tol] - 1}]]]
23if {$max_Tol > $sew_Tol} {
24 puts "ERROR: OCC27614 is reproduced. Tolerance of shape is too high: ${max_Tol} (expected: ${sew_Tol})."
25}