mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
25 lines
615 B
Plaintext
Executable File
25 lines
615 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC951"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
##BRepAlgoAPI_Section and BRepAlgoAPI_Common fail on given shapes
|
|
######################################################
|
|
## (old topology)
|
|
## (common)
|
|
## (section)
|
|
######################################################
|
|
|
|
restore [locate_data_file OCC951_1.brep] s1
|
|
restore [locate_data_file OCC951_2.brep] s2
|
|
|
|
checkshape s1
|
|
checkshape s2
|
|
|
|
bsection result s1 s2
|
|
|
|
checkprops result -l 39.8616
|
|
checkshape result
|
|
checksection result
|
|
checkview -display result -3d -path ${imagedir}/${test_image}.png
|