mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
25 lines
605 B
Plaintext
Executable File
25 lines
605 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC951"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
##BRepAlgoAPI_Section and BRepAlgoAPI_Common fail on given shapes
|
|
######################################################
|
|
## (new topology)
|
|
## (bopcommon)
|
|
## (bopsection)
|
|
######################################################
|
|
|
|
restore [locate_data_file OCC951_1.brep] s1
|
|
restore [locate_data_file OCC951_2.brep] s2
|
|
|
|
checkshape s1
|
|
checkshape s2
|
|
|
|
bop s1 s2
|
|
bopcommon result
|
|
|
|
checkprops result -s 560.908
|
|
checkshape result
|
|
checkview -display result -3d -path ${imagedir}/${test_image}.png
|