0024417: BRepAlgoAPI_Section fails on attached shapes
[occt.git] / tests / bugs / vis / bug20373
CommitLineData
3bea4c16 1puts "============"
2puts "OCC20373"
3puts "============"
4puts ""
5#######################################################################
6# Shading doesn't work on b-spline sphere
7#######################################################################
8
9set BugNumber OCC20373
10
11restore [locate_data_file OCC20373.brep] result
12
13vinit
14vdisplay result
15vsetdispmode 1
16vfit
17
18set tri_info [trinfo result]
19regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
20regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
21
22puts [format " tri= %s noe= %s " $tri $nod]
23
24# Resume
25puts ""
26if { ${tri} == 0 } {
27 puts "Faulty ${BugNumber}"
28} else {
29 puts "OK ${BugNumber}"
30}
31
32set square 9.92128e+06
33set 3dviewer 1
34