mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing Correction of end file in group v3d Small correction of test case
38 lines
1.0 KiB
Plaintext
Executable File
38 lines
1.0 KiB
Plaintext
Executable File
pload QAcommands
|
|
|
|
puts "================"
|
|
puts "OCC395"
|
|
puts "SAM1296"
|
|
puts "================"
|
|
puts ""
|
|
##############################################################
|
|
## After merge two edges with help GeomConvert_CompCurveToBSplineCurve result is bad.
|
|
##############################################################
|
|
|
|
restore [locate_data_file OCC395-1.brep] e1
|
|
|
|
set che [checkshape e1]
|
|
if { [regexp {Faulty} $che ] == 1 } {
|
|
puts "Faulty OCC395: Source shape is invalid. It was detected by Checkshape command"
|
|
puts "Body of the script was NOT executed"
|
|
renamevar e1 result
|
|
} else {
|
|
puts "OCC395 OK: Source shape is valid"
|
|
|
|
restore [locate_data_file OCC395-2.brep] e2
|
|
set che [checkshape e2]
|
|
if { [regexp {Faulty} $che ] == 1 } {
|
|
puts "Faulty OCC395: Source shape is invalid. It was detected by Checkshape command"
|
|
puts "Body of the script was NOT executed"
|
|
renamevar e2 result
|
|
} else {
|
|
puts "OCC395 OK: Source shape is valid"
|
|
OCC395 result e1 e2
|
|
}
|
|
}
|
|
|
|
set length 34.9073
|
|
set 2dviewer 0
|
|
|
|
|