3bea4c16 |
1 | puts "============" |
2 | puts "OCC11565" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Boolean operation "Cut" in 2d cannot cut the hole from the rectangle |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file OCC11565.brep] a |
10 | explode a |
11 | |
12 | bop a_1 a_3 |
13 | bopcut result |
14 | |
15 | set square 28.6438 |
a4eba920 |
16 | checknbshapes result -vertex 12 -edge 12 -wire 2 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 28 |
3bea4c16 |
17 | set 2dviewer 0 |
18 | |