f1aa2b62 |
1 | |
2 | puts "========" |
3 | puts "OCC758" |
4 | puts "SAM1613" |
5 | puts "========" |
6 | puts "" |
7 | ################################################### |
8 | ##It's impossible to cut two little shapes from the big one in the attached file. |
9 | ################################################### |
10 | |
11 | restore [locate_data_file OCC758.brep] a |
12 | explode a |
352ffd73 |
13 | checkshape a_1 |
14 | checkshape a_2 |
15 | checkshape a_3 |
f1aa2b62 |
16 | |
17 | bcut res1 a_1 a_2 |
18 | |
352ffd73 |
19 | checkshape res1 |
f1aa2b62 |
20 | |
21 | bcut result res1 a_3 |
22 | |
58cf74e0 |
23 | checkprops result -s 49473.6 |
24 | checkshape result |
5747059b |
25 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
f1aa2b62 |
26 | |
27 | |