1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-10 11:34:06 +03:00
occt/tests/bugs/moddata/bug303_2
2012-12-07 16:29:17 +04:00

24 lines
603 B
Plaintext
Executable File

puts "========================"
puts " OCC303 "
puts "(case 2)"
puts "========================"
puts ""
#################################################################
## Exception while segment operation.
#################################################################
restore [locate_data_file OCC303b.brep] sh1
explode sh1 e
mkcurve c1 sh1_1
trim result c1
if [catch {segment result 23.09944997429109 23.6320483505636} catch_result] {
puts "Faulty OCC303 (case 2): function SEGMENT works wrongly"
} else {
puts "OCC303 OK (case 2): function SEGMENT works properly"
}
set 2dviewer 0