From 870722965d377c32bf1a871e16818d7097457061 Mon Sep 17 00:00:00 2001 From: apv Date: Thu, 31 Jul 2014 13:20:05 +0400 Subject: [PATCH] 0023969: It's impossible to display shape in 3dviewer. Wrong displaying in axo. Adding test case --- tests/bugs/xde/bug23969 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tests/bugs/xde/bug23969 diff --git a/tests/bugs/xde/bug23969 b/tests/bugs/xde/bug23969 new file mode 100644 index 0000000000..f6df352eac --- /dev/null +++ b/tests/bugs/xde/bug23969 @@ -0,0 +1,38 @@ +puts "============" +puts "OCC23969" +puts "============" +puts "" +########################################################################## +# It's impossible to display shape in 3dviewer. Wrong displaying in axo. +########################################################################## + +ReadIges D_First [locate_data_file coque-sup.igs] + +XGetOneShape res_1 D_First +vinit +vsetdispmode 1 +vdisplay res_1 +vfit + +set ver_color [vreadpixel 157 104] +if {$ver_color == "0 0 0 0"} { + puts "ERROR: OCC23969 is reproduced" +} +set ver_color [vreadpixel 111 347] +if {$ver_color == "0 0 0 0"} { + puts "ERROR: OCC23969 is reproduced" +} +set ver_color [vreadpixel 252 265] +if {$ver_color == "0 0 0 0"} { + puts "ERROR: OCC23969 is reproduced" +} +set ver_color [vreadpixel 307 77] +if {$ver_color == "0 0 0 0"} { + puts "ERROR: OCC23969 is reproduced" +} +set ver_color [vreadpixel 243 323] +if {$ver_color == "0 0 0 0"} { + puts "ERROR: OCC23969 is reproduced" +} + +set 3dviewer 1 -- 2.39.5