0024463: BRepAlgo_Section::Build hangs
[occt.git] / tests / bugs / modalg_5 / bug24107
CommitLineData
6f005d2a 1puts "================"
2puts "OCC24107"
3puts "================"
4puts ""
5#######################################################################
6# BRepAlgo::ConcatenateWireC0 method doesn't work on a translated wire
7#######################################################################
8
9restore [locate_data_file bug24107_wire.brep] w
10
11concatC0wire result w
12
13checkshape result
14
15set tolmax_w [tolmax w]
16regexp {max tol = ([-0-9.+eE]+)} ${tolmax_w} full CMP_TOL
17
18set tolmax_result [tolmax result]
19regexp {max tol = ([-0-9.+eE]+)} ${tolmax_result} full MaxTolerance
20
21if { ${MaxTolerance} > [expr 2 * ${CMP_TOL}] } {
22 puts "Error: invalid tolerance of result wire"
23}