c3cca015 |
1 | puts "# =================================================================" |
2 | puts "# 0028112: E x c e p t i o n during offset computation" |
3 | puts "# =================================================================" |
4 | |
5 | puts "" |
6 | puts "# Fixing small faces on first shape..." |
7 | restore [locate_data_file bug28112_1.brep] shape1 |
8 | fixsmallfaces fix1 shape1 -1 |
9 | checknbshapes fix1 -face 4 |
10 | |
11 | puts "" |
12 | puts "# Fixing small faces on second shape..." |
13 | restore [locate_data_file bug28112_2.brep] shape2 |
14 | fixsmallfaces fix2 shape2 -1 |
15 | checknbshapes fix2 -face 4 |
16 | |
17 | puts "" |
18 | puts "# Trying offset on both shapes to ensure that it works after removal" |
19 | puts "# of small faces" |
20 | offsetshapesimple res1 fix1 10. |
21 | offsetshapesimple res2 fix2 10. |