0028493: [Regression vs 7.0.0] Intersection algorithm produces curve with loop
[occt.git] / tests / lowalgos / intss / bug25465_2
CommitLineData
e8feb725 1puts "========"
2puts "OCC25465"
3puts "========"
4puts ""
5################################################
6# Excess vertex in the result of CUT operation
7################################################
8
9restore [locate_data_file OCC25465_t_boite1.brep] b1
10restore [locate_data_file OCC25465_c_cyl.brep] b2
11
12explode b1 f
13explode b2 f
14set bug_info [bopcurves b1_6 b2_1]
15bop b1 b2
16bopcut result
17
a4eba920 18# It is strictly forbidden to change reference values of vertexes and edges (see OCC25465)
19checknbshapes result -vertex 13 -edge 20 -wire 11 -face 8 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 55
e8feb725 20if {[lindex $bug_info 2] != 2} {
21 puts "ERROR: OCC25465 is reproduced."
22}