0030942: Draw Harness, ViewerTest - command vdefaults should abort script on unknown...
[occt.git] / tests / bugs / vis / bug25071
1 puts "============"
2 puts "CR25071"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Check that the selected wireframe representation uses exactly the same
7 # discretization of face boundaries as the face outlines shown in shading mode
8 #######################################################################
9
10 vinit View1
11
12 # Computing wireframe without triangulation, then checking face boundaries and selection
13 pcone c 0 5 10
14 vdisplay c; vfit
15 vsetdispmode c 1
16 vaspects c -setFaceBoundaryDraw 1 -setFaceBoundaryColor 0.25 0.25 0
17 vselect 200 200
18
19 vdump $imagedir/${casename}_wf_no_triang.png
20
21 vremove c
22 vclose View1
23 vinit View1
24
25 # Computing wireframe after triangulation, then checking face boundaries and selection
26 vsetdispmode 1
27 vdisplay c; vfit
28 vaspects c -setFaceBoundaryDraw 1 -setFaceBoundaryColor 0.25 0.25 0
29 vselect 200 200
30
31 vdump $imagedir/${casename}_wf_with_triang.png