0027991: Modeling Algorithms - BRepGProp_Face crashes on face without geometric surface
[occt.git] / tests / bugs / vis / bug27821
CommitLineData
413b1c1a 1puts "========"
2puts "AIS_Shape - displaying TopoDS_Face with NULL surface (test case checks there is no crash)"
3puts "========"
4
5pload MODELING VISUALIZATION
6
7restore [locate_data_file bug27821_nullsurf.brep] s
8explode s F
9
4d19a2c5 10# check that sprops does not crash on NULL surface
11sprops s
12
13# check that AIS_Shape does not crash on NULL surface
413b1c1a 14vclear
15vinit View1
16vaxo
17vdisplay -noupdate -dispMode 0 s
18vaspects s -subshapes s_1 -setcolor RED
19vdisplay -noupdate -dispMode 1 s
20vshowfaceboundary s 1
21vfit
22vselect 250 250
23
24vdump $imagedir/${casename}.png