0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_6 / bug26910
CommitLineData
45396f87 1puts "============"
2puts "OCC26910"
3puts "============"
4puts ""
5######################################################
6# General fuse does not find intersection between line and circle
7######################################################
8
9restore [locate_data_file bug26910.brep] a
10
11explode a
12bclearobjects
13bcleartools
14baddobjects a_1
15baddtools a_2
16bfillds
17bbuild r
18set a 0
19foreach r [explode r v] {
20 set a [expr $a + 1]
21 }
22if { ${a} != 5 } {
23 puts "Error: ${a} intersections were not found between line and circle"
24} else {
25 puts "Found ${a} intersection between line and circle"
26}
27
28smallview
29fit
30
31checkview -screenshot -2d -path ${imagedir}/${test_image}.png