Commit | Line | Data |
---|---|---|
c15398ab RL |
1 | puts "============" |
2 | puts "OCC23943" | |
3 | puts "============" | |
4 | puts "" | |
5 | ####################################################################### | |
6 | # OCC fails to work with offset surfaces with singularities | |
7 | ####################################################################### | |
8 | ||
9 | set BugNumber OCC23943 | |
10 | ||
11 | pload XDE | |
12 | ||
13 | restore [locate_data_file bug23943_b.brep] s | |
14 | ||
15 | fixshape result s | |
16 | checkshape result | |
17 | ||
18 | regexp {EDGE +: +([-0-9.+eE]+)} [numshapes s] full EDGE_num_s | |
19 | ||
20 | regexp {EDGE +: +([-0-9.+eE]+)} [numshapes result] full EDGE_num_result | |
21 | ||
22 | if {${EDGE_num_result} != ${EDGE_num_s} || ${EDGE_num_result} == 0} { | |
23 | puts "Faulty ${BugNumber}" | |
24 | } else { | |
25 | puts "OK ${BugNumber}" | |
26 | } | |
27 | ||
5747059b | 28 | checkview -display result -2d -path ${imagedir}/${test_image}.png |