0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / modalg_2 / bug535
CommitLineData
352ffd73 1#INTERFACE IGES
2puts "======="
3puts "OCC535"
4puts "======="
5puts ""
6#############################################################
7## After command "fixshape" in DRAW on attached shape quantity of shapes obtained
8## with help command "nbs" is increased.
9#############################################################
10
11pload XDE
352ffd73 12
13restore [locate_data_file OCC535.brep] a
14
15set nb_info_a [nbshapes a]
16regexp {SHAPE +: +([-0-9.+eE]+)} $nb_info_a full r1
17
18fixshape result a
19
20set nb_info_res [nbshapes result]
21regexp {SHAPE +: +([-0-9.+eE]+)} $nb_info_res full r2
22
23puts ""
24puts [format "before Shapes = %s after Shapes = %s" $r1 $r2]
25puts ""
26
27if { $r1 == $r2 } {
28 puts "OCC535 OK"
29} else {
30 puts "OCC535 Faulty"
31}
32
58cf74e0 33checkprops result -s 3554.31
34checkshape result
5747059b 35checkview -display result -2d -path ${imagedir}/${test_image}.png