8ae442a8 |
1 | puts "========" |
2 | puts "OCC28690" |
3 | puts "========" |
4 | puts "" |
5 | ########################################## |
6 | ## Section algorithm produces micro edge |
7 | ########################################## |
8 | |
9 | restore [locate_data_file bug28690_gdml_G1_tore_sphere.brep] c |
10 | explode c |
11 | bclearobjects |
12 | bcleartools |
13 | baddobjects c_1 |
14 | baddtools c_2 |
15 | bfillds |
16 | bbuild result1 |
17 | |
18 | checkshape result1 |
19 | checknbshapes result1 -wire 3 -face 3 -shell 5 -solid 3 |
20 | checkprops result1 -s 4420.05 -v 15877.8 |
21 | |
22 | bbop result 2 |
23 | checkshape result |
24 | checknbshapes result -wire 1 -face 1 -shell 1 -solid 1 |
25 | checkprops result -s 112.393 -v 89.7477 |
26 | |
27 | checkview -display result -2d -path ${imagedir}/${test_image}.png |