From a987c2f4842fdedc0670e29c68d743e95fa1bcc2 Mon Sep 17 00:00:00 2001 From: mkv Date: Mon, 7 Jul 2014 16:06:00 +0400 Subject: [PATCH] 0022978: Shading for a pipe shape is wrong Test case for issue CR22978 --- tests/bugs/modalg_5/bug22978 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 tests/bugs/modalg_5/bug22978 diff --git a/tests/bugs/modalg_5/bug22978 b/tests/bugs/modalg_5/bug22978 new file mode 100755 index 0000000000..fcbb0e1dbd --- /dev/null +++ b/tests/bugs/modalg_5/bug22978 @@ -0,0 +1,21 @@ +puts "============" +puts "OCC22978" +puts "============" +puts "" +####################################################################### +# Shading for a pipe shape is wrong +####################################################################### + +restore [locate_data_file bug22978_1.brep] c1 +restore [locate_data_file bug22978_2.brep] c2 + +pipe result c1 c2 + +vinit +vsetdispmode 1 +vdisplay result +vfit + +set square 493480 + +set only_screen 1