From de6f281fe9485c9fb69bcdd2fb86d0b9e78c949b Mon Sep 17 00:00:00 2001 From: mkv Date: Wed, 8 Oct 2014 20:41:47 +0400 Subject: [PATCH] 0023886: Visualizing planar faces with "notches" depends heavily on the deflection coefficient Test cases for issue CR23886 --- tests/bugs/vis/bug23886_1 | 24 ++++++++++++++++++++++++ tests/bugs/vis/bug23886_2 | 24 ++++++++++++++++++++++++ tests/bugs/vis/bug23886_3 | 24 ++++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100755 tests/bugs/vis/bug23886_1 create mode 100755 tests/bugs/vis/bug23886_2 create mode 100755 tests/bugs/vis/bug23886_3 diff --git a/tests/bugs/vis/bug23886_1 b/tests/bugs/vis/bug23886_1 new file mode 100755 index 0000000000..32b650a155 --- /dev/null +++ b/tests/bugs/vis/bug23886_1 @@ -0,0 +1,24 @@ +puts "============" +puts "CR23886" +puts "============" +puts "" +######################################################################################## +# Visualizing planar faces with "notches" depends heavily on the deflection coefficient +######################################################################################## + +restore [locate_data_file bug23886_face_01.brep] s + +vinit +vdisplay s +vfit + +vdefaults angDefl=1 + +vsetdispmode s 1 +vdump ${imagedir}/${casename}_1.png + +vsetshading s 0.00001 +vdump ${imagedir}/${casename}_2.png + +vsetshading s 0.01 +vdump ${imagedir}/${casename}_3.png diff --git a/tests/bugs/vis/bug23886_2 b/tests/bugs/vis/bug23886_2 new file mode 100755 index 0000000000..15ee4e1e16 --- /dev/null +++ b/tests/bugs/vis/bug23886_2 @@ -0,0 +1,24 @@ +puts "============" +puts "CR23886" +puts "============" +puts "" +######################################################################################## +# Visualizing planar faces with "notches" depends heavily on the deflection coefficient +######################################################################################## + +restore [locate_data_file bug23886_face_02.brep] s + +vinit +vdisplay s +vfit + +vdefaults angDefl=1 + +vsetdispmode s 1 +vdump ${imagedir}/${casename}_1.png + +vsetshading s 0.00001 +vdump ${imagedir}/${casename}_2.png + +vsetshading s 0.01 +vdump ${imagedir}/${casename}_3.png diff --git a/tests/bugs/vis/bug23886_3 b/tests/bugs/vis/bug23886_3 new file mode 100755 index 0000000000..054500061d --- /dev/null +++ b/tests/bugs/vis/bug23886_3 @@ -0,0 +1,24 @@ +puts "============" +puts "CR23886" +puts "============" +puts "" +######################################################################################## +# Visualizing planar faces with "notches" depends heavily on the deflection coefficient +######################################################################################## + +restore [locate_data_file bug23886_face_03.brep] s + +vinit +vdisplay s +vfit + +vdefaults angDefl=1 + +vsetdispmode s 1 +vdump ${imagedir}/${casename}_1.png + +vsetshading s 0.00001 +vdump ${imagedir}/${casename}_2.png + +vsetshading s 0.01 +vdump ${imagedir}/${casename}_3.png -- 2.39.5