From: abv Date: Fri, 25 Oct 2019 12:49:01 +0000 (+0300) Subject: 0013175: XCAF document with one vertex is exported to an incorrect STEP file X-Git-Tag: V7_5_0_beta~363 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7ed6e985e20dd5a665f87f5c460843c01e192521;p=occt-copy.git 0013175: XCAF document with one vertex is exported to an incorrect STEP file Added non-regression test case --- diff --git a/tests/bugs/xde/bug13175 b/tests/bugs/xde/bug13175 new file mode 100644 index 0000000000..b1127f3838 --- /dev/null +++ b/tests/bugs/xde/bug13175 @@ -0,0 +1,15 @@ +puts "============" +puts "0013175: XCAF document with one vertex is exported to an incorrect STEP file" +puts "============" +puts "" + +vertex v 10 10 10 +XNewDoc D1 +XAddShape D1 v +XGetShape r1 D1 0:1:1:1 +checknbshapes r1 -vertex 1 + +WriteStep D1 ${imagedir}/${casename}.step +ReadStep D2 ${imagedir}/${casename}.step +XGetShape r2 D2 0:1:1:1 +checknbshapes r2 -vertex 1