mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-22 04:37:23 +08:00
32 lines
756 B
Plaintext
Executable File
32 lines
756 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC6181"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Incorrect result of boolean cut
|
|
######################################################
|
|
|
|
set BugNumber OCC6181
|
|
|
|
restore [locate_data_file OCC6181_A.brep] s1
|
|
restore [locate_data_file OCC6181_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 151691
|
|
|
|
checknbshapes result -vertex 14 -edge 21 -wire 9 -face 9 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 56
|
|
set 2dviewer 0
|