0023576: Intersection algorithm produces trimmed circle with illegal parametric range.
[occt.git] / tests / bugs / vis / bug344
CommitLineData
a87752f3 1puts "================"
2puts "BUC61047"
3puts "OCC344"
4puts "================"
5puts ""
6
7#############################################
8## An exception - <access violation> is raised during visualization.
9#############################################
10
11restore [locate_data_file OCC344.brep] result
12puts [checkshape result]
13tclean result
14
15vinit
16vdisplay result
17vsetdispmode result 1
18vfit
19vclear
20isos result 0
21triangles result
22
23set info [trinfo result]
24regexp { +([-0-9.+eE]+) +triangles} $info full tri
25regexp { +([-0-9.+eE]+) +nodes} $info full nod
26
27if { $tri == 9 && $nod == 8 } {
28 puts "Warning OCC344: here is shading problem"
29} else {
30 puts "Shading of OCC344 looks like OK, but visual checking is required"
31}
32
f1aa2b62 33set 3dviewer 1
34
a87752f3 35
36