0027532: Errors on reading stp-file
[occt.git] / tests / bugs / modalg_6 / bug27263
CommitLineData
16423f20 1puts "================"
2puts "OCC27263"
3puts "================"
4puts ""
5#######################################################################
6# Regression vs 6.9.1: Exception is raised during intersection of two faces
7#######################################################################
8
9set MaxTol 1.e-7
10set GoodNbCurv 1
11
12restore [locate_data_file bug27262_cmpd.brep] b
13explode b
14
15smallview
16explode b_1 f
17don b_1_27 b_2
18fit
19
20set log [bopcurves b_1_27 b_2 -2d]
21
22regexp {Tolerance Reached=+([-0-9.+ee]+)\n+([-0-9.+ee]+)} ${log} full Toler NbCurv
23
24if {${Toler} > ${MaxTol}} {
25 puts "Error: Tolerance is too big!"
26}
27
28if {${NbCurv} != ${GoodNbCurv}} {
29 puts "Error: Curve Number is bad!"
30}
31
73e5a645 32checklength c_1 -l 2.9620641619623407
16423f20 33
34checkview -screenshot -2d -path ${imagedir}/${test_image}.png