mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0023886: Visualizing planar faces with "notches" depends heavily on the deflection coefficient
Test cases for issue CR23886
This commit is contained in:
parent
4a350f9410
commit
de6f281fe9
24
tests/bugs/vis/bug23886_1
Executable file
24
tests/bugs/vis/bug23886_1
Executable 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
24
tests/bugs/vis/bug23886_2
Executable 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
24
tests/bugs/vis/bug23886_3
Executable 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
|
Loading…
x
Reference in New Issue
Block a user