From 7ed6e985e20dd5a665f87f5c460843c01e192521 Mon Sep 17 00:00:00 2001 From: abv Date: Fri, 25 Oct 2019 15:49:01 +0300 Subject: [PATCH] 0013175: XCAF document with one vertex is exported to an incorrect STEP file Added non-regression test case --- tests/bugs/xde/bug13175 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/bugs/xde/bug13175 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