0026342: No materials are read from STEP
[occt.git] / tests / bugs / vis / bug331
CommitLineData
a87752f3 1 puts "========================"
2puts " OCC331 "
3puts "========================"
4puts ""
5#######################################################
6## Dark spot on a sphere after nurbsconvert
7#######################################################
8
9box b -5 -5 -5 10 10 10
10psphere s 6
11
12bfuse res s b
13
14nurbsconvert result res
15
16tclean result
17vinit
18vdisplay result
19vfit
20vsetdispmode result 1
21vfit
22
23set tri 0
24set nod 0
25set info [trinfo result]
26regexp { +([-0-9.+eE]+) +triangles} $info full tri
27regexp { +([-0-9.+eE]+) +nodes} $info full nod
28puts [format " tri= %s nod= %s " $tri $nod]
29
30if { $tri != 3808 && $nod != 2188} {
31 puts " OCC331: Looks like OK, but visual checking is required!!!"
32} else {
33 puts " OCC331: Faulty - Dark spot on a sphere after nurbsconvert"
34}
35
36
37set only_screen 1
38
39