mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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
32 lines
848 B
Plaintext
Executable File
32 lines
848 B
Plaintext
Executable File
puts "TODO OCC12345 ALL: Faulty : Result shape is WRONG !!!"
|
|
puts "TODO OCC12345 ALL: Error : The length of result shape is"
|
|
puts "========================"
|
|
puts " OCC238 "
|
|
puts "========================"
|
|
|
|
#################################################
|
|
## puts " BOPCOMMON case_2_solid.brep and case_2_edge1.brep"
|
|
#################################################
|
|
puts " "
|
|
puts [restore [locate_data_file OCC238a.brep] a]
|
|
puts [restore [locate_data_file case_2_edge1.brep] b]
|
|
puts [bop a b]
|
|
puts [bopcommon result b a]
|
|
|
|
set nb_info [nbshapes result]
|
|
set nb_v_good 14
|
|
set nb_e_good 7
|
|
|
|
explode result v
|
|
explode a e
|
|
distmini di result_1 a_3
|
|
regexp {([-0-9.+eE]+)$} [dump $di_val] full dis
|
|
if { [expr $dis > 1.e-5] } {
|
|
puts "Faulty : Result shape is WRONG !!!"
|
|
} else {
|
|
puts " Result shape is COMPLITE"
|
|
}
|
|
|
|
set length 0
|
|
set 2dviewer 0
|