1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_7/bug28784
jgv 1fae7cdaf1 0028784: [HLR] Crash while getting hidden lines for a compound
Method HLRBRep_PolyHLRToShape::InternalCompound is modified: avoid creation an edge with null length.

Add testing Draw command.
2017-06-09 12:58:49 +03:00

21 lines
457 B
Plaintext
Executable File

puts "========"
puts "OCC28784"
puts "========"
puts ""
#######################################################
# [HLR] Crash while getting hidden lines for a compound
#######################################################
pload QAcommands
restore [locate_data_file bug28784_MHX_SKG_MS_Pos1_simplified.brep] a
OCC28784 result a
checknbshapes result -edge 236
smallview
top
donly result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png