384db46a |
1 | puts "========" |
2 | puts "OCC29627" |
3 | puts "========" |
4 | puts "" |
5 | ################################################# |
6 | # BRepOffsetAPI_NormalProjection class changes orientation of the result |
7 | ################################################# |
8 | |
9 | restore [locate_data_file bug29627_edge.brep] e |
10 | restore [locate_data_file bug29627_face.brep] f |
11 | nproject result e f |
12 | |
13 | explode result e |
14 | |
15 | set e_ori [lindex [whatis e] 5] |
16 | set r_ori [lindex [whatis result_1] 5] |
17 | |
18 | if {$e_ori != $r_ori} { |
19 | puts "Error: BRepOffsetAPI_NormalProjection changes orientation of projected edge" |
20 | } |
21 | |
22 | checkshape result |
23 | checkprops result -l 0.000374916 |
24 | checknbshapes result -vertex 2 -edge 1 |