mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
26 lines
614 B
Plaintext
Executable File
26 lines
614 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC231"
|
|
puts "========"
|
|
puts ""
|
|
|
|
#############################################
|
|
##Uncorrect work DRAW command "proj" in version dev
|
|
## and receive such result:
|
|
## in dev : ext_1 ext_2 ext_3
|
|
## in C40 : ext_1 ext_2 ext_3 ext_4
|
|
#############################################
|
|
|
|
restore [locate_data_file OCC231.draw] result
|
|
|
|
set str [proj result 1751.38 614.152 -180.331]
|
|
set err [llength $str]
|
|
|
|
if { $err < 4 } {
|
|
puts "Faulty OCC231: Projection was made wrongly"
|
|
} else {
|
|
puts "OCC231 OK: Projection was made properly"
|
|
}
|
|
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
|