mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Test case for this issue is updated
This commit is contained in:
@@ -9,24 +9,9 @@ puts ""
|
||||
restore [locate_data_file pl1.brep] pl
|
||||
restore [locate_data_file selected_holes.brep] hl
|
||||
|
||||
set log [bopargcheck pl hl #F]
|
||||
|
||||
if{[string compare $log "Shape(s) seem(s) to be valid for BOP.\n"] == 0} {
|
||||
puts "OK: Source shapes are valid in terms of bopargcheck"
|
||||
}else{
|
||||
puts "Error: source shapes are invalid in terms of bopargcheck"
|
||||
}
|
||||
|
||||
bcut result pl hl
|
||||
|
||||
set log [bopargcheck result #F]
|
||||
|
||||
if{[string compare $log "Shape(s) seem(s) to be valid for BOP.\n"] == 0} {
|
||||
puts "OK: Source shapes are valid in terms of bopargcheck"
|
||||
}else{
|
||||
puts "Error: source shapes are invalid in terms of bopargcheck"
|
||||
}
|
||||
|
||||
checkshape result
|
||||
|
||||
# Analysis of "nbshapes res"
|
||||
set nb_f_good 2
|
||||
@@ -35,3 +20,7 @@ set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
|
||||
smallview
|
||||
donly result
|
||||
fit
|
||||
set only_screen_axo 1
|
||||
|
Reference in New Issue
Block a user