mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
28 lines
529 B
Plaintext
Executable File
28 lines
529 B
Plaintext
Executable File
|
|
puts "========"
|
|
puts "OCC758"
|
|
puts "SAM1613"
|
|
puts "========"
|
|
puts ""
|
|
###################################################
|
|
##It's impossible to cut two little shapes from the big one in the attached file.
|
|
###################################################
|
|
|
|
restore [locate_data_file OCC758.brep] a
|
|
explode a
|
|
checkshape a_1
|
|
checkshape a_2
|
|
checkshape a_3
|
|
|
|
bcut res1 a_1 a_2
|
|
|
|
checkshape res1
|
|
|
|
bcut result res1 a_3
|
|
|
|
checkprops result -s 49473.6
|
|
checkshape result
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
|
|
|