mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-22 12:48:37 +08:00
31 lines
775 B
Plaintext
Executable File
31 lines
775 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC6182"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Incorrect result of boolean cut
|
|
######################################################
|
|
|
|
set BugNumber OCC6182
|
|
|
|
restore [locate_data_file OCC6182_A.brep] s1
|
|
restore [locate_data_file OCC6182_B.brep] s2
|
|
|
|
decho off
|
|
set che_s1 [checkshape s1]
|
|
set che_s2 [checkshape s2]
|
|
decho on
|
|
if { [regexp {Faulty} $che_s1] } {
|
|
puts "Faulty ${BugNumber} : checkshape is wrong for s1"
|
|
}
|
|
if { [regexp {Faulty} $che_s2] } {
|
|
puts "Faulty ${BugNumber} : checkshape is wrong for s2"
|
|
}
|
|
|
|
bcut result s1 s2
|
|
|
|
set square 318709
|
|
|
|
checknbshapes result -vertex 316 -edge 502 -wire 185 -face 181 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 1187
|
|
set 2dviewer 0
|