0028802: The tolerance reached by approximator is used in creation of an edge, it...
[occt.git] / tests / bugs / modalg_6 / bug27761
CommitLineData
7cb2f409 1puts "========"
2puts "OCC27761"
3puts "========"
4puts ""
5#################################################
6# Intersection loops infinitely
7#################################################
8
9restore [locate_data_file bug27761_c1.brep] c1
10restore [locate_data_file bug27761_c2.brep] c2
11
12bsection result c1 c2
13
14checkshape result
15# approximate theoretical length of the result
ae541252 16checkprops result -l 0.00192624
17
18regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
19if { $nbv != 0 } { puts "Error : Section is incorrect" }
20
21smallview
22don result
23fit
24clear
25disp c1 c2
26disp result
27
28checkview -screenshot -2d -path ${imagedir}/${test_image}.png