1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0023886: Visualizing planar faces with "notches" depends heavily on the deflection coefficient

Test cases for issue CR23886
This commit is contained in:
mkv 2014-10-08 20:41:47 +04:00 committed by bugmaster
parent 4a350f9410
commit de6f281fe9
3 changed files with 72 additions and 0 deletions

24
tests/bugs/vis/bug23886_1 Executable file
View File

@ -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

24
tests/bugs/vis/bug23886_2 Executable file
View File

@ -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

24
tests/bugs/vis/bug23886_3 Executable file
View File

@ -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