0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / step / pro20362
CommitLineData
0e94a94e 1puts "========================"
2puts "PRO20362"
3puts "========================"
4
5stepread [locate_data_file PRO20362.stp] a *
6
7explode a_1 f
8renamevar a_1 result
9
352ffd73 10checkshape a_1_1
11checkshape a_1_1 r
0e94a94e 12
13set l [explode a_1_1 e]
14set n [llength $l]
15if { $n != 4 } {
16 puts "Error : The amount of edges in FIRST face is more than four"
17}
18
352ffd73 19checkshape a_1_2
20checkshape a_1_2 r
0e94a94e 21
22set i [explode a_1_2 e]
23set m [llength $i]
24if { $m != 4 } {
25 puts "Faulty : The amount of edges in SECOND face is more than four"
26}
27
28set 2dviewer 0