Files
OCCT/tests/bugs/modalg_5/bug25193
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

24 lines
757 B
Plaintext
Executable File

puts "================"
puts "OCC25193"
puts "================"
puts ""
#######################################################################
# Bad Intersection curveobtained by Surface/Surface Intersection Algorithm.
#######################################################################
restore [locate_data_file bug25193_s1t.draw] s1
restore [locate_data_file bug25193_s4t.draw] s4
set CurveNumb [intersect i s1 s4 3.6570868343352305e-005]
if { [llength ${CurveNumb}] != 6 } {
puts "Error : Bad Intersection curveobtained by Surface/Surface Intersection Algorithm"
} else {
puts "OK : Good Intersection curveobtained by Surface/Surface Intersection Algorithm"
}
smallview
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png