1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug30146
kgv 4ba5491a50 0030146: Visualization - exception during attempt to display Edge without geometry
StdPrs_ToolRFace no skips curves with NULL curves.
Code has been cleaned up from duplicated checks, redundant casts
and dummy Adaptor2d_Curve2dPtr typedef.

StdSelect_BRepSelectionTool::GetSensitiveForFace() now catches
Standard_NullObject exception to skip invalid Edges.
2018-09-22 17:48:53 +03:00

19 lines
492 B
Plaintext

puts "============="
puts "0030146: Visualization - e x c e p t i o n during attempt to display Edge without geometry"
puts "============="
pload MODELING VISUALIZATION
restore [locate_data_file CTO904_cts20176a.rle] a
incmesh a 0.1
tclean -geom a
vclear
vinit View1
vviewparams -scale 3.69 -proj 0.30 0.94 0.14 -up -0.46 0.013 0.88 -at 103.9 -59.94 -27.08
vdisplay -dispMode 0 a
vdump ${imagedir}/${casename}_wireframe.png
vdisplay -dispMode 1 a
vdump ${imagedir}/${casename}_shaded.png