mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 00:57:38 +08:00
34 lines
800 B
Plaintext
Executable File
34 lines
800 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC6538"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Empty result obtained by operation "common" for couple of faces
|
|
######################################################
|
|
|
|
set BugNumber OCC6538
|
|
|
|
restore [locate_data_file OCC6538-f1.brep] s1
|
|
restore [locate_data_file OCC6538-f2.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"
|
|
}
|
|
|
|
|
|
bop s1 s2
|
|
bopcommon result
|
|
|
|
set square 18.695
|
|
|
|
checknbshapes result -vertex 16 -edge 16 -wire 1 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 35
|
|
set 2dviewer 0
|