From: emv Date: Fri, 23 Mar 2018 04:50:13 +0000 (+0300) Subject: 0029627: BRepOffsetAPI_NormalProjection class changes orientation of the result X-Git-Tag: V7_3_0_beta~38 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=384db46a5a3219cc8e4d63e9bbda8d6535bddda5;p=occt.git 0029627: BRepOffsetAPI_NormalProjection class changes orientation of the result The problem is fixed by the fix for the issue #0029234. --- diff --git a/tests/bugs/modalg_7/bug29627 b/tests/bugs/modalg_7/bug29627 new file mode 100644 index 0000000000..8f9dd35121 --- /dev/null +++ b/tests/bugs/modalg_7/bug29627 @@ -0,0 +1,24 @@ +puts "========" +puts "OCC29627" +puts "========" +puts "" +################################################# +# BRepOffsetAPI_NormalProjection class changes orientation of the result +################################################# + +restore [locate_data_file bug29627_edge.brep] e +restore [locate_data_file bug29627_face.brep] f +nproject result e f + +explode result e + +set e_ori [lindex [whatis e] 5] +set r_ori [lindex [whatis result_1] 5] + +if {$e_ori != $r_ori} { + puts "Error: BRepOffsetAPI_NormalProjection changes orientation of projected edge" +} + +checkshape result +checkprops result -l 0.000374916 +checknbshapes result -vertex 2 -edge 1