92ae0f2f |
1 | puts "============" |
2 | puts "OCC25232" |
3 | puts "============" |
4 | puts "" |
5 | ######################################################################### |
6 | # Functionality to create solids from set of shapes |
7 | ######################################################################### |
8 | |
9 | box b1 10 10 10 |
10 | box b2 4 9 4 2 2 2 |
11 | explode b2 w |
12 | sphere s 5 5 5 5 |
13 | mkface f s |
14 | mkvolume result b1 f b2_1 |
15 | # 2 solids created |
16 | |
58cf74e0 |
17 | checkprops result -s 1228.32 |
18 | checkshape result |
92ae0f2f |
19 | |
a4eba920 |
20 | checknbshapes result -vertex 20 -edge 21 -wire 7 -face 7 -shell 3 -solid 2 -compsolid 0 -compound 1 -shape 61 |
5747059b |
21 | checkview -display result -2d -path ${imagedir}/${test_image}.png |