1 puts "================"
2 puts "OCC251: Section of two faces f1 and f2 depends on order of arguments: section r1 f1 f2 and section r2 f2 f1 give different results, one of result is invalid - overlapped edges."
3 puts "================"
6 restore [locate_data_file OCC251.brep] f
11 bsection result f_1 f_2
14 foreach a [explode result e] {
15 foreach b [explode result e] {
16 if { ![regexp {not} [compare b_1 n_1]] } {
20 set coe [checkoverlapedges e1 e2 5.0e-5]
22 puts "$a <-> $b: $coe"
23 if { [regexp "Edges is not overlaped" $coe] != 1 } {
24 puts "Error: $a and $b are overlaped"
29 checkprops result -l 1.
31 checksection result -r 2
37 checkview -screenshot -2d -path ${imagedir}/${test_image}.png