0027991: Modeling Algorithms - BRepGProp_Face crashes on face without geometric surface
[occt.git] / tests / bugs / vis / bug25300_2
CommitLineData
5ad8c033 1puts "============"
2puts "CR25300"
3puts "============"
4puts ""
5
6##########################################################################################
7puts "Visualization - Build wireframe representation consistent with the shape's triangulation"
8#
9# Case 2: Conic shape where isolines are build outside of its displayed triangulation
10##########################################################################################
11
12pload VISUALIZATION MODELING
13
14pcone aCone 90 0 150 360
15
16set aSimpleIsoImg $imagedir/${casename}_iso.png
17set aIsoOnTrgImg $imagedir/${casename}_iso_on_triang.png
18
19vinit View1
20vclear
21vaxo
22vdisplay aCone
23vviewparams -scale 122.2874 -proj 0.0353 -0.9281 0.3706
24vviewparams -up -0.2791 0.3469 0.8954 -at -5.5784 62.4399 122.7242
25vviewparams -eye 12.0732 -401.6167 308.0344
26vsetdispmode 1
27
28# shows that default isoline builder has problemas with proper
29# construction of isolines on top of the conic surface
30vmoveto 300 300
31vdump $aSimpleIsoImg
32checkcolor 347 179 0 1 1
33
34vmoveto 0 0
35
36# enable isoline-on-triangulation builder
37vaspects aCone -isoontriang on
38
39# shows that isoline-on-triangulation builder constructs isos that
40# do not extend beyond the boundaries of shape's triangulation
41vmoveto 300 300
42vdump $aIsoOnTrgImg
43checkcolor 347 179 0 0 0