0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug26010
CommitLineData
97f3106c 1puts "============"
2puts "OCC26010"
3puts "============"
4puts ""
5#######################################################################
6# [OCCT 6.8.0 regression] BRepFeat_SplitShape returns invalid shapes
7#######################################################################
8
9restore [locate_data_file bug26010_splitnoproblem671.brep] s
10
11explode s
12whatis s_1
13whatis s_2
14
15settolerance s_1 1e-5
16
17splitshape result s s_2 s_1
18
19whatis result
20
21set result_length [ llength [explode result] ]
22if { ${result_length} != 3} {
23 puts "Error: shape number is wrong"
24}
25
26checkshape result_1
27checkshape result_2
28checkshape result_3
29
30vinit
31vdisplay result_1
32vdisplay result_2
33vdisplay result_3
34
5747059b 35checkview -screenshot -3d -path ${imagedir}/${test_image}.png