mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
Adding procedures checkcolor and checkpoint. Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d Allow using command QAAISGetPixelColor2d on WNT Rename test case tests/bugs/vis/bug19619 to pro19619 Added test cases to modalg and moddata
29 lines
536 B
Plaintext
Executable File
29 lines
536 B
Plaintext
Executable File
|
|
puts "========"
|
|
puts "OCC715"
|
|
puts "SAM1582"
|
|
puts "========"
|
|
puts ""
|
|
##########################################
|
|
## section of two faces produces wrong number of section edges
|
|
##########################################
|
|
|
|
restore [locate_data_file OCC715_2.brep] f2
|
|
restore [locate_data_file OCC715_3.brep] f3
|
|
|
|
bsection result f2 f3
|
|
|
|
set expl [explode result]
|
|
|
|
set length [llength $expl]
|
|
puts "Result is $length section edge"
|
|
|
|
if {$length != 3} {
|
|
puts "Faulty OCC715"
|
|
} else {
|
|
puts "OCC715 OK"
|
|
}
|
|
|
|
set length 100.
|
|
set 2dviewer 0
|