0023062: Incorrect display of edge in draw axo viewer
[occt.git] / tests / bugs / vis / buc60858
CommitLineData
352ffd73 1puts "============"
2puts "BUC60858"
3puts "============"
4puts ""
5######################################################################
6## When I gave command "vdisplay a" , where a is shape restored from attached file.DRAW crashes
7## with segmentation fault. Exception is raised in the file BRepMesh/triangle.cxx.
8######################################################################
9
10restore [locate_data_file BUC60858.brep] result
11
12tclean result
13isos 0
14vinit
15incmesh result 0.01
16vdisplay result
17vfit
18
19vclear
20vdisplay result
21vsetdispmode result 1
22
23isos result 0
24triangles result
25
26set info [trinfo result]
27regexp { +([-0-9.+eE]+) +triangles} $info full tr
28regexp { +([-0-9.+eE]+) +nodes} $info full nd
29
30if { $tr == 0 || $nd == 0 } {
31 puts "Error : here is shading problem"
32}
33
34set 3dviewer 1
35
36
37