1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_6/bug26016
msv 24e40cc2dc 0026016: BRepPrimAPI_MakeRevol crash
Correctly treat the case when the line is a trimmed curve.

Test-case for issue #26016
2015-04-09 15:05:42 +03:00

22 lines
419 B
Plaintext

puts "========"
puts "OCC26016"
puts "========"
puts ""
##@@###########################
# BRepPrimAPI_MakeRevol crash
###############################
smallview
restore [locate_data_file OCC26016-revolve-crash.brep] a
revol r a 0 0 0 0 1 0 90
set bug_info [checkshape r]
if {[string compare $bug_info "This shape seems to be valid"] != 0} {
puts "ERROR: OCC26016 is reproduced"
}
donly r
fit
set only_screen_axo 1